Home
last modified time | relevance | path

Searched refs:SetStringProp (Results 1 – 25 of 47) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Ddb_properties.cpp29 void DBProperties::SetStringProp(const std::string &name, const std::string &value) in SetStringProp() function in DistributedDB::DBProperties
79 SetStringProp(DBProperties::APP_ID, appId); in SetIdentifier()
80 SetStringProp(DBProperties::USER_ID, userId); in SetIdentifier()
81 SetStringProp(DBProperties::STORE_ID, storeId); in SetIdentifier()
82 SetStringProp(DBProperties::SUB_USER, subUser); in SetIdentifier()
86 SetStringProp(DBProperties::IDENTIFIER_DATA, hashIdentifier); in SetIdentifier()
88 SetStringProp(DBProperties::DUAL_TUPLE_IDENTIFIER_DATA, dualIdentifier); in SetIdentifier()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_kvdata_storage.cpp53 dbProperties.SetStringProp(KvDBProperties::DATA_DIR, config.databaseDir); in OpenKvDB()
54 dbProperties.SetStringProp(KvDBProperties::FILE_NAME, config.fileName); in OpenKvDB()
55 dbProperties.SetStringProp(KvDBProperties::IDENTIFIER_DIR, config.identifier); in OpenKvDB()
302 dbProperties.SetStringProp(KvDBProperties::DATA_DIR, property.dataDir); in GetVersion()
304 dbProperties.SetStringProp(KvDBProperties::IDENTIFIER_DIR, property.identifierName); in GetVersion()
315 dbProperties.SetStringProp(KvDBProperties::FILE_NAME, DBConstant::MULTI_VER_META_STORE); in GetVersion()
438 dbProperties.SetStringProp(KvDBProperties::DATA_DIR, property.dataDir); in BackupCurrentDatabase()
439 dbProperties.SetStringProp(KvDBProperties::FILE_NAME, DBConstant::MULTI_VER_META_STORE); in BackupCurrentDatabase()
440 dbProperties.SetStringProp(KvDBProperties::IDENTIFIER_DIR, property.identifierName); in BackupCurrentDatabase()
457 dbProperties.SetStringProp(KvDBProperties::DATA_DIR, property.dataDir); in ImportDatabase()
[all …]
H A Dmulti_ver_natural_store_commit_storage.cpp86 dbProperties.SetStringProp(KvDBProperties::DATA_DIR, property.path); in GetVersion()
87 dbProperties.SetStringProp(KvDBProperties::FILE_NAME, DBConstant::MULTI_VER_COMMIT_STORE); in GetVersion()
88 dbProperties.SetStringProp(KvDBProperties::IDENTIFIER_DIR, property.identifierName); in GetVersion()
117 dbProperties.SetStringProp(KvDBProperties::DATA_DIR, property.path); in Open()
118 dbProperties.SetStringProp(KvDBProperties::FILE_NAME, DBConstant::MULTI_VER_COMMIT_STORE); in Open()
119 dbProperties.SetStringProp(KvDBProperties::IDENTIFIER_DIR, property.identifierName); in Open()
891 dbProperties.SetStringProp(KvDBProperties::DATA_DIR, property.path); in BackupCurrentDatabase()
892 dbProperties.SetStringProp(KvDBProperties::FILE_NAME, DBConstant::MULTI_VER_COMMIT_STORE); in BackupCurrentDatabase()
893 dbProperties.SetStringProp(KvDBProperties::IDENTIFIER_DIR, property.identifierName); in BackupCurrentDatabase()
905 dbProperties.SetStringProp(KvDBProperties::DATA_DIR, property.path); in ImportDatabase()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_multi_ver_sync_db_interface.cpp147 prop.SetStringProp(KvDBProperties::USER_ID, "sync_test"); in Initialize()
148 prop.SetStringProp(KvDBProperties::APP_ID, "sync_test"); in Initialize()
149 prop.SetStringProp(KvDBProperties::STORE_ID, deviceId); in Initialize()
152 prop.SetStringProp(KvDBProperties::IDENTIFIER_DATA, identifier); in Initialize()
154 prop.SetStringProp(KvDBProperties::IDENTIFIER_DIR, identifierDir); in Initialize()
155 prop.SetStringProp(KvDBProperties::DATA_DIR, dir + "/commitstore"); in Initialize()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_sqlite_single_ver_natural_store_test.cpp64 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
65 property.SetStringProp(KvDBProperties::STORE_ID, "TestGeneralNB"); in SetUp()
66 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier); in SetUp()
1127 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir);
1128 property.SetStringProp(KvDBProperties::STORE_ID, "TestGeneralNBMigration");
1129 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier);
H A Ddistributeddb_storage_single_ver_database_oper_test.cpp56 property.SetStringProp(KvDBProperties::DATA_DIR, ""); in SetUp()
57 property.SetStringProp(KvDBProperties::STORE_ID, "TestDatabaseOper"); in SetUp()
58 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, "TestDatabaseOper"); in SetUp()
H A Ddistributeddb_storage_rd_single_ver_storage_engine_test.cpp63 g_property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUpTestCase()
64 g_property.SetStringProp(KvDBProperties::STORE_ID, "TestGeneralNBStorageEngine"); in SetUpTestCase()
65 g_property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier); in SetUpTestCase()
H A Ddistributeddb_storage_rd_single_ver_natural_store_test.cpp63 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
64 property.SetStringProp(KvDBProperties::STORE_ID, "TestGeneralNB"); in SetUp()
65 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier); in SetUp()
H A Ddistributeddb_storage_sqlite_single_ver_storage_engine_test.cpp74 g_property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUpTestCase()
75 g_property.SetStringProp(KvDBProperties::STORE_ID, "TestGeneralNBStorageEngine"); in SetUpTestCase()
76 g_property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier); in SetUpTestCase()
H A Ddistributeddb_storage_memory_single_ver_naturall_store_test.cpp55 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
56 property.SetStringProp(KvDBProperties::STORE_ID, "TestGeneralNB"); in SetUp()
57 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, "31"); in SetUp()
H A Ddistributeddb_storage_rd_register_observer_test.cpp161 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
162 property.SetStringProp(KvDBProperties::STORE_ID, "TestGeneralNB"); in SetUp()
163 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, "TestGeneralNB"); in SetUp()
H A Ddistributeddb_relational_encrypted_db_test.cpp63 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
64 properties.SetStringProp(RelationalDBProperties::APP_ID, appId); in InitStoreProp()
65 properties.SetStringProp(RelationalDBProperties::USER_ID, userId); in InitStoreProp()
66 properties.SetStringProp(RelationalDBProperties::STORE_ID, g_storeID); in InitStoreProp()
69 properties.SetStringProp(RelationalDBProperties::IDENTIFIER_DATA, hashIdentifier); in InitStoreProp()
H A Ddistributeddb_storage_data_connection_test.cpp101 properties.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
102 properties.SetStringProp(KvDBProperties::STORE_ID, "test"); in SetUp()
103 properties.SetStringProp(KvDBProperties::IDENTIFIER_DIR, "test"); in SetUp()
H A Ddistributeddb_storage_resultset_and_json_optimize.cpp68 g_Property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUpTestCase()
69 g_Property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in SetUpTestCase()
70 g_Property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier); in SetUpTestCase()
H A Ddistributeddb_relational_remote_query_test.cpp75 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
76 properties.SetStringProp(RelationalDBProperties::APP_ID, appId); in InitStoreProp()
77 properties.SetStringProp(RelationalDBProperties::USER_ID, userId); in InitStoreProp()
78 properties.SetStringProp(RelationalDBProperties::STORE_ID, g_storeID); in InitStoreProp()
81 properties.SetStringProp(RelationalDBProperties::IDENTIFIER_DATA, hashIdentifier); in InitStoreProp()
H A Ddistributeddb_storage_register_conflict_test.cpp182 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
183 property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in SetUp()
184 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier); in SetUp()
793 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in GetNewConflictStore()
794 property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in GetNewConflictStore()
795 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier); in GetNewConflictStore()
H A Ddistributeddb_storage_query_sync_test.cpp137 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
138 property.SetStringProp(KvDBProperties::STORE_ID, "31"); in SetUp()
139 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, "TestQuerySync"); in SetUp()
155 property.SetStringProp(KvDBProperties::IDENTIFIER_DATA, identifier); in SetUp()
157 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
158 property.SetStringProp(KvDBProperties::STORE_ID, "QuerySyncSchema"); in SetUp()
159 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, identifierHex); in SetUp()
1421 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir);
1422 property.SetStringProp(KvDBProperties::STORE_ID, "31");
1423 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, "TestQuerySync");
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/storage_fuzzer/
H A Dstorage_fuzzer.cpp136 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
137 properties.SetStringProp(RelationalDBProperties::APP_ID, appId); in InitStoreProp()
138 properties.SetStringProp(RelationalDBProperties::USER_ID, userId); in InitStoreProp()
139 properties.SetStringProp(RelationalDBProperties::STORE_ID, STORE_ID); in InitStoreProp()
142 properties.SetStringProp(RelationalDBProperties::IDENTIFIER_DATA, hashIdentifier); in InitStoreProp()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_meta_data_test.cpp65 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
66 properties.SetStringProp(RelationalDBProperties::APP_ID, appId); in InitStoreProp()
67 properties.SetStringProp(RelationalDBProperties::USER_ID, userId); in InitStoreProp()
68 properties.SetStringProp(RelationalDBProperties::STORE_ID, STORE_ID); in InitStoreProp()
71 properties.SetStringProp(RelationalDBProperties::IDENTIFIER_DATA, hashIdentifier); in InitStoreProp()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_auto_launch_test.cpp281 prop.SetStringProp(KvDBProperties::USER_ID, USER_ID1); in GetKvDB()
282 prop.SetStringProp(KvDBProperties::APP_ID, APP_ID1); in GetKvDB()
283 prop.SetStringProp(KvDBProperties::STORE_ID, storeId); in GetKvDB()
286 prop.SetStringProp(KvDBProperties::IDENTIFIER_DATA, identifier); in GetKvDB()
288 prop.SetStringProp(KvDBProperties::IDENTIFIER_DIR, identifierDir); in GetKvDB()
289 prop.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in GetKvDB()
H A Ddistributeddb_interfaces_database_rd_kernel_test.cpp640 property.SetStringProp(KvDBProperties::IDENTIFIER_DATA, identifier);
641 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, hexDir);
642 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir);
648 property.SetStringProp(KvDBProperties::APP_ID, APP_ID);
649 property.SetStringProp(KvDBProperties::USER_ID, USER_ID);
650 property.SetStringProp(KvDBProperties::APP_ID, storeId);
H A Ddistributeddb_interfaces_single_version_result_set_test.cpp104 property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUp()
105 property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in SetUp()
106 property.SetStringProp(KvDBProperties::IDENTIFIER_DIR, g_identifier); in SetUp()
H A Ddistributeddb_interfaces_device_identifier_test.cpp73 g_property.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in SetUpTestCase()
74 g_property.SetStringProp(KvDBProperties::STORE_ID, STORE_ID); in SetUpTestCase()
652 …prop.SetStringProp(KvDBProperties::DATA_DIR, g_property.GetStringProp(KvDBProperties::DATA_DIR, ""…
653 …prop.SetStringProp(KvDBProperties::STORE_ID, g_property.GetStringProp(KvDBProperties::STORE_ID, ""…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Dcloud_db_sync_utils_test.cpp314 properties.SetStringProp(RelationalDBProperties::DATA_DIR, storePath); in InitStoreProp()
315 properties.SetStringProp(RelationalDBProperties::APP_ID, appId); in InitStoreProp()
316 properties.SetStringProp(RelationalDBProperties::USER_ID, userId); in InitStoreProp()
317 properties.SetStringProp(RelationalDBProperties::STORE_ID, storeId); in InitStoreProp()
320 properties.SetStringProp(RelationalDBProperties::IDENTIFIER_DATA, hashIdentifier); in InitStoreProp()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_auto_launch_test.cpp134 prop.SetStringProp(KvDBProperties::USER_ID, USER_ID); in GetProperty()
135 prop.SetStringProp(KvDBProperties::APP_ID, APP_ID); in GetProperty()
136 prop.SetStringProp(KvDBProperties::STORE_ID, storeId); in GetProperty()
138 prop.SetStringProp(KvDBProperties::IDENTIFIER_DATA, identifier); in GetProperty()
140 prop.SetStringProp(KvDBProperties::DUAL_TUPLE_IDENTIFIER_DATA, dualIdentifier); in GetProperty()
142 prop.SetStringProp(KvDBProperties::IDENTIFIER_DIR, identifierDirA); in GetProperty()
143 prop.SetStringProp(KvDBProperties::DATA_DIR, g_testDir); in GetProperty()
222 g_propB.SetStringProp(KvDBProperties::IDENTIFIER_DATA, "");

12