/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_data_operation_test.cpp | 743 * @tc.steps: step3. GetEntries result NOT_FOUND. in HWTEST_F() 807 * @tc.expected: step2. GetEntries results OK and the result entries size is the match size. in HWTEST_F() 811 g_snapshotDelegatePtr->GetEntries(keyPrefix, g_entryVectorCallback); in HWTEST_F() 827 * @tc.expected: step1. GetEntries results NOT_FOUND. in HWTEST_F() 836 g_snapshotDelegatePtr->GetEntries(keyPrefix, g_entryVectorCallback); in HWTEST_F() 867 * @tc.expected: step2. GetEntries results OK and the entries size is the put batch data size. in HWTEST_F() 872 g_snapshotDelegatePtr->GetEntries(keyPrefix, g_entryVectorCallback); in HWTEST_F() 1022 DBStatus ret = g_kvNbDelegatePtrForQuery->GetEntries(query, entries); in HWTEST_F() 1034 ret = g_kvNbDelegatePtrForQuery->GetEntries(query, entries); in HWTEST_F() 1041 ret = g_kvNbDelegatePtrForQuery->GetEntries(quer in HWTEST_F() [all...] |
H A D | distributeddb_interfaces_data_operation_syncdb_test.cpp | 479 * @tc.steps: step3. GetEntries result NOT_FOUND. in HWTEST_F() 483 g_snapshotDelegatePtr->GetEntries(keyTmp, g_entryVectorCallback); in HWTEST_F() 543 * @tc.expected: step2. GetEntries results OK and the result entries size is the match size. in HWTEST_F() 547 g_snapshotDelegatePtr->GetEntries(keyPrefix, g_entryVectorCallback); in HWTEST_F() 563 * @tc.expected: step1. GetEntries results NOT_FOUND. in HWTEST_F() 572 g_snapshotDelegatePtr->GetEntries(keyPrefix, g_entryVectorCallback); in HWTEST_F() 604 * @tc.expected: step2. GetEntries results OK and the entries size is the put batch data size. in HWTEST_F() 608 g_snapshotDelegatePtr->GetEntries(keyPrefix, g_entryVectorCallback); in HWTEST_F() 946 * the GetEntries interface of the snapshotA. in SnapshotTestPreEntriesPutInner() 949 snapshotA->GetEntries(g_entry in SnapshotTestPreEntriesPutInner() [all...] |
H A D | distributeddb_interfaces_nb_delegate_schema_put_test.cpp | 351 * @tc.expected: step2. GetEntries return OK, and the data num is 1. in HWTEST_F() 356 EXPECT_EQ(g_kvStore->GetEntries(query, entries), OK); in HWTEST_F() 357 EXPECT_EQ(g_kvStore->GetEntries(query, resultSet), OK); in HWTEST_F() 372 * @tc.expected: step4. GetEntries return NOT_FOUND, and the data num is 0. in HWTEST_F() 374 EXPECT_EQ(g_kvStore->GetEntries(query, entries), NOT_FOUND); in HWTEST_F() 376 EXPECT_EQ(g_kvStore->GetEntries(query, resultSet), OK); in HWTEST_F() 409 EXPECT_EQ(g_kvStore->GetEntries(query, entries), OK); in HWTEST_F() 448 EXPECT_EQ(g_kvStore->GetEntries(query, resultSet), OK); in HWTEST_F() 454 EXPECT_EQ(g_kvStore->GetEntries(query, resultSet), OVER_MAX_LIMITS); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_kv_batch_crud_test.cpp | 376 vector<Entry> valueResult = DistributedTestTools::GetEntries(*g_kvStoreBatchDelegate, KEY_SEARCH); in HWTEST_F() 428 vector<Entry> valueResult = DistributedTestTools::GetEntries(*g_kvStoreBatchDelegate, KEY_SEARCH); in HWTEST_F() 435 valueResult = DistributedTestTools::GetEntries(*g_kvStoreBatchDelegate, KEY_SEARCH_2); in HWTEST_F() 461 * @tc.steps: step2. GetEntries with key=null. in HWTEST_F() 462 * @tc.expected: step2. GetEntries successfully and return all records in db. in HWTEST_F() 464 vector<Entry> valueResult = DistributedTestTools::GetEntries(*g_kvStoreBatchDelegate, KEY_EMPTY); in HWTEST_F() 686 snap2->GetEntries(keyPrefix, function2); in MultiSnapCheck1() 687 vector<Entry> resultEntries2 = kvStoreSnapshotCallback2.GetEntries(); in MultiSnapCheck1() 705 snap3->GetEntries(keyPrefix, function3); in MultiSnapCheck1() 706 vector<Entry> resultEntries3 = kvStoreSnapshotCallback3.GetEntries(); in MultiSnapCheck1() [all...] |
H A D | distributeddb_nb_cursor_testcase.cpp | 146 * @tc.steps: step1. call GetEntries interface to get KvStoreResultSet. in ResultSetDb001() 150 EXPECT_TRUE(delegate->GetEntries(KEY_K, resultSet) == OK); in ResultSetDb001() 233 * @tc.steps: step1. call GetEntries interface to get KvStoreResultSet. in ResultSetDb002() 237 EXPECT_TRUE(delegate->GetEntries(KEY_K, resultSet) == OK); in ResultSetDb002() 303 * @tc.steps: step1. call GetEntries interface to get KvStoreResultSet. in ResultSetDb003() 307 EXPECT_TRUE(delegate->GetEntries(KEY_K, resultSet) == OK); in ResultSetDb003() 379 * @tc.steps: step1. call GetEntries interface to get KvStoreResultSet. in ResultSetDb004() 383 EXPECT_TRUE(delegate->GetEntries(KEY_K, resultSet) == OK); in ResultSetDb004() 452 * @tc.steps: step1. call GetEntries interface to get KvStoreResultSet. in ResultSetDb005() 456 EXPECT_TRUE(delegate->GetEntries(KEY_ in ResultSetDb005() [all...] |
H A D | distributeddb_nb_batch_crud_test.cpp | 192 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), OK); in HWTEST_F() 201 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), NOT_FOUND); in HWTEST_F() 240 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), OK); in HWTEST_F() 276 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), NOT_FOUND); in HWTEST_F() 307 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), OK); in HWTEST_F() 315 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), OK); in HWTEST_F() 322 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), OK); in HWTEST_F() 350 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), OK); in HWTEST_F() 359 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegate, KEY_EMPTY, entryResults), NOT_FOUND); in HWTEST_F() 367 EXPECT_EQ(DistributedDBNbTestTools::GetEntries(*g_nbBatchCrudDelegat in HWTEST_F() [all...] |
H A D | distributeddb_nb_predicate_query_test.cpp | 130 DBStatus statusGot = delegate->GetEntries(queryNeedCheck, entries); in CheckSchemaQuery() 132 MST_LOG("GetEntries entries result: %d, statusGot: %d", result, statusGot); in CheckSchemaQuery() 150 statusGot = delegate->GetEntries(queryNeedCheck, resultSet); in CheckSchemaQuery() 153 statusGot = delegate->GetEntries(queryNeedCheck, resultSet); in CheckSchemaQuery() 156 MST_LOG("GetEntries resultSet result: %d, statusGot: %d", result, statusGot); in CheckSchemaQuery() 171 DBStatus statusGot = delegate->GetEntries(queryNeedCheck, entries); in CheckSchemaQueryForOrderBy() 173 MST_LOG("GetEntries entries result: %d, statusGot: %d", result, statusGot); in CheckSchemaQueryForOrderBy() 185 statusGot = delegate->GetEntries(queryNeedCheck, resultSet); in CheckSchemaQueryForOrderBy() 188 statusGot = delegate->GetEntries(queryNeedCheck, resultSet); in CheckSchemaQueryForOrderBy() 191 MST_LOG("GetEntries resultSe in CheckSchemaQueryForOrderBy() [all...] |
H A D | distributeddb_nb_crud_power_test.cpp | 93 EXPECT_EQ(g_nbDelegate->GetEntries({'p'}, entries), OK); in RepeatExeCrud() 98 EXPECT_EQ(g_nbDelegate->GetEntries({'u'}, entries), OK); in RepeatExeCrud() 102 EXPECT_EQ(g_nbDelegate->GetEntries(KEY_EMPTY, entries), OK); in RepeatExeCrud() 141 EXPECT_EQ(g_nbDelegate->GetEntries(query, entriesGot), OK); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | udmf_run_time_store_test.cpp | 140 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 173 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 207 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 238 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 245 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 279 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 288 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 318 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 326 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F() 358 status = store->GetEntries(KEY_PREFI in HWTEST_F() [all...] |
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | convert_utils_test.cpp | 160 auto entriesSize = data.GetRecordAt(0)->GetEntries()->size(); in InitDataWithPlainEntry() 171 auto entriesSize = data.GetRecordAt(0)->GetEntries()->size(); in InitDataWithHtmlEntry() 182 auto entriesSize = data.GetRecordAt(0)->GetEntries()->size(); in InitDataWithFileUriEntry() 193 auto entriesSize = data.GetRecordAt(0)->GetEntries()->size(); in InitDataWithPixelMapEntry() 204 auto entriesSize = data.GetRecordAt(0)->GetEntries()->size(); in InitDataWitCustomEntry() 216 auto entriesSize = data.GetRecordAt(0)->GetEntries()->size(); in InitDataWitSameCustomEntry() 228 auto entriesSize = record->GetEntries()->size(); in InitDataWithEntries() 363 auto entriesSize = data.GetRecordAt(0)->GetEntries()->size(); in HWTEST_F() 374 auto entries = record->GetEntries(); in HWTEST_F() 390 auto entriesSize = data.GetRecordAt(0)->GetEntries() in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/schemadelegate_fuzzer/ |
H A D | schemadelegate_fuzzer.cpp | 76 delegate->GetEntries(keyPrefix, entriesGot);
in SchemaFuzzCURD() 79 delegate->GetEntries(Query::Select(), entriesGotByQuery);
in SchemaFuzzCURD() 82 delegate->GetEntries(keyPrefix, readResultSet);
in SchemaFuzzCURD() 85 delegate->GetEntries(Query::Select(), readResultSet);
in SchemaFuzzCURD()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/ |
H A D | sqlite_local_kvdb_snapshot.cpp | 39 int SQLiteLocalKvDBSnapshot::GetEntries(const Key &keyPrefix, std::vector<Entry> &entries) const in GetEntries() function in DistributedDB::SQLiteLocalKvDBSnapshot 45 return connect_->GetEntries(option, keyPrefix, entries); in GetEntries()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_natural_store_snapshot.cpp | 46 int MultiVerNaturalStoreSnapshot::GetEntries(const Key &keyPrefix, std::vector<Entry> &entries) const in GetEntries() function in DistributedDB::MultiVerNaturalStoreSnapshot 55 return static_cast<MultiVerStorageExecutor *>(databaseHandle_)->GetEntries(keyPrefix, entries); in GetEntries()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | kv_store_snapshot_delegate_impl.cpp | 54 void KvStoreSnapshotDelegateImpl::GetEntries( in GetEntries() function in DistributedDB::KvStoreSnapshotDelegateImpl 65 int errCode = snapShot_->GetEntries(keyPrefix, entries); in GetEntries()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/ |
H A D | kv_store_nb_delegate_mock.h | 40 DBStatus GetEntries(const Key &keyPrefix, std::vector<Entry> &entries) const; 41 DBStatus GetEntries(const Key &keyPrefix, KvStoreResultSet *&resultSet) const; 42 DBStatus GetEntries(const Query &query, std::vector<Entry> &entries) const; 43 DBStatus GetEntries(const Query &query, KvStoreResultSet *&resultSet) const;
|
H A D | db_store_mock.h | 53 DBStatus GetEntries(const Key &keyPrefix, std::vector<Entry> &entries) const override; 54 DBStatus GetEntries(const Key &keyPrefix, KvStoreResultSet *&resultSet) const override; 55 DBStatus GetEntries(const Query &query, std::vector<Entry> &entries) const override; 56 DBStatus GetEntries(const Query &query, KvStoreResultSet *&resultSet) const override; 121 DBStatus GetEntries(ConcurrentMap<Key, Value> &store, const Key &keyPrefix, std::vector<Entry> &entries) const;
|
H A D | db_store_mock.cpp | 26 DBStatus DBStoreMock::GetEntries(const Key &keyPrefix, std::vector<Entry> &entries) const in GetEntries() function in OHOS::DistributedData::DBStoreMock 28 return GetEntries(entries_, keyPrefix, entries); in GetEntries() 31 DBStatus DBStoreMock::GetEntries(const Key &keyPrefix, KvStoreResultSet *&resultSet) const in GetEntries() function in OHOS::DistributedData::DBStoreMock 37 DBStatus DBStoreMock::GetEntries(const Query &query, std::vector<Entry> &entries) const in GetEntries() function in OHOS::DistributedData::DBStoreMock 42 DBStatus DBStoreMock::GetEntries(const Query &query, KvStoreResultSet *&resultSet) const in GetEntries() function in OHOS::DistributedData::DBStoreMock 86 return GetEntries(localEntries_, keyPrefix, entries); in GetLocalEntries() 261 DBStatus DBStoreMock::GetEntries(ConcurrentMap<Key, Value> &store, const Key &keyPrefix, in GetEntries() function in OHOS::DistributedData::DBStoreMock
|
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/ |
H A D | single_store_impl.h | 53 void GetEntries(const Key &prefix, const std::string &networkId, 55 Status GetEntries(const Key &prefix, std::vector<Entry> &entries) const override; 56 Status GetEntries(const DataQuery &query, std::vector<Entry> &entries) const override; 91 Status GetEntries(const DBQuery &query, std::vector<Entry> &entries) const;
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | proxy_directory.cpp | 63 vector<IDirectory::Entry> ProxyDirectory::GetEntries() const in GetEntries() function in ProxyDirectory 68 for (auto&& entry : dir->GetEntries()) { in GetEntries()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | ikvdb_connection.h | 62 virtual int GetEntries(const IOption &option, const Key &keyPrefix, std::vector<Entry> &entries) const = 0; 64 virtual int GetEntries(const IOption &option, const Query &query, std::vector<Entry> &entries) const = 0; 167 virtual int GetEntries(const std::string &device, std::vector<Entry> &entries) const = 0;
|
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | single_kvstore.h | 74 virtual void GetEntries(const Key &prefix, in GetEntries() function in OHOS::DistributedKv::SingleKvStore 83 virtual Status GetEntries(const Key &prefix, std::vector<Entry> &entries) const = 0; 91 virtual Status GetEntries(const DataQuery &query, std::vector<Entry> &entries) const = 0;
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | generic_kvdb_connection.h | 60 int GetEntries(const IOption &option, const Key &keyPrefix, std::vector<Entry> &entries) const override; 62 int GetEntries(const IOption &option, const Query &query, std::vector<Entry> &entries) const override; 110 int GetEntries(const std::string &device, std::vector<Entry> &entries) const override;
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | unified_record_test.cpp | 106 auto entries = record.GetEntries(); in HWTEST_F() 131 auto entries = record.GetEntries(); in HWTEST_F() 161 auto entries = record.GetEntries(); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | single_store_impl.cpp | 225 void SingleStoreImpl::GetEntries(const Key &prefix, const std::string &networkId, in GetEntries() function in OHOS::DistributedKv::SingleStoreImpl 229 auto status = GetEntries(prefix, entries); in GetEntries() 233 Status SingleStoreImpl::GetEntries(const Key &prefix, std::vector<Entry> &entries) const in GetEntries() function in OHOS::DistributedKv::SingleStoreImpl 244 auto status = GetEntries(dbQuery, entries); in GetEntries() 251 Status SingleStoreImpl::GetEntries(const DataQuery &query, std::vector<Entry> &entries) const in GetEntries() function in OHOS::DistributedKv::SingleStoreImpl 254 auto status = GetEntries(dbQuery, entries); in GetEntries() 402 auto status = dbStore_->GetEntries(query, dbResultSet); in GetResultSet() 410 Status SingleStoreImpl::GetEntries(const DBQuery &query, std::vector<Entry> &entries) const in GetEntries() function in OHOS::DistributedKv::SingleStoreImpl 420 auto dbStatus = dbStore_->GetEntries(query, dbEntries); in GetEntries()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/ |
H A D | kv_store_snapshot_callback.cpp | 33 std::vector<Entry> KvStoreSnapshotCallback::GetEntries() in GetEntries() function in KvStoreSnapshotCallback
|