Searched refs:hashDeviceId (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/ |
H A D | meta_data.cpp | 211 DeviceID hashDeviceId; in SaveMetaDataValue() local 220 PutMetadataToMap(hashDeviceId, inValue); in SaveMetaDataValue() 226 DeviceID hashDeviceId; in GetMetaDataValue() local 228 GetMetadataFromMap(hashDeviceId, outValue); in GetMetaDataValue() 486 DeviceID hashDeviceId; in GetDbCreateTime() local 489 metadata = metadataMap_[hashDeviceId]; in GetDbCreateTime() 501 DeviceID hashDeviceId; in SetDbCreateTime() local 504 metadata = metadataMap_[hashDeviceId]; in SetDbCreateTime() 522 DeviceID hashDeviceId; in ResetMetaDataAfterRemoveData() local 536 DeviceID hashDeviceId; in GetRemoveDataMark() local [all …]
|
H A D | query_sync_water_mark_helper.cpp | 351 int QuerySyncWaterMarkHelper::GetDeleteWaterMarkFromCache(const DeviceID &hashDeviceId, in GetDeleteWaterMarkFromCache() argument 355 if (deleteSyncCache_.find(hashDeviceId) == deleteSyncCache_.end()) { in GetDeleteWaterMarkFromCache() 358 int errCode = GetDeleteWaterMarkFromDB(hashDeviceId, waterMark); in GetDeleteWaterMarkFromCache() 368 deleteSyncCache_.insert(std::pair<DeviceID, DeleteWaterMark>(hashDeviceId, waterMark)); in GetDeleteWaterMarkFromCache() 370 deleteWaterMark = deleteSyncCache_[hashDeviceId]; in GetDeleteWaterMarkFromCache() 374 int QuerySyncWaterMarkHelper::GetDeleteWaterMarkFromDB(const DeviceID &hashDeviceId, in GetDeleteWaterMarkFromDB() argument 378 DBCommon::StringToVector(hashDeviceId, dbKey); in GetDeleteWaterMarkFromDB() 389 int QuerySyncWaterMarkHelper::SaveDeleteWaterMarkToDB(const DeviceID &hashDeviceId, in SaveDeleteWaterMarkToDB() argument 399 DBCommon::StringToVector(hashDeviceId, dbKey); in SaveDeleteWaterMarkToDB()
|
H A D | query_sync_water_mark_helper.h | 117 int GetDeleteWaterMarkFromCache(const DeviceID &hashDeviceId, DeleteWaterMark &deleteWaterMark); 123 … int SaveDeleteWaterMarkToDB(const DeviceID &hashDeviceId, const DeleteWaterMark &deleteWaterMark); 125 int GetDeleteWaterMarkFromDB(const DeviceID &hashDeviceId, DeleteWaterMark &deleteWaterMark);
|
H A D | meta_data.h | 201 void GetHashDeviceId(const DeviceID &deviceId, DeviceID &hashDeviceId, bool isNeedHash);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_meta_data_test.cpp | 37 void GetMetaDataValue(const std::string &hashDeviceId, MetaDataValue &metaDataValue); 38 void PutMetaDataValue(const std::string &hashDeviceId, MetaDataValue &metaDataValue); 71 void DistributedDBMetaDataTest::GetMetaDataValue(const std::string &hashDeviceId, MetaDataValue &me… in GetMetaDataValue() argument 74 DBCommon::StringToVector(hashDeviceId, key); in GetMetaDataValue() 84 void DistributedDBMetaDataTest::PutMetaDataValue(const std::string &hashDeviceId, MetaDataValue &me… in PutMetaDataValue() argument 87 DBCommon::StringToVector(hashDeviceId, key); in PutMetaDataValue() 293 …std::string hashDeviceId = DBConstant::DEVICEID_PREFIX_KEY + DBCommon::TransferHashString(DEVICE_A… variable 295 GetMetaDataValue(hashDeviceId, metaDataValue); 298 PutMetaDataValue(hashDeviceId, metaDataValue);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_relational_store.cpp | 597 std::string hashDeviceId; in RemoveDeviceData() local 598 int errCode = syncAbleEngine_->GetHashDeviceId(device, hashDeviceId); in RemoveDeviceData() 601 hashDeviceId = device; in RemoveDeviceData() 619 return RemoveDeviceDataInner(hashDeviceId, device, tableName, isNeedHash); in RemoveDeviceData()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store.cpp | 943 std::string hashDeviceId; in RemoveDeviceData() local 947 int errCode = GetHashDeviceId(deviceName, hashDeviceId); in RemoveDeviceData() 958 hashDeviceId = DBCommon::TransferHashString(deviceName); in RemoveDeviceData() 961 return RemoveDeviceDataInner(hashDeviceId, isNeedNotify); in RemoveDeviceData()
|