Home
last modified time | relevance | path

Searched refs:proxyMap_ (Results 1 – 6 of 6) sorted by relevance

/base/location/services/location_locator/locator/source/
Dlocator_ability.cpp67 proxyMap_ = std::make_shared<std::map<std::string, sptr<IRemoteObject>>>(); in LocatorAbility()
249 return proxyMap_; in GetProxyMap()
262 if (proxyMap_ == nullptr) { in InitSaAbility()
268 proxyMap_->insert(make_pair(GNSS_ABILITY, objectGnss)); in InitSaAbility()
277 proxyMap_->insert(make_pair(NETWORK_ABILITY, objectNetwork)); in InitSaAbility()
286 proxyMap_->insert(make_pair(PASSIVE_ABILITY, objectPassive)); in InitSaAbility()
296 auto objectGnss = proxyMap_->find(GNSS_ABILITY); in CheckSaValid()
297 if (objectGnss == proxyMap_->end()) { in CheckSaValid()
302 auto objectNetwork = proxyMap_->find(NETWORK_ABILITY); in CheckSaValid()
303 if (objectNetwork == proxyMap_->end()) { in CheckSaValid()
[all …]
/base/time/time_service/services/timer/src/
Dtimer_manager.cpp160 auto itMap = proxyMap_.find(uid); in RemoveProxy()
161 if (itMap != proxyMap_.end()) { in RemoveProxy()
171 proxyMap_.erase(uid); in RemoveProxy()
571 auto itMap = proxyMap_.find(uid); in CallbackAlarmIfNeed()
572 if (itMap == proxyMap_.end()) { in CallbackAlarmIfNeed()
575 proxyMap_[uid] = timeInfoVec; in CallbackAlarmIfNeed()
579 proxyMap_[uid] = timeInfoVec; in CallbackAlarmIfNeed()
600 proxyMap_.erase(uid); in ProxyTimer()
603 auto itMap = proxyMap_.find(uid); in ProxyTimer()
604 if (itMap != proxyMap_.end()) { in ProxyTimer()
[all …]
/base/powermgr/power_manager/services/native/src/
Drunning_lock_mgr.cpp481 if (proxyMap_.empty()) { in MatchProxyMap()
486 auto it = proxyMap_.find(userIPCinfo.uid); in MatchProxyMap()
488 if (it == proxyMap_.end()) { in MatchProxyMap()
510 if (proxyMap_.empty() && (!forceRefresh)) { in SetRunningLockDisableFlag()
619 auto it = proxyMap_.find(uid); in ProxyRunningLock()
622 if (it == proxyMap_.end()) { in ProxyRunningLock()
624 proxyMap_.emplace(uid, pidset); in ProxyRunningLock()
630 proxyMap_.erase(uid); in ProxyRunningLock()
632 proxyMap_.emplace(uid, pidset); in ProxyRunningLock()
643 if (it == proxyMap_.end()) { in ProxyRunningLock()
[all …]
/base/powermgr/power_manager/services/native/include/
Drunning_lock_mgr.h71 return proxyMap_; in GetRunningLockProxyMap()
190 RunningLockProxyMap proxyMap_; variable
/base/time/time_service/services/timer/include/
Dtimer_manager.h116 std::map<int32_t, std::vector<std::shared_ptr<TimerInfo>>> proxyMap_; variable
/base/location/services/location_locator/locator/include/
Dlocator_ability.h149 std::shared_ptr<std::map<std::string, sptr<IRemoteObject>>> proxyMap_; variable