Home
last modified time | relevance | path

Searched refs:hashDevId (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_syncer.cpp103 int SingleVerSyncer::GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const in GetHashDeviceId()
113 return metadata->GetHashDeviceId(clientId, hashDevId); in GetHashDeviceId()
H A Dsingle_ver_syncer.h37 int GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsyncer_proxy.cpp235 int SyncerProxy::GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const in GetHashDeviceId()
240 return syncer_->GetHashDeviceId(clientId, hashDevId); in GetHashDeviceId()
H A Dgeneric_syncer.h107 int GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const override;
H A Dmeta_data.h141 int GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const;
H A Dgeneric_syncer.cpp1101 int GenericSyncer::GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const in GetHashDeviceId()
1104 (void)hashDevId; in GetHashDeviceId()
H A Dmeta_data.cpp611 int Metadata::GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const in GetHashDeviceId()
628 DBCommon::VectorToString(value, hashDevId); in GetHashDeviceId()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store.cpp718 std::string hashDevId = DBCommon::TransferHashString(devId); in TransferSyncCommitDevInfo() local
721 if (commit.deviceInfo.size() == hashDevId.size() + MULTI_VER_TAG_SIZE) { in TransferSyncCommitDevInfo()
723 if (commit.deviceInfo.compare(0, hashDevId.size(), hashDevId) == 0) { in TransferSyncCommitDevInfo()
724 commit.deviceInfo = commit.deviceInfo.substr(hashDevId.size(), MULTI_VER_TAG_SIZE); in TransferSyncCommitDevInfo()
733 commit.deviceInfo.insert(0, hashDevId); in TransferSyncCommitDevInfo()
734 } else if (commit.deviceInfo.size() != hashDevId.size() + MULTI_VER_TAG_SIZE) { in TransferSyncCommitDevInfo()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dsync_able_engine.cpp284 int SyncAbleEngine::GetHashDeviceId(const std::string &clientId, std::string &hashDevId) in GetHashDeviceId() argument
292 return syncer_.GetHashDeviceId(clientId, hashDevId); in GetHashDeviceId()
H A Dsync_able_engine.h52 int GetHashDeviceId(const std::string &clientId, std::string &hashDevId);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_data_inserter.cpp70 void RelationalSyncDataInserter::SetHashDevId(const std::string &hashDevId) in SetHashDevId() argument
72 hashDevId_ = hashDevId; in SetHashDevId()
H A Drelational_sync_data_inserter.h50 void SetHashDevId(const std::string &hashDevId);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dsync_able_kvdb.cpp480 int SyncAbleKvDB::GetHashDeviceId(const std::string &clientId, std::string &hashDevId) in GetHashDeviceId() argument
483 return syncer_.GetHashDeviceId(clientId, hashDevId); in GetHashDeviceId()
489 return syncer_.GetHashDeviceId(clientId, hashDevId); in GetHashDeviceId()
H A Dsync_able_kvdb.h95 int GetHashDeviceId(const std::string &clientId, std::string &hashDevId);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/include/
H A Dsyncer_proxy.h110 int GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const override;
H A Disyncer.h127 virtual int GetHashDeviceId(const std::string &clientId, std::string &hashDevId) const = 0;