Home
last modified time | relevance | path

Searched refs:NetworkSubscriber (Results 1 - 3 of 3) sorted by relevance

/base/location/interfaces/inner_api/include/
H A Dcountry_code_manager.h66 class NetworkSubscriber : public OHOS::EventFwk::CommonEventSubscriber { class in OHOS::Location::CountryCodeManager
68 explicit NetworkSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &info);
69 ~NetworkSubscriber() override = default;
86 std::shared_ptr<NetworkSubscriber> networkSubscriber_;
/base/location/frameworks/native/locator_sdk/source/
H A Dcountry_code_manager.cpp284 networkSubscriber_ = std::make_shared<NetworkSubscriber>(subscriberInfo); in SubscribeNetworkStatusEvent()
362 CountryCodeManager::NetworkSubscriber::NetworkSubscriber( in NetworkSubscriber() function in OHOS::Location::CountryCodeManager::NetworkSubscriber
366 LBSLOGD(COUNTRY_CODE, "create NetworkSubscriber"); in NetworkSubscriber()
369 void CountryCodeManager::NetworkSubscriber::OnReceiveEvent(const OHOS::EventFwk::CommonEventData& event) in OnReceiveEvent()
376 LBSLOGI(COUNTRY_CODE, "NetworkSubscriber::OnReceiveEvent"); in OnReceiveEvent()
/base/location/test/location_locator/source/
H A Dcountry_code_manager_test.cpp302 auto networkSubscriber = std::make_shared<CountryCodeManager::NetworkSubscriber>(subscriberInfo); in HWTEST_F()

Completed in 3 milliseconds