/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store_extend.cpp | 461 int SQLiteSingleVerNaturalStore::RemoveDeviceDataInner(const std::string &hashDev, bool isNeedNotif… in RemoveDeviceDataInner() argument 477 if (hashDev.empty()) { in RemoveDeviceDataInner() 484 removeDevices.insert(hashDev); in RemoveDeviceDataInner() 499 errCode = RemoveDeviceDataInCacheMode(hashDev, isNeedNotify); in RemoveDeviceDataInner() 501 errCode = RemoveDeviceDataNormally(hashDev, isNeedNotify); in RemoveDeviceDataInner() 510 int SQLiteSingleVerNaturalStore::RemoveDeviceDataInner(const std::string &hashDev, ClearMode mode) in RemoveDeviceDataInner() argument 524 errCode = handle->RemoveDeviceData(hashDev, mode); in RemoveDeviceDataInner() 538 int SQLiteSingleVerNaturalStore::RemoveDeviceDataInner(const std::string &hashDev, const std::strin… in RemoveDeviceDataInner() argument 553 errCode = handle->RemoveDeviceData(hashDev, user, mode); in RemoveDeviceDataInner()
|
H A D | sqlite_single_ver_natural_store.h | 277 int RemoveDeviceDataInCacheMode(const std::string &hashDev, bool isNeedNotify) const; 279 int RemoveDeviceDataNormally(const std::string &hashDev, bool isNeedNotify); 306 int RemoveDeviceDataInner(const std::string &hashDev, bool isNeedNotify); 308 int RemoveDeviceDataInner(const std::string &hashDev, ClearMode mode); 310 int RemoveDeviceDataInner(const std::string &hashDev, const std::string &user, ClearMode mode);
|
H A D | sqlite_single_ver_storage_executor_extend.cpp | 290 auto hashDev = DBCommon::TransferHashString(device); in GetEntries() local 292 DBCommon::StringToVector(hashDev, blobDev); in GetEntries()
|
H A D | sqlite_single_ver_storage_executor.h | 56 int GetAllSyncedEntries(const std::string &hashDev, std::vector<Entry> &entries) const; 73 …int RemoveDeviceDataInCacheMode(const std::string &hashDev, bool isNeedNotify, uint64_t recordVers…
|
H A D | sqlite_single_ver_storage_executor_cache.cpp | 80 int SQLiteSingleVerStorageExecutor::RemoveDeviceDataInCacheMode(const std::string &hashDev, in RemoveDeviceDataInCacheMode() argument 84 std::vector<uint8_t> devVect(hashDev.begin(), hashDev.end()); in RemoveDeviceDataInCacheMode()
|
H A D | sqlite_single_ver_natural_store.cpp | 979 int SQLiteSingleVerNaturalStore::RemoveDeviceDataInCacheMode(const std::string &hashDev, bool isNee… in RemoveDeviceDataInCacheMode() argument 989 errCode = handle->RemoveDeviceDataInCacheMode(hashDev, isNeedNotify, recordVersion); in RemoveDeviceDataInCacheMode() 997 int SQLiteSingleVerNaturalStore::RemoveDeviceDataNormally(const std::string &hashDev, bool isNeedNo… in RemoveDeviceDataNormally() argument 1008 handle->GetAllSyncedEntries(hashDev, entries); in RemoveDeviceDataNormally() 1012 errCode = handle->RemoveDeviceData(hashDev); in RemoveDeviceDataNormally()
|
H A D | sqlite_cloud_kv_executor_utils.cpp | 1147 std::string hashDev; in GetLocalCloudVersionInner() local 1148 errCode = RuntimeContext::GetInstance()->GetLocalIdentity(hashDev); in GetLocalCloudVersionInner() 1152 std::string tempDev = DBCommon::TransferHashString(hashDev); in GetLocalCloudVersionInner() 1153 hashDev = DBCommon::TransferStringToHex(tempDev); in GetLocalCloudVersionInner() 1154 std::string key = CloudDbConstant::CLOUD_VERSION_RECORD_PREFIX_KEY + hashDev; in GetLocalCloudVersionInner()
|
H A D | sqlite_single_ver_storage_executor.cpp | 1402 int SQLiteSingleVerStorageExecutor::GetAllSyncedEntries(const std::string &hashDev, in GetAllSyncedEntries() argument 1407 if (hashDev.empty()) { in GetAllSyncedEntries() 1425 std::vector<uint8_t> devVect(hashDev.begin(), hashDev.end()); in GetAllSyncedEntries()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_storage_executor.h | 74 int GetAllSyncedEntries(const std::string &hashDev, std::vector<Entry> &entries) const; 91 …int RemoveDeviceDataInCacheMode(const std::string &hashDev, bool isNeedNotify, uint64_t recordVers…
|
H A D | rd_single_ver_storage_executor.cpp | 454 int RdSingleVerStorageExecutor::GetAllSyncedEntries(const std::string &hashDev, std::vector<Entry> … in GetAllSyncedEntries() argument 490 int RdSingleVerStorageExecutor::RemoveDeviceDataInCacheMode(const std::string &hashDev, bool isNeed… in RemoveDeviceDataInCacheMode() argument
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_relational_store.cpp | 833 …SQLiteRelationalStore::GetDevTableName(const std::string &device, const std::string &hashDev) const in GetDevTableName() 840 devTableName = hashDev; in GetDevTableName() 866 std::string hashDev; in RemoveDeviceDataInner() local 871 hashDev = mappingDev; in RemoveDeviceDataInner() 875 hashDev = DBCommon::TransferHashString(mappingDev); in RemoveDeviceDataInner() 876 hashHexDev = DBCommon::TransferStringToHex(hashDev); in RemoveDeviceDataInner() 880 int errCode = syncAbleEngine_->EraseDeviceWaterMark(hashDev, false, tableName); in RemoveDeviceDataInner()
|
H A D | sqlite_relational_store.h | 137 std::string GetDevTableName(const std::string &device, const std::string &hashDev) const;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_sqlite_single_ver_natural_executor_test.cpp | 463 std::string hashDev = DBCommon::TransferHashString("device1"); variable 464 EXPECT_EQ(executor->RemoveDeviceDataInCacheMode(hashDev, true, 0u), E_OK); 890 std::string hashDev = DBCommon::TransferHashString("device1"); variable 891 EXPECT_EQ(g_handle->RemoveDeviceDataInCacheMode(hashDev, true, 0u), SQL_STATE_ERR);
|
H A D | distributeddb_storage_rd_single_ver_natural_executor_test.cpp | 477 std::string hashDev = DBCommon::TransferHashString("device1"); variable 478 EXPECT_EQ(g_handle->RemoveDeviceDataInCacheMode(hashDev, true, 0u), -E_NOT_SUPPORT);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/ |
H A D | meta_data.cpp | 688 for (auto &[hashDev, metaDataValue] : metadataMap_) { in ClearAllMetaDataValue() 702 DBCommon::StringToVector(hashDev, key); in ClearAllMetaDataValue()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_syncer_extend.cpp | 530 std::string hashDev; in PrepareAndDownload() local 531 int errCode = RuntimeContext::GetInstance()->GetLocalIdentity(hashDev); in PrepareAndDownload()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_relational_test.cpp | 1692 …const std::string hashDev = DBCommon::TransferStringToHex(DBCommon::TransferHashString(deviceName)… variable 1695 EXPECT_EQ(devTableName, DBConstant::RELATIONAL_PREFIX + tableName + "_" + hashDev);
|