Home
last modified time | relevance | path

Searched refs:remotes_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dkvdb_notifier_client.cpp68 if (!remotes_.Contains(clientUuid)) { in OnRemoteChange()
69 remotes_.InsertOrAssign(clientUuid, std::make_pair<bool, bool>(true, true)); in OnRemoteChange()
71remotes_.Compute(clientUuid, [isChange = changed, type](const auto &key, auto &value) -> bool { in OnRemoteChange()
98 auto [exist, value] = remotes_.Find(deviceId); in IsChanged()
H A Dkvdb_notifier_client.h53 ConcurrentMap<std::string, std::pair<bool, bool>> remotes_; variable
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_server_service.cpp877 if (remote != remotes_.end()) { in OnExchangeMtuEvent()
910 if (remote != remotes_.end()) { in OnReadCharacteristicValueEvent()
953 if (remote != remotes_.end()) { in OnWriteCharacteristicEvent()
992 if (remote != remotes_.end()) { in OnDescriptorReadEvent()
1032 if (remote != remotes_.end()) { in OnDescriptorWriteEvent()
1065 if (remote != remotes_.end()) { in OnIndicationEvent()
1111 if (remote != remotes_.end()) { in OnDisconnect()
1116 for (auto it = remotes_.begin(); it != remotes_.end(); it++) { in OnDisconnect()
1118 remotes_.erase(it); in OnDisconnect()
1250 for (auto &remote : remotes_) { in GetValidDeviceConnetionHandle()
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/src/
H A Ddevice_matrix.cpp212 auto it = remotes_.find(device); in OnBroadcast()
213 if (it != remotes_.end()) { in OnBroadcast()
217 remotes_.insert_or_assign(device, mask); in OnBroadcast()
485 auto it = remotes_.find(device); in OnExchanged()
486 if (it == remotes_.end()) { in OnExchanged()
582 auto it = remotes_.find(device); in GetRemoteMask()
583 if (it == remotes_.end()) { in GetRemoteMask()
601 for (const auto &[device, mask] : remotes_) { in GetRemoteDynamicMask()
650 remotes_.clear(); in Clear()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/include/
H A Ddevice_matrix.h158 std::map<std::string, Mask> remotes_; variable