Home
last modified time | relevance | path

Searched refs:kvStoreNbDelegate (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_nb_test_tools.cpp37 this->kvStoreNbDelegate_ = kvStoreNbDelegate; in Callback()
260 return kvStoreNbDelegate.Get(key, value); in Get()
266 return kvStoreNbDelegate.GetEntries(keyPrefix, entries); in GetEntries()
281 return kvStoreNbDelegate.Put(key, value); in Put()
320 return kvStoreNbDelegate.Delete(key); in Delete()
347 status = kvStoreNbDelegate.Delete(iter); in DeleteBatch()
359 return kvStoreNbDelegate.GetLocal(key, value); in GetLocal()
374 return kvStoreNbDelegate.PutLocal(key, value); in PutLocal()
411 return kvStoreNbDelegate.DeleteLocal(key); in DeleteLocal()
436 status = kvStoreNbDelegate.DeleteLocal(key); in DeleteLocalBatch()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/
H A Ddistributeddb_nb_test_tools.h155 …void Callback(DistributedDB::DBStatus status, DistributedDB::KvStoreNbDelegate *kvStoreNbDelegate);
200 static DistributedDB::DBStatus Get(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
203 static DistributedDB::DBStatus GetEntries(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
206 static DistributedDB::DBStatus Put(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
209 static DistributedDB::DBStatus PutBatch(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
212 static DistributedDB::DBStatus Delete(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
215 static DistributedDB::DBStatus DeleteBatch(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
218 static DistributedDB::DBStatus GetLocal(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
221 static DistributedDB::DBStatus PutLocal(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
224 … static DistributedDB::DBStatus PutLocalBatch(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate,
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_crud_test.cpp1672 KvStoreNbDelegate *kvStoreNbDelegate = nullptr; variable
1675 ASSERT_TRUE(manager != nullptr && kvStoreNbDelegate != nullptr);
1684 status = kvStoreNbDelegate->Put(entriesBatch[index].key, entriesBatch[index].value);
1689 kvStoreNbDelegate->GetEntries(KEY_EMPTY, valueResult);
1695 status = DistributedDBNbTestTools::Delete(*kvStoreNbDelegate, entriesBatch[0].key);
1700 EXPECT_TRUE(EndCaseDeleteDB(manager, kvStoreNbDelegate, STORE_ID_2, g_option.isMemoryDb));
1753 KvStoreNbDelegate *kvStoreNbDelegate = nullptr; variable
1756 ASSERT_TRUE(manager != nullptr && kvStoreNbDelegate != nullptr);
1762 DBStatus status = DistributedDBNbTestTools::PutBatch(*kvStoreNbDelegate, entriesBatch);
1772 status = DistributedDBNbTestTools::Delete(*kvStoreNbDelegate, entriesBatch[index].key);
[all …]
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Dflat_object_storage_engine.cpp114 … &kvStore](DistributedDB::DBStatus dbStatus, DistributedDB::KvStoreNbDelegate *kvStoreNbDelegate) { in CreateTable() argument
116 kvStore = kvStoreNbDelegate; in CreateTable()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_manager.cpp77 …ore, this](DistributedDB::DBStatus dbStatus, DistributedDB::KvStoreNbDelegate *kvStoreNbDelegate) { in OpenObjectKvStore() argument
83 store = kvStoreNbDelegate; in OpenObjectKvStore()