/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/ |
H A D | published_data_subscriber_manager.cpp | 51 publishedDataCache_.ComputeIfPresent(key, [&firstCallerTokenId](const auto &key,
in Delete() 86 publishedDataCache_.ComputeIfPresent(key, [&firstCallerTokenId](const auto &key,
in Disable() 102 publishedDataCache_.ComputeIfPresent(key, [&firstCallerTokenId](const auto &key,
in Enable() 180 publishedDataCache_.ComputeIfPresent(key, [&count](const auto &key, std::vector<ObserverNode> &value) {
in GetCount() 204 publishedDataCache_.ComputeIfPresent(pkey, [](const auto &key, std::vector<ObserverNode> &value) {
in SetObserversNotifiedOnEnabled()
|
H A D | rdb_subscriber_manager.cpp | 146 rdbCache_.ComputeIfPresent(key, [&firstCallerTokenId, this](const auto &key,
in Delete() 189 rdbCache_.ComputeIfPresent(key, [&firstCallerTokenId, this](const auto &key,
in Disable() 204 auto result = rdbCache_.ComputeIfPresent(key, [&context, this](const auto &key, std::vector<ObserverNode> &value) {
in Enable() 295 rdbCache_.ComputeIfPresent(key, [&rdbPath, &version, &userId, this](const Key &key, auto &val) {
in EmitByKey()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/store/ |
H A D | auto_cache.cpp | 106 stores_.ComputeIfPresent( in GetStoresIfPresent() 151 stores_.ComputeIfPresent(tokenId, in CloseStore() 168 stores_.ComputeIfPresent(tokenId, [this, &storeIds](auto &key, auto &delegates) { in CloseStore() 203 stores_.ComputeIfPresent(tokenId, [&storeId, &watchers](auto &key, auto &stores) { in SetObserver() 234 disables_.ComputeIfPresent(tokenId, [&storeId](auto key, std::set<std::string> &stores) { in Enable()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | app_connect_manager.cpp | 55 blockCache_.ComputeIfPresent(bundleName, [&bundleName](const std::string &key, BlockData<bool> *value) {
in Notify()
|
H A D | extension_ability_manager.cpp | 67 connectCallbackCache_.ComputeIfPresent(bundleName, in Disconnect()
|
H A D | rdb_delegate.cpp | 245 resultSetCallingPids.ComputeIfPresent(callingPid, [](const uint32_t &, int32_t &value) { in Query()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_silent_config.cpp | 75 enableSilentUris_.ComputeIfPresent(callerTokenId, [&isEnable, &status, &uri](const uint32_t &key, in CheckExistEnableSilentUris()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/dump/ |
H A D | dump_manager.cpp | 76 handlers_.ComputeIfPresent(infoName, [ptr](const auto &key, auto &value) { in RemoveHandler()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_service_proxy.cpp | 262 observers_.ComputeIfPresent(name, [observer](const auto &key, std::list<ObserverParam> &value) { in UnSubscribe() 430 syncObservers_.ComputeIfPresent(name, [this, ¶m, &status, observer](const auto &storeName, auto &observers) { in UnregisterAutoSyncCallback() 466 observers_.ComputeIfPresent(name, [&origin, &primaries, info = std::move(changeInfo)]( in OnDataChange() 478 syncCallbacks_.ComputeIfPresent(seqNum, [&result] (const auto& key, const AsyncDetail& callback) { in OnSyncComplete() 490 syncObservers_.ComputeIfPresent(storeName, [&result](const auto &key, const auto &observers) { in OnSyncComplete()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | kvdb_notifier_client.cpp | 49 cloudSyncCallbacks_.ComputeIfPresent(seqNum, [&detail](const auto &key, const AsyncDetail &callback) { in SyncCompleted()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
H A D | softbus_adapter_standard.cpp | 329 connects_.ComputeIfPresent(deviceId.deviceId, [&mtuSize](auto, auto &connects) { in GetMtuSize() 350 connects_.ComputeIfPresent(deviceId.deviceId, [&interval](auto, auto &connects) { in GetTimeout() 437 auto ret = dataChangeListeners_.ComputeIfPresent(pipeInfo.pipeId, in NotifyDataListeners()
|
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/ |
H A D | js_distributedobjectstore.cpp | 101 return callbacks.ComputeIfPresent(sessionId, execute);
in DelCallback() 351 watchResult = g_changeCallBacks.ComputeIfPresent(objectId, [&](const std::string &key, std::list<napi_ref> &lists) {
in RestoreWatchers() 365 watchResult = g_statusCallBacks.ComputeIfPresent(objectId, [&](const std::string &key, std::list<napi_ref> &lists) {
in RestoreWatchers()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_impl.cpp | 183 syncAgents_.ComputeIfPresent(tokenId, [&appId, &storeId](auto &key, SyncAgent &syncAgent) { in Delete() 352 syncAgents_.ComputeIfPresent(IPCSkeleton::GetCallingTokenID(), [&appId](const auto &key, SyncAgent &value) { in UnregServiceNotifier() 407 syncAgents_.ComputeIfPresent(tokenId, [&destroyed](auto &key, SyncAgent &value) { in UnsubscribeSwitchData() 465 syncAgents_.ComputeIfPresent(tokenId, [&appId, &storeId, &syncParam](auto &key, SyncAgent &value) { in GetSyncParam() 571 syncAgents_.ComputeIfPresent(tokenId, [&appId, &storeId, &observer, &destroyed](auto &key, SyncAgent &agent) { in Unsubscribe() 1137 syncAgents_.ComputeIfPresent(meta.tokenId, [¬ifier](auto &key, SyncAgent &agent) { in DoComplete() 1159 syncAgents_.ComputeIfPresent(IPCSkeleton::GetCallingTokenID(), [&delay, &storeId](auto &, SyncAgent &agent) { in GetSyncDelayTime() 1330 syncAgents_.ComputeIfPresent(tokenId, [&storeId, &watchers](auto &, SyncAgent &agent) { in GetWatchers()
|
H A D | user_delegate.cpp | 135 deviceUser_.ComputeIfPresent(userMetaData.deviceId, [&userMetaData](const auto &, std::map<int, bool> &users) { in InitLocalUserMeta()
|
/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/ |
H A D | published_data_subscriber_manager.cpp | 250 lastChangeNodeMap_.ComputeIfPresent(key, [&node](const Key &, PublishedDataChangeNode &value) { 266 lastChangeNodeMap_.ComputeIfPresent(key, [obsVector = obsVector, &results, &num](const Key &,
|
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_factory.cpp | 90 stores_.ComputeIfPresent(appId, [&storeId, &status, isForce](auto &, auto &values) { in Close()
|
/foundation/distributeddatamgr/pasteboard/services/core/src/ |
H A D | pasteboard_service.cpp | 359 clips_.ComputeIfPresent(appInfo.userId, [dataId, recordId, value](auto, auto &data) { in GetRecordValueByType() 838 clips_.ComputeIfPresent(appInfo.userId, [&data, &isNotify, &isDelayRecordPadding](auto &key, auto &value) { in GetLocalData() 857 delayGetters_.ComputeIfPresent(appInfo.userId, [this, &data](auto, auto &delayGetter) { in GetDelayPasteData() 1004 p2pMap_.ComputeIfPresent(deviceId, [pasteId, deviceId, this](const auto &key, auto &value) { in PasteComplete() 1005 value.ComputeIfPresent(pasteId, [deviceId](const auto &key, auto &value) { in PasteComplete() 1450 clips_.ComputeIfPresent(appInfo.userId, [this](auto, auto &clip) { in RemovePasteData() 1454 delayGetters_.ComputeIfPresent(appInfo.userId, [](auto, auto &delayGetter) { in RemovePasteData() 1461 entryGetters_.ComputeIfPresent(appInfo.userId, [](auto, auto &entryGetter) { in RemovePasteData() 1674 globalShareOptions_.ComputeIfPresent(tokenId, [&count](const uint32_t &key, ShareOption &value) { in RemoveGlobalShareOption() 1698 globalShareOptions_.ComputeIfPresent(tokenI in GetGlobalShareOption() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_impl.cpp | 191 syncAgents_.ComputeIfPresent(tokenId, [pid, &destroyed](auto &key, SyncAgents &agents) { in OnAppExit() 327 syncAgents_.ComputeIfPresent(tokenId, [¬ifier, pid](auto, SyncAgents &syncAgents) { in OnAsyncComplete() 357 syncAgents_.ComputeIfPresent(tokenId, [&watchers](auto, SyncAgents &syncAgents) { in GetWatchers() 371 syncAgents_.ComputeIfPresent(tokenId, [&storeName, ¬ifiers](auto, SyncAgents &syncAgents) { in GetCallbacks() 606 syncAgents_.ComputeIfPresent(tokenId, [pid, &destroyed](auto, SyncAgents &agents) { 651 syncAgents_.ComputeIfPresent(tokenId, [pid, &storeName](auto, SyncAgents &agents) {
|
H A D | rdb_general_store.cpp | 543 tasks_->ComputeIfPresent(syncId, [executor = executor_](SyncId syncId, const FinishTask &task) { in Sync() 1108 task->ComputeIfPresent(syncId, [executor = executor_, this](SyncId syncId, FinishTask &task) { 1115 task->ComputeIfPresent(syncId, [&cb, executor = executor_](SyncId syncId, const FinishTask &task) { 1173 task->ComputeIfPresent(syncId, [&cb, &progress, executor](SyncId syncId, FinishTask &finishTask) {
|
/foundation/ability/ability_runtime/services/dataobsmgr/include/ |
H A D | concurrent_map.h | 232 bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &action) in ComputeIfPresent() function in OHOS::ConcurrentMap
|
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | concurrent_map.h | 245 bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &action) in ComputeIfPresent() function in OHOS::ConcurrentMap
|
/foundation/distributeddatamgr/pasteboard/framework/framework/include/common/ |
H A D | concurrent_map.h | 208 bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &action) in ComputeIfPresent() function in OHOS::ConcurrentMap
|
/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/ |
H A D | concurrent_map.h | 232 bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &action) in ComputeIfPresent() function in OHOS::ConcurrentMap
|
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/ |
H A D | datashare_helper.cpp | 354 return observers_.ComputeIfPresent(observer.get(), [&uri](auto &key, auto &value) { in DeleteObserver()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_factory.cpp | 132 stores_.ComputeIfPresent(appId, [&storeId, &status, isForce](auto &, auto &values) { in Close()
|