/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/ |
D | distributeddb_interfaces_relational_test.cpp | 35 constexpr const char* STORE_ID = "Relational_Store_ID"; variable 123 sqlite3 *db = RelationalTestUtils::CreateDataBase(g_dbDir + STORE_ID + DB_SUFFIX); 135 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); 153 db = RelationalTestUtils::CreateDataBase(g_dbDir + STORE_ID + DB_SUFFIX); 163 status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); 183 sqlite3 *db = RelationalTestUtils::CreateDataBase(g_dbDir + STORE_ID + DB_SUFFIX); 196 …DBStatus status = g_mgr.OpenStore(g_dbDir + "tmp/" + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); 201 status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, {}, {}, delegate); 206 status = g_mgr.OpenStore(g_dbDir + "t&m$p/" + STORE_ID + DB_SUFFIX, {}, {}, delegate); 211 status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, "Relation@al_S$tore_ID", {}, delegate); [all …]
|
D | distributeddb_interfaces_device_identifier_test.cpp | 41 const string STORE_ID = STORE_ID_SYNC; variable 62 string dir = g_testDir + STORE_ID + "/" + DBConstant::SINGLE_SUB_DIR; in SetUpTestCase() 73 …if (DistributedDBToolsUnitTest::RemoveTestDbFiles(g_testDir + STORE_ID + "/" + DBConstant::SINGLE_… in TearDownTestCase() 83 g_mgr.GetKvStore(STORE_ID, option, g_kvNbDelegateCallback); in SetUp() 89 property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in SetUp() 114 EXPECT_TRUE(g_mgr.DeleteKvStore(STORE_ID) == OK); in TearDown()
|
D | distributeddb_interfaces_transaction_test.cpp | 30 const string STORE_ID = STORE_ID_LOCAL; variable 80 g_mgr.GetKvStore(STORE_ID, option, g_kvDelegateCallback); in SetUp() 95 EXPECT_EQ(g_mgr.DeleteKvStore(STORE_ID), OK); in TearDown() 188 …DistributedDBInterfacesTransactionTestCase::StartTransaction004(g_kvDelegatePtr, STORE_ID, LOCAL_O… 217 …DistributedDBInterfacesTransactionTestCase::StartTransaction005(g_kvDelegatePtr, STORE_ID, LOCAL_O…
|
D | distributeddb_interfaces_transaction_syncdb_test.cpp | 30 const string STORE_ID = STORE_ID_SYNC; variable 80 g_mgr.GetKvStore(STORE_ID, option, g_kvDelegateCallback); in SetUp() 95 EXPECT_EQ(g_mgr.DeleteKvStore(STORE_ID), OK); in TearDown() 188 …DistributedDBInterfacesTransactionTestCase::StartTransaction004(g_kvDelegatePtr, STORE_ID, LOCAL_O…
|
D | distributeddb_interfaces_single_version_result_set_test.cpp | 47 const string STORE_ID = STORE_ID_SYNC; variable 74 std::string origIdentifier = USER_ID + "-" + APP_ID + "-" + STORE_ID; in SetUpTestCase() 88 …if (DistributedDBToolsUnitTest::RemoveTestDbFiles(g_testDir + STORE_ID + "/" + DBConstant::SINGLE_… in TearDownTestCase() 99 g_mgr.GetKvStore(STORE_ID, delegateOption, g_kvNbDelegateCallback); in SetUp() 105 property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in SetUp() 147 EXPECT_TRUE(g_mgr.DeleteKvStore(STORE_ID) == OK); in TearDown()
|
D | distributeddb_interfaces_relational_sync_test.cpp | 32 constexpr const char* STORE_ID = "Relational_Store_ID"; variable 88 db = RelationalTestUtils::CreateDataBase(g_dbDir + STORE_ID + DB_SUFFIX); in SetUp() 94 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); in SetUp()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/syncer/ |
D | distributeddb_single_ver_multi_user_test.cpp | 34 const string STORE_ID = "kv_stroe_sync_test"; variable 162 g_mgr1.GetKvStore(STORE_ID, option, g_kvDelegateCallback1); in OpenStore1() 171 g_mgr2.GetKvStore(STORE_ID, option, g_kvDelegateCallback2); in OpenStore2() 181 DBStatus status = g_mgr1.DeleteKvStore(STORE_ID); in CloseStore() 188 DBStatus status = g_mgr2.DeleteKvStore(STORE_ID); in CloseStore() 223 param.storeId = STORE_ID; in AutoLaunchCallBack() 410 g_identifier = g_mgr1.GetKvStoreIdentifier(USER_ID_2, APP_ID, STORE_ID, true); 411 EXPECT_TRUE(g_identifier == g_mgr1.GetKvStoreIdentifier(USER_ID_1, APP_ID, STORE_ID, true)); 473 … EXPECT_TRUE(g_mgr1.EnableKvStoreAutoLaunch(USER_ID_2, APP_ID, STORE_ID, option, notifier) == OK); 474 … EXPECT_TRUE(g_mgr1.EnableKvStoreAutoLaunch(USER_ID_1, APP_ID, STORE_ID, option, notifier) == OK); [all …]
|
D | distributeddb_communicator_proxy_test.cpp | 35 const string STORE_ID = "kv_store_sync_test"; variable 106 g_mgr.GetKvStore(STORE_ID, option, g_kvDelegateCallback); in SetUp() 107 std::string identifier = g_mgr.GetKvStoreIdentifier(USER_ID, APP_ID, STORE_ID); in SetUp() 124 DBStatus status = g_mgr.DeleteKvStore(STORE_ID); in TearDown() 146 std::string identifier = g_mgr.GetKvStoreIdentifier("default", APP_ID, STORE_ID);
|
D | distributeddb_multi_ver_p2p_sync_test.cpp | 44 const string STORE_ID = "kv_store_sync_test"; variable 78 prop.SetStringProp(KvDBProperties::STORE_ID, storeId); in GetConnection() 186 DBStatus status = g_mgr.DeleteKvStore(STORE_ID); in TearDown() 247 g_mgr.GetKvStore(STORE_ID, g_option, g_kvDelegateCallback); 309 g_mgr.GetKvStore(STORE_ID, g_option, g_kvDelegateCallback); 370 g_mgr.GetKvStore(STORE_ID, g_option, g_kvDelegateCallback); 1182 g_mgr.GetKvStore(STORE_ID, g_option, g_kvDelegateCallback); 1226 g_mgr.GetKvStore(STORE_ID, g_option, g_kvDelegateCallback); 1274 g_mgr.GetKvStore(STORE_ID, g_option, g_kvDelegateCallback); 1325 g_mgr.GetKvStore(STORE_ID, g_option, g_kvDelegateCallback); [all …]
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/storage/ |
D | distributeddb_storage_resultset_and_json_optimize.cpp | 45 const string STORE_ID = STORE_ID_SYNC; variable 58 std::string origIdentifier = USER_ID + "-" + APP_ID + "-" + STORE_ID; in SetUpTestCase() 69 g_Property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in SetUpTestCase()
|
D | distributeddb_storage_register_conflict_test.cpp | 40 const string STORE_ID = STORE_ID_SYNC; variable 148 std::string origIdentifier = USER_ID + "-" + APP_ID + "-" + STORE_ID; in SetUpTestCase() 177 g_mgr.GetKvStore(STORE_ID, option, g_kvNbDelegateCallback); in SetUp() 183 property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in SetUp() 211 EXPECT_TRUE(g_mgr.DeleteKvStore(STORE_ID) == OK); in TearDown() 790 EXPECT_TRUE(g_mgr.DeleteKvStore(STORE_ID) == OK); in GetNewConflictStore() 794 property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in GetNewConflictStore()
|
D | distributeddb_storage_encrypt_test.cpp | 36 const string STORE_ID = "test"; variable 133 int errCode = Open(g_db, STORE_ID); in OpenWithKey() 153 errCode = Open(g_db, STORE_ID); in OpenWithKey() 173 int errCode = Open(g_db, STORE_ID); in Reconnect() 339 if (remove((STORE_ID + ".db").c_str()) != 0) { in SetUp() 358 if (remove((STORE_ID + ".db").c_str()) != 0) { in TearDown() 1309 EXPECT_EQ(Open(g_db, STORE_ID), SQLITE_OK); 1316 EXPECT_EQ(Open(g_db, STORE_ID), SQLITE_OK);
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/src/ |
D | db_properties.cpp | 25 const std::string DBProperties::STORE_ID = "storeId"; member in DistributedDB::DBProperties 77 SetStringProp(DBProperties::STORE_ID, storeId); in SetIdentifier()
|
D | sync_able_kvdb.cpp | 132 …std::string storeId = syncInterface->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""); in SetSyncModuleActive() 229 …std::string storeId = syncInterface->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""); in UserChangeHandle()
|
D | generic_kvdb.cpp | 83 return MyProp().GetStringProp(KvDBProperties::STORE_ID, ""); in GetStoreId() 396 std::string storeId = properties.GetStringProp(KvDBProperties::STORE_ID, ""); in GetStoreIdOnlyIdentifier()
|
/foundation/deviceprofile/device_profile_core/services/core/src/dbstorage/ |
D | online_sync_table.cpp | 32 const std::string STORE_ID = "online_sync_storage"; variable 37 OnlineSyncTable::OnlineSyncTable() : DeviceProfileStorage(APP_ID, STORE_ID) in OnlineSyncTable()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/include/ |
D | db_properties.h | 50 static const std::string STORE_ID; variable
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/syncer/src/ |
D | single_ver_syncer.cpp | 33 …std::string storeId = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""… in RemoteDeviceOffline()
|
D | time_helper.cpp | 127 …sendConf.paramInfo.storeId = storage_->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, "… in SetSendConfig()
|
/foundation/appexecfwk/standard/services/bundlemgr/include/ |
D | bundle_data_storage_database.h | 66 const DistributedKv::StoreId storeId_ {Constants::STORE_ID};
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/dfx/src/ |
D | hiview_adapter.h | 78 static const inline std::string STORE_ID = "STORE_ID"; variable
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/test/common/distributeddb/include/ |
D | distributed_rdb_tools.h | 63 const static RdbParameters g_rdbParameter2(NORMAL_PATH, DistributedDBDataGenerator::STORE_ID,
|
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/ |
D | distributed_data_storage.cpp | 37 const string STORE_ID = "SnapshotInfoDataStorage"; variable 45 storeId_.storeId = STORE_ID; in DistributedDataStorage()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/app/src/ |
D | kvstore_meta_manager.h | 119 return Serializable::GetVal<std::string>(jObject, STORE_ID, json::value_t::string, ""); in GetStoreId() 125 static constexpr const char *STORE_ID = "storeId"; member
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/common/src/ |
D | auto_launch.cpp | 169 std::string storeId = properties.GetStringProp(DBProperties::STORE_ID, ""); in EnableKvStoreAutoLaunch() 333 autoLaunchItem.propertiesPtr->GetStringProp(DBProperties::STORE_ID, "") in RegisterObserver() 391 storeId = properties->GetStringProp(KvDBProperties::STORE_ID, ""); in ObserverFunc() 491 … std::string storeId = autoLaunchItem.propertiesPtr->GetStringProp(DBProperties::STORE_ID, ""); in CloseNotifier() 598 … std::string storeId = iter.second.propertiesPtr->GetStringProp(DBProperties::STORE_ID, ""); in GetDoOpenMap() 898 std::string storeId = autoLaunchItem.propertiesPtr->GetStringProp(KvDBProperties::STORE_ID, ""); in ExtObserverFunc() 1218 … std::string storeId = autoLaunchItem.propertiesPtr->GetStringProp(DBProperties::STORE_ID, ""); in NotifyInvalidParam()
|