Home
last modified time | relevance | path

Searched refs:store (Results 1 – 25 of 1267) sorted by relevance

12345678910>>...51

/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbStoreAttachJsunit.test.js134 async function attachCheck(store) { argument
135 await attachInsert(store, "test");
137 await updateCheck(store, "test");
144 await updateCheck(store, "test1");
161 await attachInsert(store, "test");
166 await attachCheck(store);
180 await attachInsert(store, "test");
185 await attachCheck(store);
199 await attachInsert(store, "test");
204 await attachCheck(store);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store_connection.cpp26 if (store == nullptr) { in SQLiteRelationalStoreConnection()
147 if (store == nullptr) { in CreateDistributedTable()
162 if (store == nullptr) { in RemoveDeviceData()
177 if (store == nullptr) { in GetCloudSyncTaskCount()
191 if (store == nullptr) { in DoClean()
211 if (store == nullptr) { in RemoveDeviceData()
233 if (store == nullptr) { in SyncToDevice()
273 if (store == nullptr) { in RegisterLifeCycleCallback()
296 if (store == nullptr) { in RemoteQuery()
306 if (store == nullptr) { in SetCloudDB()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_execute_test.cpp98 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
160 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
212 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
237 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
252 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
265 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
278 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
296 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
314 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
337 std::shared_ptr<RdbStore> &store = RdbExecuteTest::store; variable
[all …]
H A Drdb_transaction_test.cpp79 store = nullptr; in TearDownTestCase()
99 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
138 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
184 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
228 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
278 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
327 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
377 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
434 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
465 std::shared_ptr<RdbStore> &store = RdbTransactionTest::store; variable
[all …]
H A Drdb_read_only_test.cpp48 int OnCreate(RdbStore &store) override;
76 EXPECT_NE(nullptr, store); in SetUpTestCase()
129 EXPECT_EQ(nullptr, store);
189 auto ret = store->BeginTransaction();
192 ret = store->Commit();
195 ret = store->RollBack();
413 EXPECT_NE(nullptr, store);
419 ret = store->Commit(1);
423 ret = store->RollBack(1);
446 EXPECT_NE(nullptr, store);
[all …]
H A Drdb_store_config_test.cpp136 store = nullptr;
144 store = nullptr;
200 store = nullptr;
254 store = nullptr;
278 store = nullptr;
302 store = nullptr;
326 store = nullptr;
350 store = nullptr;
373 store = nullptr;
417 store = nullptr;
[all …]
H A Drdb_open_callback_test.cpp63 int OnCreate(RdbStore &store) override;
66 int OnOpen(RdbStore &store) override;
84 int OpenCallbackA::OnCreate(RdbStore &store) in OnCreate() argument
111 int OpenCallbackA::OnOpen(RdbStore &store) in OnOpen() argument
157 EXPECT_NE(store, nullptr);
198 EXPECT_NE(store, nullptr);
254 EXPECT_NE(store, nullptr);
273 int OnCreate(RdbStore &store) override;
317 EXPECT_NE(store, nullptr);
373 EXPECT_NE(store, nullptr);
[all …]
H A Drdb_get_store_test.cpp99 EXPECT_NE(store, nullptr); in CreateRDB()
112 QueryCheck1(store); in CreateRDB()
113 QueryCheck2(store); in CreateRDB()
210 EXPECT_NE(store, nullptr);
231 EXPECT_NE(store, nullptr);
245 EXPECT_NE(store, nullptr); in CreateGetRDB()
246 return store; in CreateGetRDB()
345 EXPECT_NE(store, nullptr);
366 EXPECT_NE(store, nullptr);
388 EXPECT_NE(store, nullptr);
[all …]
H A Drdb_update_test.cpp79 store = nullptr; in TearDownTestCase()
100 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
141 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
187 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
210 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
234 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
255 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
296 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
345 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
394 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; variable
[all …]
H A Drdb_delete_test.cpp36 static std::shared_ptr<RdbStore> store; member in RdbDeleteTest
44 int OnCreate(RdbStore &store) override;
56 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
70 EXPECT_NE(RdbDeleteTest::store, nullptr); in SetUpTestCase()
80 store->ExecuteSql("DELETE FROM test"); in SetUp()
94 std::shared_ptr<RdbStore> &store = RdbDeleteTest::store; variable
149 std::shared_ptr<RdbStore> &store = RdbDeleteTest::store; variable
170 ret = store->Insert(id, "test", values);
180 ret = store->Insert(id, "test", values);
184 ret = store->Delete(deletedRows, "test");
[all …]
H A Drdb_double_write_test.cpp116 store = nullptr; in TearDown()
465 store = nullptr;
493 store = nullptr;
553 store = nullptr;
753 store = nullptr;
798 store = nullptr;
902 store = nullptr;
910 store = nullptr;
935 store = nullptr;
1029 store = nullptr;
[all …]
H A Drdb_store_subscribe_test.cpp72 static std::shared_ptr<RdbStore> store; member in RdbStoreSubTest
93 store = CreateRDB(1); in SetUpTestCase()
104 store = nullptr; in TearDownTestCase()
122 int Callback::OnCreate(RdbStore &store) in OnCreate() argument
188 EXPECT_NE(store, nullptr); in CreateRDB()
189 return store; in CreateRDB()
275 status = store->Notify("observer");
298 store->ExecuteSql(createTableTest);
477 store->ExecuteSql(createTableTest);
547 store->ExecuteSql(createTableTest);
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Drdb_general_store_test.cpp257 ASSERT_NE(store, nullptr);
276 ASSERT_NE(store, nullptr);
293 ASSERT_NE(store, nullptr);
339 ASSERT_NE(store, nullptr);
353 store->isBound_ = true;
404 ret = store->Close();
420 std::unique_lock<decltype(store->rwMutex_)> lock(store->rwMutex_); in __anone30755e80102()
427 ret = store->Close();
882 store->ref_ = 0;
885 store->ref_ = 2;
[all …]
H A Dkvdb_general_store_test.cpp280 ret = store->Close();
296 std::unique_lock<decltype(store->rwMutex_)> lock(store->rwMutex_); in __anondde6d9770102()
303 ret = store->Close();
328 auto ret = store->Sync(
572 store->ref_ = 0;
573 ret = store->Release();
575 store->ref_ = 2;
576 ret = store->Release();
579 ret = store->AddRef();
581 store->ref_ = 0;
[all …]
H A Dudmf_run_time_store_test.cpp124 bool result = store->Init();
157 bool result = store->Init();
190 bool result = store->Init();
221 bool result = store->Init();
259 bool result = store->Init();
302 bool result = store->Init();
340 bool result = store->Init();
384 bool result = store->Init();
397 bool result = store->Init();
429 bool result = store->Init();
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_rdbstore.cpp1175 RdbStore &store) in InsertUniqueMemberTableValues() argument
2316 ExecSqls(sqls, store); in AddYearMonthDayColumn()
2343 ExecSqls(sqls, store); in AddCloudIndex()
2439 ExecSqls(sqls, store); in AddHiddenTimeColumn()
2488 ExecSqls(sqls, store); in FixDocsPath()
2509 ExecSqls(sqls, store); in AddImageVideoCount()
2517 ExecSqls(sqls, store); in AddSCHPTHiddenTimeIndex()
2553 ExecSqls(sqls, store); in UpdateGeoTables()
2678 AddCloudIndex(store); in AddMissingUpdates()
3778 UpdateAOI(store); in UpgradeExtensionPart3()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_single_ver_natural_store_testcase.h42 static void GetSyncData001(DistributedDB::SQLiteSingleVerNaturalStore *&store,
45 static void GetSyncData002(DistributedDB::SQLiteSingleVerNaturalStore *&store,
48 static void GetSyncData003(DistributedDB::SQLiteSingleVerNaturalStore *&store,
51 static void GetSyncData004(DistributedDB::SQLiteSingleVerNaturalStore *&store,
54 static void GetSyncData005(DistributedDB::SQLiteSingleVerNaturalStore *&store,
57 static void GetSyncData006(DistributedDB::SQLiteSingleVerNaturalStore *&store,
60 static void PutSyncData001(DistributedDB::SQLiteSingleVerNaturalStore *&store,
63 static void PutSyncData002(DistributedDB::SQLiteSingleVerNaturalStore *&store,
66 static void PutSyncData003(DistributedDB::SQLiteSingleVerNaturalStore *&store,
69 static void PutMetaData001(DistributedDB::SQLiteSingleVerNaturalStore *&store,
[all …]
H A Ddistributeddb_storage_subscribe_query_test.cpp133 ASSERT_NE(store, nullptr); in CreateAndGetStore()
274 RefObject::KillAndDecObjRef(store);
312 RefObject::KillAndDecObjRef(store);
356 RefObject::KillAndDecObjRef(store);
403 RefObject::KillAndDecObjRef(store);
461 RefObject::KillAndDecObjRef(store);
518 RefObject::KillAndDecObjRef(store);
686 ASSERT_NE(store, nullptr);
692 store->DecObjRef(store);
729 PutSyncData(store, KEY1, data1);
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/fuzztest/rdbstore_fuzzer/
H A Drdbstore_fuzzer.cpp42 int OnCreate(RdbStore &store) override;
115 store->ExecuteSql("DELETE FROM test"); in RdbInsertFuzz()
141 store->ExecuteSql("DELETE FROM test"); in RdbDeleteFuzz()
405 store->Query(predicates, bindaArgs); in RdbQueryFuzz2()
409 store->Query(predicates, bindaArgs); in RdbQueryFuzz2()
413 store->Query(predicates, bindaArgs); in RdbQueryFuzz2()
417 store->Query(predicates, bindaArgs); in RdbQueryFuzz2()
421 store->Query(predicates, bindaArgs); in RdbQueryFuzz2()
425 store->Query(predicates, bindaArgs); in RdbQueryFuzz2()
429 store->Query(predicates, bindaArgs); in RdbQueryFuzz2()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Dgallery_db_upgrade.cpp45 this->AddPhotoQualityOfGalleryMedia(store); in OnUpgrade()
47 this->GarbageAlbumUpgrade(store); in OnUpgrade()
48 this->AddIndexOfGalleryAlbum(store); in OnUpgrade()
49 this->AddIndexOfAlbumPlugin(store); in OnUpgrade()
62 int32_t ret = store.ExecuteSql(sql); in AddPhotoQualityOfGalleryMedia()
82 int32_t ret = store.ExecuteSql(sql); in AddRelativeBucketIdOfGalleryAlbum()
96 this->GarbageAlbumCheckOrAddType(store); in GarbageAlbumUpgrade()
106 int32_t ret = store.ExecuteSql(sql); in GarbageAlbumCheckOrAddRelativeBucketId()
122 int32_t ret = store.ExecuteSql(sql); in GarbageAlbumCheckOrAddType()
134 int32_t ret = store.ExecuteSql(sql); in AddIndexOfGalleryAlbum()
[all …]
H A Dmedia_library_db_upgrade.cpp37 ret = this->UpgradeAlbumPlugin(store); in OnUpgrade()
41 ret = this->UpgradePhotoAlbum(store); in OnUpgrade()
45 ret = this->UpgradePhotos(store); in OnUpgrade()
49 ret = this->UpgradePhotoMap(store); in OnUpgrade()
53 ret = this->MergeAlbumFromOldBundleNameToNewBundleName(store); in OnUpgrade()
57 ret = this->UpgradePhotosBelongsToAlbum(store); in OnUpgrade()
128 return handler.OnUpgrade(store, 0, 0); in UpgradeAlbumPlugin()
145 ret = this->AddlPathColumn(store); in UpgradePhotoAlbum()
149 return this->UpdatelPathColumn(store); in UpgradePhotoAlbum()
255 ret = this->AddOwnerAlbumIdColumn(store); in UpgradePhotos()
[all …]
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_check.c47 if (store != CM_SYSTEM_TRUSTED_STORE) { in CmServiceGetSystemCertListCheck()
62 if (store != CM_SYSTEM_TRUSTED_STORE) { in CmServiceGetSystemCertCheck()
82 if (store != CM_SYSTEM_TRUSTED_STORE) { in CmServiceSetCertStatusCheck()
216 if (CM_STORE_CHECK(certParam->store)) { in CmServiceInstallAppCertCheck()
292 if (CM_STORE_CHECK(store)) { in CmServiceUninstallAppCertCheck()
302 if (!CmPermissionCheck(store)) { in CmServiceUninstallAppCertCheck()
307 if (!CmIsSystemAppByStoreType(store)) { in CmServiceUninstallAppCertCheck()
312 if (store == CM_SYS_CREDENTIAL_STORE) { in CmServiceUninstallAppCertCheck()
340 if (CM_STORE_CHECK(store)) { in CmServiceGetAppCertListCheck()
364 if (CM_STORE_CHECK(store)) { in CmServiceGetCallingAppCertListCheck()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_manager.cpp1486 if (store) { in GetName()
1634 if (store.clientHandles.size() > store.gpuHandles.size()) { in HandlePendingAllocationsImpl()
1635 store.gpuHandles.resize(store.clientHandles.size()); in HandlePendingAllocationsImpl()
1636 store.mgr->Resize(store.clientHandles.size()); in HandlePendingAllocationsImpl()
1673 DestroyGpuResource(allocation, arrayIndex, store.handleType, store); in HandlePendingAllocationsImpl()
1911 …return { move(store.pendingData.allocations), move(store.pendingData.buffers), move(store.pendingD… in CommitPendingData()
1937 if (store.clientHandles.size() > store.gpuHandles.size()) { in WaitForIdleAndDestroyGpuResources()
1938 store.gpuHandles.resize(store.clientHandles.size()); in WaitForIdleAndDestroyGpuResources()
1939 store.mgr->Resize(store.clientHandles.size()); in WaitForIdleAndDestroyGpuResources()
2180 PLUGIN_ASSERT(store.clientHandles.size() == store.descriptions.size()); in StoreAllocation()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Drdb_adapter_test.cpp71 store->Init(); in TearDownTestCase()
73 store->UnInit(); in TearDownTestCase()
79 store->Init(); in SetUp()
86 store->UnInit(); in TearDown()
99 store->UnInit();
114 store->UnInit();
167 store->UnInit();
170 store->Init();
272 store->Init();
393 store->Init();
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/
H A Drelational_store.h398 int OH_Rdb_CloseStore(OH_Rdb_Store *store);
472 int OH_Rdb_Delete(OH_Rdb_Store *store, OH_Predicates *predicates);
500 int OH_Rdb_Execute(OH_Rdb_Store *store, const char *sql);
539 int OH_Rdb_BeginTransaction(OH_Rdb_Store *store);
551 int OH_Rdb_RollBack(OH_Rdb_Store *store);
563 int OH_Rdb_Commit(OH_Rdb_Store *store);
591 int OH_Rdb_RollBackByTrxId(OH_Rdb_Store *store, int64_t trxId);
605 int OH_Rdb_CommitByTrxId(OH_Rdb_Store *store, int64_t trxId);
618 int OH_Rdb_Backup(OH_Rdb_Store *store, const char *databasePath);
644 int OH_Rdb_GetVersion(OH_Rdb_Store *store, int *version);
[all …]

12345678910>>...51