Home
last modified time | relevance | path

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

/base/location/frameworks/native/source/
Dlocation_data_manager.cpp60 sptr<ISwitchCallback> switchCallback = iface_cast<ISwitchCallback>(callback); in RegisterSwitchCallback() local
61 if (switchCallback == nullptr) { in RegisterSwitchCallback()
68 switchCallbacks_->insert(std::make_pair(uid, switchCallback)); in RegisterSwitchCallback()
80 sptr<ISwitchCallback> switchCallback = iface_cast<ISwitchCallback>(callback); in UnregisterSwitchCallback() local
81 if (switchCallback == nullptr) { in UnregisterSwitchCallback()
/base/location/services/location_locator/locator/source/
Dlocator_ability.cpp418 sptr<ISwitchCallback> switchCallback = iface_cast<ISwitchCallback>(callback); in RegisterSwitchCallback() local
419 if (switchCallback == nullptr) { in RegisterSwitchCallback()
425 switchCallbacks_->insert(std::make_pair(uid, switchCallback)); in RegisterSwitchCallback()
437 sptr<ISwitchCallback> switchCallback = iface_cast<ISwitchCallback>(callback); in UnregisterSwitchCallback() local
438 if (switchCallback == nullptr) { in UnregisterSwitchCallback()