/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | resource_node_pool_test.cpp | 62 EXPECT_EQ(ResourceNodePool::Instance().Insert(nullptr), false); in HWTEST_F() 73 EXPECT_EQ(pool.Insert(resource1), true); in HWTEST_F() 75 EXPECT_EQ(pool.Insert(resource2), true); in HWTEST_F() 88 EXPECT_EQ(pool.Insert(resource), true); in HWTEST_F() 102 EXPECT_EQ(pool.Insert(resource1), true); in HWTEST_F() 103 EXPECT_EQ(pool.Insert(resource2), true); in HWTEST_F() 104 EXPECT_EQ(pool.Insert(resource3), true); in HWTEST_F() 160 EXPECT_EQ(pool.Insert(resource1), true); in HWTEST_F() 163 EXPECT_EQ(pool.Insert(resource2), true); in HWTEST_F() 166 EXPECT_EQ(pool.Insert(resource in HWTEST_F() [all...] |
H A D | context_pool_test.cpp | 64 EXPECT_EQ(pool.Insert(nullptr), false); in HWTEST_F() 75 EXPECT_EQ(pool.Insert(context1), true); in HWTEST_F() 77 EXPECT_EQ(pool.Insert(context2), false); in HWTEST_F() 89 EXPECT_EQ(pool.Insert(context), true); in HWTEST_F() 104 EXPECT_EQ(pool.Insert(context1), true); in HWTEST_F() 105 EXPECT_EQ(pool.Insert(context2), true); in HWTEST_F() 106 EXPECT_EQ(pool.Insert(context3), true); in HWTEST_F() 128 EXPECT_EQ(pool.Insert(context1), true); in HWTEST_F() 130 EXPECT_EQ(pool.Insert(context2), true); in HWTEST_F() 184 EXPECT_EQ(pool.Insert(context in HWTEST_F() [all...] |
H A D | resource_node_utils_test.cpp | 92 EXPECT_TRUE(ResourceNodePool::Instance().Insert(resourceNode1)); in HWTEST_F() 93 EXPECT_TRUE(ResourceNodePool::Instance().Insert(resourceNode2)); in HWTEST_F() 126 EXPECT_TRUE(ResourceNodePool::Instance().Insert(resourceNode1)); in HWTEST_F() 127 EXPECT_TRUE(ResourceNodePool::Instance().Insert(resourceNode2)); in HWTEST_F() 148 EXPECT_TRUE(ResourceNodePool::Instance().Insert(resourceNode)); in HWTEST_F() 162 EXPECT_TRUE(ResourceNodePool::Instance().Insert(resourceNode)); in HWTEST_F()
|
H A D | schedule_node_helper_test.cpp | 88 EXPECT_TRUE(ResourceNodePool::Instance().Insert(resourceNode1)); in HWTEST_F() 89 EXPECT_TRUE(ResourceNodePool::Instance().Insert(resourceNode2)); in HWTEST_F()
|
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/ |
H A D | sys_event_doc_test.cpp | 58 * @tc.desc: Insert test 66 ASSERT_EQ(sysEventDoc.Insert(nullptr), DOC_STORE_ERROR_NULL); in HWTEST_F() 79 ASSERT_EQ(sysEventDoc.Insert(sysEvent), DOC_STORE_SUCCESS); in HWTEST_F() 83 ASSERT_EQ(sysEventDoc.Insert(sysEvent), DOC_STORE_SUCCESS); in HWTEST_F() 89 * @tc.desc: Insert test 102 ASSERT_EQ(sysEventDoc.Insert(event), DOC_STORE_ERROR_INVALID); in HWTEST_F() 107 ASSERT_EQ(sysEventDoc.Insert(eventMax), DOC_STORE_ERROR_INVALID); in HWTEST_F()
|
/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/ |
H A D | sample_stack_printer.cpp | 26 SampleStackItem* SampleStackPrinter::Insert(SampleStackItem* curNode,
in Insert() function in OHOS::HiviewDFX::SampleStackPrinter 54 return Insert(curNode->child, pc, count, level, acientNode);
in Insert() 68 SampleStackItem* node = Insert(curNode->siblings, pc, count, level, acientNode);
in Insert() 79 return Insert(curNode->siblings, pc, count, level, acientNode);
in Insert() 82 void SampleStackPrinter::Insert(std::vector<uintptr_t>& pcs, int32_t count)
in Insert() function in OHOS::HiviewDFX::SampleStackPrinter 95 curNode = Insert(curNode, *iter, count, level, acientNode);
in Insert() 154 Insert(pcs, it->count);
in GetTreeStack()
|
/base/update/updateservice/services/core/ability/sqlite/core/include/ |
H A D | table_base_operator.h | 36 bool Insert(const T &value); 37 bool Insert(const std::vector<T> &values) final; 65 bool TableBaseOperator<Table, T>::Insert(const T &value) in Insert() function in OHOS::UpdateEngine::TableBaseOperator 68 return Insert(values); in Insert() 72 bool TableBaseOperator<Table, T>::Insert(const std::vector<T> &values) in Insert() function in OHOS::UpdateEngine::TableBaseOperator 75 ENGINE_CHECK(table_ != nullptr, return false, "TableBaseOperator Insert table is null"); in Insert() 78 ENGINE_CHECK(dataBase_ != nullptr, return false, "TableBaseOperator Insert db is null"); in Insert() 79 return dataBase_->Insert(GetTableName(), dbValues); in Insert()
|
H A D | idatabase.h | 31 virtual bool Insert(const std::string &tableName, const std::vector<NativeRdb::ValuesBucket> &values) = 0;
|
H A D | itable_operator.h | 30 virtual bool Insert(const std::vector<T> &value) = 0;
|
/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_persist_helper.h | 31 bool Insert(DataShare::DataShareValuesBucket &values, uint16_t &dataBaseId); 32 bool Insert(std::string tableUri, DataShare::DataShareValuesBucket &values); 33 bool Insert(std::string tableUri, DataShare::DataShareValuesBucket &values, uint16_t &dataBaseId);
|
/base/hiviewdfx/hiview/base/event_store/dao/ |
H A D | sys_event_dao.cpp | 48 int SysEventDao::Insert(std::shared_ptr<SysEvent> sysEvent) in Insert() function in OHOS::HiviewDFX::EventStore::SysEventDao 50 return SysEventDatabase::GetInstance().Insert(sysEvent); in Insert()
|
/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/include/ |
H A D | sample_stack_printer.h | 59 void Insert(std::vector<uintptr_t>& pcs, int32_t count);
67 SampleStackItem* Insert(SampleStackItem* curNode,
|
/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_system_data_test.cpp | 97 systemData->addedPrinterMap_.Insert("1234", nullptr); in HWTEST_F() 204 systemData->addedPrinterMap_.Insert("1", nullptr); in HWTEST_F() 210 systemData->addedPrinterMap_.Insert("2", std::make_shared<CupsPrinterInfo>(cupsPrinterInfo)); in HWTEST_F() 218 systemData->addedPrinterMap_.Insert("1", nullptr); in HWTEST_F() 226 systemData->addedPrinterMap_.Insert("2", std::make_shared<CupsPrinterInfo>(cupsPrinterInfo)); in HWTEST_F() 229 systemData->addedPrinterMap_.Insert("4", std::make_shared<CupsPrinterInfo>(cupsPrinterInfo)); in HWTEST_F() 239 systemData->addedPrinterMap_.Insert("1", nullptr); in HWTEST_F() 246 systemData->addedPrinterMap_.Insert("123", std::make_shared<CupsPrinterInfo>(cupsPrinterInfo)); in HWTEST_F() 248 systemData->addedPrinterMap_.Insert("11", std::make_shared<CupsPrinterInfo>(cupsPrinterInfo3)); in HWTEST_F() 250 systemData->addedPrinterMap_.Insert("123 in HWTEST_F() [all...] |
/base/telephony/telephony_data/sms_mms/src/ |
H A D | sms_mms_ability.cpp | 116 int SmsMmsAbility::Insert(const Uri &uri, const DataShare::DataShareValuesBucket &value) in Insert() function in OHOS::Telephony::SmsMmsAbility 132 helper_.Insert(id, values, TABLE_SMS_MMS_INFO); in Insert() 136 helper_.Insert(id, values, TABLE_MMS_PROTOCOL); in Insert() 140 helper_.Insert(id, values, TABLE_SMS_SUBSECTION); in Insert() 144 helper_.Insert(id, values, TABLE_MMS_PART); in Insert() 148 helper_.Insert(id, values, TABLE_SESSION); in Insert() 152 helper_.Insert(id, values, TABLE_MMS_PDU); in Insert() 156 DATA_STORAGE_LOGI("SmsMmsAbility::Insert##uri = %{public}s", uri.ToString().c_str()); in Insert()
|
/base/hiviewdfx/hiview/plugins/event_store/store/ |
H A D | sys_event_db_mgr.cpp | 34 SysEventDao::Insert(event); in SaveToStore()
|
/base/hiviewdfx/hiview/base/event_store/include/ |
H A D | sys_event_dao.h | 38 static int Insert(std::shared_ptr<SysEvent> sysEvent);
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/ |
H A D | user_property_dao.h | 32 int64_t Insert(const std::string& name, const std::string& value);
|
H A D | app_event_observer_dao.h | 30 int64_t Insert(const std::string& observer, int64_t hashCode);
|
H A D | app_event_mapping_dao.h | 30 int64_t Insert(int64_t eventSeq, int64_t observerSeq);
|
H A D | user_id_dao.h | 32 int64_t Insert(const std::string& name, const std::string& value);
|
H A D | app_event_dao.h | 32 int64_t Insert(std::shared_ptr<AppEventPack> event);
|
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
H A D | sehap_contexts_trie.h | 33 bool Insert(const std::string ¶Name, const std::string &domain, const std::string &type);
|
/base/update/updateservice/services/firmware/data/db/src/ |
H A D | firmware_component_operator_empty.cpp | 27 bool FirmwareComponentOperator::Insert(const std::vector<FirmwareComponent> &values) in Insert() function in OHOS::UpdateEngine::FirmwareComponentOperator
|
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | log_kmsg.cpp | 60 hilogBuffer.Insert(msgWrap->GetHilogMsg(), isFull); in LinuxReadOneKmsg() 63 hilogBuffer.Insert(msgWrap->GetHilogMsg(), isFull); in LinuxReadOneKmsg()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/ |
H A D | app_event_mapping_dao.cpp | 65 int64_t AppEventMappingDao::Insert(int64_t eventSeq, int64_t observerSeq)
in Insert() function in OHOS::HiviewDFX::AppEventMappingDao 71 if (dbStore_->Insert(seq, TABLE, bucket) != NativeRdb::E_OK) {
in Insert()
|