Home
last modified time | relevance | path

Searched refs:SetIntProp (Results 1 – 25 of 34) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Ddb_properties.cpp57 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 Dkv_store_delegate_manager.cpp88 … 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 Dmulti_ver_kvdata_storage.cpp56 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 Dmulti_ver_natural_store_commit_storage.cpp89 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 Ddb_properties.h43 void SetIntProp(const std::string &name, int value);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_sqlite_single_ver_natural_store_test.cpp67 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 Ddistributeddb_storage_single_ver_database_oper_test.cpp59 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp()
H A Ddistributeddb_storage_rd_single_ver_storage_engine_test.cpp66 g_property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL); in SetUpTestCase()
H A Ddistributeddb_storage_rd_single_ver_natural_store_test.cpp66 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL); in SetUp()
H A Ddistributeddb_storage_sqlite_single_ver_storage_engine_test.cpp77 g_property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUpTestCase()
H A Ddistributeddb_storage_register_conflict_test.cpp185 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 Ddistributeddb_storage_memory_single_ver_naturall_store_test.cpp59 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp()
H A Ddistributeddb_storage_rd_register_observer_test.cpp164 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL); in SetUp()
H A Ddistributeddb_storage_data_connection_test.cpp100 properties.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLITE); in SetUp()
H A Ddistributeddb_storage_resultset_and_json_optimize.cpp71 g_Property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUpTestCase()
H A Ddistributeddb_storage_query_sync_test.cpp141 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 Ddistributeddb_storage_subscribe_query_test.cpp116 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 Ddistributeddb_storage_rd_single_ver_natural_executor_test.cpp65 g_property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL); in SetUpTestCase()
H A Ddistributeddb_storage_register_observer_test.cpp304 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 Dauto_launch.cpp994 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 Ddistributeddb_interfaces_device_identifier_test.cpp75 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 Ddistributeddb_interfaces_single_version_result_set_test.cpp107 property.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in SetUp()
H A Ddistributeddb_interfaces_auto_launch_test.cpp290 prop.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_TYPE_SQLITE); in GetKvDB()
H A Ddistributeddb_interfaces_database_rd_kernel_test.cpp644 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 Dvirtual_multi_ver_sync_db_interface.cpp156 prop.SetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::MULTI_VER_TYPE_SQLITE); in Initialize()

12