Home
last modified time | relevance | path

Searched refs:Insert (Results 1 - 25 of 180) sorted by relevance

12345678

/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dresource_node_pool_test.cpp62 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 Dcontext_pool_test.cpp64 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 Dresource_node_utils_test.cpp92 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 Dschedule_node_helper_test.cpp88 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 Dsys_event_doc_test.cpp58 * @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 Dsample_stack_printer.cpp26 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 Dtable_base_operator.h36 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 Didatabase.h31 virtual bool Insert(const std::string &tableName, const std::vector<NativeRdb::ValuesBucket> &values) = 0;
H A Ditable_operator.h30 virtual bool Insert(const std::vector<T> &value) = 0;
/base/telephony/sms_mms/services/sms/include/
H A Dsms_persist_helper.h31 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 Dsys_event_dao.cpp48 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 Dsample_stack_printer.h59 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 Dprint_system_data_test.cpp97 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 Dsms_mms_ability.cpp116 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 Dsys_event_db_mgr.cpp34 SysEventDao::Insert(event); in SaveToStore()
/base/hiviewdfx/hiview/base/event_store/include/
H A Dsys_event_dao.h38 static int Insert(std::shared_ptr<SysEvent> sysEvent);
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/
H A Duser_property_dao.h32 int64_t Insert(const std::string& name, const std::string& value);
H A Dapp_event_observer_dao.h30 int64_t Insert(const std::string& observer, int64_t hashCode);
H A Dapp_event_mapping_dao.h30 int64_t Insert(int64_t eventSeq, int64_t observerSeq);
H A Duser_id_dao.h32 int64_t Insert(const std::string& name, const std::string& value);
H A Dapp_event_dao.h32 int64_t Insert(std::shared_ptr<AppEventPack> event);
/base/security/selinux_adapter/interfaces/policycoreutils/include/
H A Dsehap_contexts_trie.h33 bool Insert(const std::string &paraName, const std::string &domain, const std::string &type);
/base/update/updateservice/services/firmware/data/db/src/
H A Dfirmware_component_operator_empty.cpp27 bool FirmwareComponentOperator::Insert(const std::vector<FirmwareComponent> &values) in Insert() function in OHOS::UpdateEngine::FirmwareComponentOperator
/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_kmsg.cpp60 hilogBuffer.Insert(msgWrap->GetHilogMsg(), isFull); in LinuxReadOneKmsg()
63 hilogBuffer.Insert(msgWrap->GetHilogMsg(), isFull); in LinuxReadOneKmsg()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
H A Dapp_event_mapping_dao.cpp65 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()

Completed in 9 milliseconds

12345678