Home
last modified time | relevance | path

Searched refs:STORE_ID (Results 1 – 25 of 59) sorted by relevance

123

/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/
Ddistributeddb_interfaces_relational_test.cpp35 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 …]
Ddistributeddb_interfaces_device_identifier_test.cpp41 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()
Ddistributeddb_interfaces_transaction_test.cpp30 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…
Ddistributeddb_interfaces_transaction_syncdb_test.cpp30 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…
Ddistributeddb_interfaces_single_version_result_set_test.cpp47 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()
Ddistributeddb_interfaces_relational_sync_test.cpp32 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/
Ddistributeddb_single_ver_multi_user_test.cpp34 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 …]
Ddistributeddb_communicator_proxy_test.cpp35 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);
Ddistributeddb_multi_ver_p2p_sync_test.cpp44 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/
Ddistributeddb_storage_resultset_and_json_optimize.cpp45 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()
Ddistributeddb_storage_register_conflict_test.cpp40 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()
Ddistributeddb_storage_encrypt_test.cpp36 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/
Ddb_properties.cpp25 const std::string DBProperties::STORE_ID = "storeId"; member in DistributedDB::DBProperties
77 SetStringProp(DBProperties::STORE_ID, storeId); in SetIdentifier()
Dsync_able_kvdb.cpp132 …std::string storeId = syncInterface->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""); in SetSyncModuleActive()
229 …std::string storeId = syncInterface->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""); in UserChangeHandle()
Dgeneric_kvdb.cpp83 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/
Donline_sync_table.cpp32 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/
Ddb_properties.h50 static const std::string STORE_ID; variable
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/syncer/src/
Dsingle_ver_syncer.cpp33 …std::string storeId = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""… in RemoteDeviceOffline()
Dtime_helper.cpp127 …sendConf.paramInfo.storeId = storage_->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, "… in SetSendConfig()
/foundation/appexecfwk/standard/services/bundlemgr/include/
Dbundle_data_storage_database.h66 const DistributedKv::StoreId storeId_ {Constants::STORE_ID};
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/dfx/src/
Dhiview_adapter.h78 static const inline std::string STORE_ID = "STORE_ID"; variable
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/test/common/distributeddb/include/
Ddistributed_rdb_tools.h63 const static RdbParameters g_rdbParameter2(NORMAL_PATH, DistributedDBDataGenerator::STORE_ID,
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/
Ddistributed_data_storage.cpp37 const string STORE_ID = "SnapshotInfoDataStorage"; variable
45 storeId_.storeId = STORE_ID; in DistributedDataStorage()
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/app/src/
Dkvstore_meta_manager.h119 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/
Dauto_launch.cpp169 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()

123