/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | db_properties.cpp | 57 void DBProperties::SetIntProp(const std::string &name, int value) in SetIntProp() function in DistributedDB::DBProperties 83 SetIntProp(DBProperties::INSTANCE_ID, instanceId); in SetIdentifier()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | kv_store_delegate_manager.cpp | 88 … properties.SetIntProp(KvDBProperties::DATABASE_TYPE, option.storageEngineType == GAUSSDB_RD ? in InitPropWithNbOption() 100 properties.SetIntProp(KvDBProperties::SECURITY_LABEL, option.secOption.securityLabel); in InitPropWithNbOption() 101 properties.SetIntProp(KvDBProperties::SECURITY_FLAG, option.secOption.securityFlag); in InitPropWithNbOption() 103 … properties.SetIntProp(KvDBProperties::CONFLICT_RESOLVE_POLICY, option.conflictResolvePolicy); in InitPropWithNbOption() 110 properties.SetIntProp(KvDBProperties::COMPRESSION_RATE, in InitPropWithNbOption() 120 properties.SetIntProp(KvDBProperties::INDEX_TYPE, option.rdconfig.type); in InitPropWithNbOption() 144 properties.SetIntProp(KvDBProperties::DATABASE_TYPE, in InitPropWithOption()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_kvdata_storage.cpp | 56 dbProperties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in OpenKvDB() 305 dbProperties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in GetVersion() 441 dbProperties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in BackupCurrentDatabase() 460 dbProperties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in ImportDatabase()
|
H A D | multi_ver_natural_store_commit_storage.cpp | 89 dbProperties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in GetVersion() 120 dbProperties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in Open() 894 dbProperties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in BackupCurrentDatabase() 908 dbProperties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in ImportDatabase()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | db_properties.h | 43 void SetIntProp(const std::string &name, int value);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_sqlite_single_ver_natural_store_test.cpp | 67 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp() 1130 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE);
|
H A D | distributeddb_storage_single_ver_database_oper_test.cpp | 59 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp()
|
H A D | distributeddb_storage_rd_single_ver_storage_engine_test.cpp | 66 g_property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL); in SetUpTestCase()
|
H A D | distributeddb_storage_rd_single_ver_natural_store_test.cpp | 66 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL); in SetUp()
|
H A D | distributeddb_storage_sqlite_single_ver_storage_engine_test.cpp | 77 g_property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUpTestCase()
|
H A D | distributeddb_storage_register_conflict_test.cpp | 185 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp() 796 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in GetNewConflictStore() 797 … property.SetIntProp(KvDBProperties::CONFLICT_RESOLVE_POLICY, DENY_OTHER_DEV_AMEND_CUR_DEV_DATA); in GetNewConflictStore()
|
H A D | distributeddb_storage_memory_single_ver_naturall_store_test.cpp | 59 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp()
|
H A D | distributeddb_storage_rd_register_observer_test.cpp | 164 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL); in SetUp()
|
H A D | distributeddb_storage_data_connection_test.cpp | 100 properties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLITE); in SetUp()
|
H A D | distributeddb_storage_resultset_and_json_optimize.cpp | 71 g_Property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUpTestCase()
|
H A D | distributeddb_storage_query_sync_test.cpp | 141 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp() 142 …property.SetIntProp(KvDBProperties::CONFLICT_RESOLVE_POLICY, ConflictResolvePolicy::DEVICE_COLLABO… in SetUp() 1425 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); 1426 …property.SetIntProp(KvDBProperties::CONFLICT_RESOLVE_POLICY, ConflictResolvePolicy::DEVICE_COLLABO…
|
H A D | distributeddb_storage_subscribe_query_test.cpp | 116 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in CreateAndGetStore() 118 property.SetIntProp(KvDBProperties::CONFLICT_RESOLVE_POLICY, ConflictResolvePolicy::LAST_WIN); in CreateAndGetStore()
|
H A D | distributeddb_storage_rd_single_ver_natural_executor_test.cpp | 65 g_property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL); in SetUpTestCase()
|
H A D | distributeddb_storage_register_observer_test.cpp | 304 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | auto_launch.cpp | 994 propertiesPtr->SetIntProp(DBProperties::AUTO_LAUNCH_ID, in GetAutoLaunchProperties() 1017 … propertiesPtr->SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in GetAutoLaunchKVProperties() 1018 …propertiesPtr->SetIntProp(KvDBProperties::CONFLICT_RESOLVE_POLICY, param.option.conflictResolvePol… in GetAutoLaunchKVProperties() 1021 … propertiesPtr->SetIntProp(KvDBProperties::SECURITY_LABEL, param.option.secOption.securityLabel); in GetAutoLaunchKVProperties() 1022 … propertiesPtr->SetIntProp(KvDBProperties::SECURITY_FLAG, param.option.secOption.securityFlag); in GetAutoLaunchKVProperties() 1026 propertiesPtr->SetIntProp(KvDBProperties::COMPRESSION_RATE, in GetAutoLaunchKVProperties()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_device_identifier_test.cpp | 75 g_property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUpTestCase() 654 …prop.SetIntProp(KvDBProperties::DATABASE_TYPE, g_property.GetIntProp(KvDBProperties::DATABASE_TYPE…
|
H A D | distributeddb_interfaces_single_version_result_set_test.cpp | 107 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp()
|
H A D | distributeddb_interfaces_auto_launch_test.cpp | 290 prop.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in GetKvDB()
|
H A D | distributeddb_interfaces_database_rd_kernel_test.cpp | 644 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | virtual_multi_ver_sync_db_interface.cpp | 156 prop.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in Initialize()
|