Home
last modified time | relevance | path

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

/ohos5.0/base/location/frameworks/native/locator_sdk/source/
H A Dcountry_code_manager.cpp46 networkSubscriber_ = nullptr; in CountryCodeManager()
285 if (networkSubscriber_ == nullptr) { in SubscribeNetworkStatusEvent()
286 networkSubscriber_ = std::make_shared<NetworkSubscriber>(subscriberInfo); in SubscribeNetworkStatusEvent()
289 bool result = EventFwk::CommonEventManager::SubscribeCommonEvent(networkSubscriber_); in SubscribeNetworkStatusEvent()
328 if (networkSubscriber_) { in UnsubscribeNetworkStatusEvent()
329 OHOS::EventFwk::CommonEventManager::UnSubscribeCommonEvent(networkSubscriber_); in UnsubscribeNetworkStatusEvent()
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dcountry_code_manager.h86 std::shared_ptr<NetworkSubscriber> networkSubscriber_; variable