/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/ |
H A D | database_oper.cpp | 84 …int dbType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLITE); in GetCtrlFilePrefix() 98 …int dbType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLITE); in RekeyRecover() 233 …int databaseType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_S… in CreateBackupDirForExport() 422 …int databaseType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_T… in InitImportFileInfo() 448 …int dbType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLITE); in UnpackAndCheckImportedFile() 507 …int dbType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLITE); in ClearImportTempFile() 555 …int dbType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLITE); in ClearExportedTempFiles() 571 …int databaseType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::SINGLE_VER_T… in PackExportedDatabase()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/ |
H A D | sqlite_local_kvdb.cpp | 51 …int databaseType = kvDBProp.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_S… in Open() 299 …int databaseType = kvDBProp.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_S… in InitDataBaseOption() 321 …int databaseType = properties.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE… in BackupCurrentDatabase() 341 …int databaseType = properties.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE… in ImportDatabase() 357 …int dbType = properties.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLIT… in RemoveKvDB() 366 …int dbType = properties.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLIT… in GetKvDBSize()
|
/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/src/kv/ |
H A D | kvdb_manager.cpp | 56 …int databaseType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_S… in CreateDataBaseInstance() 392 …int databaseType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_S… in CreateDataBase() 460 …int databaseType = property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_S… in GetDataBase() 702 …int databaseType = properties.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE… in SaveKvDBToCache() 744 …int databaseType = properties.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE… in RemoveKvDBFromCache() 799 …int newType = properties.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLI… in FindKvDBFromCache() 800 int oldType = kvDB->GetMyProperties().GetIntProp(KvDBProperties::DATABASE_TYPE, in FindKvDBFromCache()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | db_properties.h | 68 static constexpr const char *DATABASE_TYPE = "databaseType"; variable
|
/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_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_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()
|
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()
|
/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()
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/common/include/ |
H A D | bundle_active_constant.h | 142 const std::string DATABASE_TYPE[] = {"daily", "weekly", "monthly", "yearly", "event", "usageGroup"}; variable
|
/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()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | storage_engine_manager.cpp | 37 … return property.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLITE); in GetDatabaseType()
|
/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() 144 properties.SetIntProp(KvDBProperties::DATABASE_TYPE, in InitPropWithOption()
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_usage_database.cpp | 52 for (uint32_t i = 0; i < sizeof(DATABASE_TYPE)/sizeof(DATABASE_TYPE[0]); i++) { in BundleActiveUsageDatabase() 53 databaseFiles_.push_back(DATABASE_TYPE[i] + SUFFIX_TYPE[0]); in BundleActiveUsageDatabase() 596 … std::string dbFile = BUNDLE_ACTIVE_DATABASE_DIR + DATABASE_TYPE[databaseType] + SUFFIX_TYPE[i]; in CheckDatabaseFile() 600 …std::string rdbStorePath = BUNDLE_ACTIVE_DATABASE_DIR + DATABASE_TYPE[databaseType] + SUFFIX_TYPE[… in CheckDatabaseFile()
|