Home
last modified time | relevance | path

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

/ohos5.0/base/location/frameworks/native/locator_sdk/source/
H A Dlocation_data_manager.cpp52 for (auto item : switchCallbackMap_) { in ReportSwitchState()
78 switchCallbackMap_[remoteObject] = appInfo; in ReportSwitchState()
91 auto iter = switchCallbackMap_.find(callback); in RegisterSwitchCallback()
92 if (iter != switchCallbackMap_.end()) { in RegisterSwitchCallback()
100 switchCallbackMap_[callback] = appInfo; in RegisterSwitchCallback()
102 identity.GetUid(), std::to_string(switchCallbackMap_.size()).c_str()); in RegisterSwitchCallback()
116 auto iter = switchCallbackMap_.find(callback); in UnregisterSwitchCallback()
117 if (iter != switchCallbackMap_.end()) { in UnregisterSwitchCallback()
118 switchCallbackMap_.erase(iter); in UnregisterSwitchCallback()
121 std::to_string(switchCallbackMap_.size()).c_str()); in UnregisterSwitchCallback()
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dlocation_data_manager.h46 std::map<sptr<IRemoteObject>, std::vector<int>> switchCallbackMap_; variable