Home
last modified time | relevance | path

Searched refs:switchCallbacks_ (Results 1 – 2 of 2) sorted by relevance

/base/location/services/location_locator/locator/source/
Dlocator_ability.cpp64 switchCallbacks_ = std::make_unique<std::map<pid_t, sptr<ISwitchCallback>>>(); in LocatorAbility()
363 for (auto iter = switchCallbacks_->begin(); iter != switchCallbacks_->end(); iter++) { in UpdateSaAbilityHandler()
421 switchCallbacks_->erase(uid); in RegisterSwitchCallback()
422 switchCallbacks_->insert(std::make_pair(uid, switchCallback)); in RegisterSwitchCallback()
424 uid, std::to_string(switchCallbacks_->size()).c_str()); in RegisterSwitchCallback()
441 for (auto iter = switchCallbacks_->begin(); iter != switchCallbacks_->end(); iter++) { in UnregisterSwitchCallback()
448 switchCallbacks_->erase(uid); in UnregisterSwitchCallback()
450 uid, std::to_string(switchCallbacks_->size()).c_str()); in UnregisterSwitchCallback()
/base/location/services/location_locator/locator/include/
Dlocator_ability.h146 std::unique_ptr<std::map<pid_t, sptr<ISwitchCallback>>> switchCallbacks_; variable