/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/ |
H A D | multi_ver_database_oper.cpp | 43 return ExecuteRekey(passwd, multiVerNaturalStore_->GetDbProperties()); in Rekey() 53 return ExecuteImport(filePath, passwd, multiVerNaturalStore_->GetDbProperties()); in Import() 62 return ExecuteExport(filePath, passwd, multiVerNaturalStore_->GetDbProperties()); in Export() 69 multiVerNaturalStore_->GetDbProperties().GetPassword(cipherType, cachePasswd); in RekeyPreHandle() 82 int errCode = GetCtrlFilePrefix(multiVerNaturalStore_->GetDbProperties(), filePrefix); in BackupDb() 108 int errCode = RekeyRecover(multiVerNaturalStore_->GetDbProperties()); in CloseStorages() 122 int errCode = multiVerNaturalStore_->InitStorages(multiVerNaturalStore_->GetDbProperties()); in RekeyPostHandle() 126 return RekeyRecover(multiVerNaturalStore_->GetDbProperties()); in RekeyPostHandle() 184 multiVerNaturalStore_->GetDbProperties().GetPassword(cipherType, passwd); in BackupCurrentDatabase() 257 return multiVerNaturalStore_->InitStorages(multiVerNaturalStore_->GetDbProperties()); in ImportPostHandle() [all …]
|
H A D | local_database_oper.cpp | 37 return ExecuteRekey(passwd, localKvDb_->GetDbProperties()); in Rekey() 46 return ExecuteImport(filePath, passwd, localKvDb_->GetDbProperties()); in Import() 51 return ExecuteExport(filePath, passwd, localKvDb_->GetDbProperties()); in Export() 58 localKvDb_->GetDbProperties().GetPassword(cipherType, cachePasswd); in RekeyPreHandle() 77 int errCode = GetCtrlFilePrefix(localKvDb_->GetDbProperties(), filePrefix); in BackupDb() 93 localKvDb_->GetDbProperties().GetPassword(cipherType, oldPasswd); in BackupDb() 102 int errCode = RekeyRecover(localKvDb_->GetDbProperties()); in CloseStorages() 119 return localKvDb_->InitDatabaseContext(localKvDb_->GetDbProperties()); in RekeyPostHandle() 130 localKvDb_->GetDbProperties().GetPassword(cipherType, currPasswd); in ExportAllDatabases() 185 localKvDb_->GetDbProperties().GetPassword(cipherType, passwd); in ImportUnpackedDatabase() [all …]
|
H A D | single_ver_database_oper.cpp | 40 int mainSecLabel = singleVerNaturalStore_->GetDbProperties().GetSecLabel(); in SetSecOpt() 47 option.securityLabel = singleVerNaturalStore_->GetDbProperties().GetSecLabel(); in SetSecOpt() 48 option.securityFlag = singleVerNaturalStore_->GetDbProperties().GetSecFlag(); in SetSecOpt() 62 return ExecuteRekey(passwd, singleVerNaturalStore_->GetDbProperties()); in Rekey() 71 return ExecuteImport(filePath, passwd, singleVerNaturalStore_->GetDbProperties()); in Import() 80 return ExecuteExport(filePath, passwd, singleVerNaturalStore_->GetDbProperties()); in Export() 92 singleVerNaturalStore_->GetDbProperties().GetPassword(cipherType, cachePasswd); in RekeyPreHandle() 150 int errCode = RekeyRecover(singleVerNaturalStore_->GetDbProperties()); in CloseStorages() 183 singleVerNaturalStore_->GetDbProperties().GetPassword(cipherType, currPasswd); in ExportMainDB() 336 singleVerNaturalStore_->GetDbProperties().GetPassword(cipherType, passwd); in ImportUnpackedMainDatabase() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | sync_able_engine.cpp | 118 …bool isSyncDualTupleMode = store_->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MOD… in StartSyncerWithNoLock() 119 std::string label = store_->GetDbProperties().GetStringProp(DBProperties::IDENTIFIER_DATA, ""); in StartSyncerWithNoLock() 171 …bool isSyncDualTupleMode = store_->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MOD… in UserChangeHandle() 181 … bool isNeedActive = RuntimeContext::GetInstance()->IsSyncerNeedActive(store_->GetDbProperties()); in UserChangeHandle() 201 std::string label = store_->GetDbProperties().GetStringProp(DBProperties::IDENTIFIER_DATA, ""); in ChangeUserListener() 211 …bool isSyncDualTupleMode = store_->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TUPLE_MOD… in SetSyncModuleActive() 217 … isSyncNeedActive_ = RuntimeContext::GetInstance()->IsSyncerNeedActive(store_->GetDbProperties()); in SetSyncModuleActive()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/ |
H A D | single_ver_syncer.cpp | 29 … std::string userId = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::USER_ID, ""); in RemoteDeviceOffline() 30 std::string appId = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::APP_ID, ""); in RemoteDeviceOffline() 31 …std::string storeId = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""… in RemoteDeviceOffline()
|
H A D | single_ver_data_sync_utils.cpp | 26 param.appId = storage->GetDbProperties().GetStringProp(DBProperties::APP_ID, ""); in FillPermissionCheckParam() 27 param.userId = storage->GetDbProperties().GetStringProp(DBProperties::USER_ID, ""); in FillPermissionCheckParam() 28 param.storeId = storage->GetDbProperties().GetStringProp(DBProperties::STORE_ID, ""); in FillPermissionCheckParam() 29 param.instanceId = storage->GetDbProperties().GetIntProp(DBProperties::INSTANCE_ID, 0); in FillPermissionCheckParam() 222 bool memory = storage->GetDbProperties().GetBoolProp(KvDBProperties::MEMORY_MODE, false); in CheckPermitReceiveData() 526 storage.GetDbProperties().GetStringProp(DBProperties::USER_ID, ""), in RecordClientId() 527 storage.GetDbProperties().GetStringProp(DBProperties::APP_ID, ""), in RecordClientId() 528 storage.GetDbProperties().GetStringProp(DBProperties::STORE_ID, "") in RecordClientId()
|
H A D | single_ver_kv_syncer.cpp | 127 … std::string userId = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::USER_ID, ""); in RemoteDataChanged() 128 std::string appId = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::APP_ID, ""); in RemoteDataChanged() 129 …std::string storeId = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""… in RemoteDataChanged()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | sync_able_kvdb.cpp | 130 …bool isSyncDualTupleMode = syncInterface->GetDbProperties().GetBoolProp(KvDBProperties::SYNC_DUAL_… in SetSyncModuleActive() 137 …cNeedActive_ = RuntimeContext::GetInstance()->IsSyncerNeedActive(syncInterface->GetDbProperties()); in SetSyncModuleActive() 184 …bool isSyncDualTupleMode = syncInterface->GetDbProperties().GetBoolProp(KvDBProperties::SYNC_DUAL_… in StartSyncerWithNoLock() 186 …std::string label = syncInterface->GetDbProperties().GetStringProp(DBProperties::IDENTIFIER_DATA, … in StartSyncerWithNoLock() 259 bool isSyncDualTupleMode = syncInterface->GetDbProperties(). in UserChangeHandle() 270 …isNeedActive = RuntimeContext::GetInstance()->IsSyncerNeedActive(syncInterface->GetDbProperties()); in UserChangeHandle() 292 …std::string label = syncInterface->GetDbProperties().GetStringProp(DBProperties::IDENTIFIER_DATA, … in ChangeUserListener() 436 … bool localOnly = syncInterface->GetDbProperties().GetBoolProp(KvDBProperties::LOCAL_ONLY, false); in SetSyncRetry()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | sync_generic_interface.h | 151 dbInfo.appId = GetDbProperties().GetStringProp(DBProperties::APP_ID, ""); in GetDBInfo() 152 dbInfo.userId = GetDbProperties().GetStringProp(DBProperties::USER_ID, ""); in GetDBInfo() 153 dbInfo.storeId = GetDbProperties().GetStringProp(DBProperties::STORE_ID, ""); in GetDBInfo()
|
H A D | isync_interface.h | 69 virtual const DBProperties &GetDbProperties() const = 0;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/ |
H A D | sync_task_context.cpp | 761 std::string appId = syncInterface_->GetDbProperties().GetStringProp(DBProperties::APP_ID, ""); in RunPermissionCheck() 762 std::string userId = syncInterface_->GetDbProperties().GetStringProp(DBProperties::USER_ID, ""); in RunPermissionCheck() 763 … std::string storeId = syncInterface_->GetDbProperties().GetStringProp(DBProperties::STORE_ID, ""); in RunPermissionCheck() 764 int32_t instanceId = syncInterface_->GetDbProperties().GetIntProp(DBProperties::INSTANCE_ID, 0); in RunPermissionCheck()
|
H A D | remote_executor.cpp | 225 std::string appId = storage->GetDbProperties().GetStringProp(DBProperties::APP_ID, ""); in CheckPermissions() 226 std::string userId = storage->GetDbProperties().GetStringProp(DBProperties::USER_ID, ""); in CheckPermissions() 227 std::string storeId = storage->GetDbProperties().GetStringProp(DBProperties::STORE_ID, ""); in CheckPermissions() 228 int32_t instanceId = syncInterface_->GetDbProperties().GetIntProp(DBProperties::INSTANCE_ID, 0); in CheckPermissions() 520 …SetSendConfigParam(syncInterface->GetDbProperties(), target, false, REMOTE_EXECUTOR_SEND_TIME_OUT,… in SendRequestMessage() 606 SetSendConfigParam(storage->GetDbProperties(), device, false, SEND_TIME_OUT, sendConfig); in ResponseStart()
|
H A D | generic_syncer.cpp | 450 …bool isSyncDualTupleMode = syncInterface->GetDbProperties().GetBoolProp(DBProperties::SYNC_DUAL_TU… in CheckSyncActive() 750 …bool isSyncDualTupleMode = syncInterface_->GetDbProperties().GetBoolProp(KvDBProperties::SYNC_DUAL… in GetOnlineDevices() 753 …identifier = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::DUAL_TUPLE_IDENTIFIER… in GetOnlineDevices() 756 … identifier = syncInterface_->GetDbProperties().GetStringProp(KvDBProperties::IDENTIFIER_DATA, ""); in GetOnlineDevices() 1093 … bool localOnly = syncInterface->GetDbProperties().GetBoolProp(KvDBProperties::LOCAL_ONLY, false); in IsNeedActive()
|
H A D | commit_history_sync.cpp | 712 std::string appId = storagePtr_->GetDbProperties().GetStringProp(KvDBProperties::APP_ID, ""); in RunPermissionCheck() 713 std::string userId = storagePtr_->GetDbProperties().GetStringProp(KvDBProperties::USER_ID, ""); in RunPermissionCheck() 714 … std::string storeId = storagePtr_->GetDbProperties().GetStringProp(KvDBProperties::STORE_ID, ""); in RunPermissionCheck()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/ |
H A D | sqlite_local_kvdb.h | 64 const KvDBProperties &GetDbProperties() const;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | virtual_multi_ver_sync_db_interface.h | 95 const KvDBProperties &GetDbProperties() const override;
|
H A D | virtual_relational_ver_sync_db_interface.h | 84 const RelationalDBProperties &GetDbProperties() const override;
|
H A D | virtual_multi_ver_sync_db_interface.cpp | 228 const KvDBProperties &VirtualMultiVerSyncDBInterface::GetDbProperties() const in GetDbProperties() function in DistributedDB::VirtualMultiVerSyncDBInterface
|
H A D | virtual_single_ver_sync_db_Interface.h | 101 const KvDBProperties &GetDbProperties() const override;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_natural_store.h | 102 const KvDBProperties &GetDbProperties() const override;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/ |
H A D | time_helper.cpp | 144 SetSendConfigParam(storage_->GetDbProperties(), dstTarget, false, SEND_TIME_OUT, sendConf); in SetSendConfig()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_natural_store.h | 149 const KvDBProperties &GetDbProperties() const override;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store_extend.cpp | 317 needCompressOnSync = GetDbProperties().GetBoolProp(KvDBProperties::COMPRESS_ON_SYNC, false); in GetCompressionOption() 318 compressionRate = GetDbProperties().GetIntProp(KvDBProperties::COMPRESSION_RATE, in GetCompressionOption()
|
H A D | sqlite_single_ver_natural_store.h | 137 const KvDBProperties &GetDbProperties() const override;
|
H A D | sqlite_single_ver_natural_store.cpp | 262 bool isMemDb = GetDbProperties().GetBoolProp(KvDBProperties::MEMORY_MODE, false); in GetSecurityOption() 272 option.securityLabel = GetDbProperties().GetSecLabel(); in GetSecurityOption() 273 option.securityFlag = GetDbProperties().GetSecFlag(); in GetSecurityOption() 1735 const KvDBProperties &SQLiteSingleVerNaturalStore::GetDbProperties() const in GetDbProperties() function in DistributedDB::SQLiteSingleVerNaturalStore
|