Home
last modified time | relevance | path

Searched refs:locatorEventSubscriber_ (Results 1 – 3 of 3) sorted by relevance

/base/location/services/location_locator/locator/source/
Dlocator_ability.cpp108 if (locatorEventSubscriber_ == nullptr) { in OnAddSystemAbility()
115 bool result = OHOS::EventFwk::CommonEventManager::SubscribeCommonEvent(locatorEventSubscriber_); in OnAddSystemAbility()
125 if (locatorEventSubscriber_ == nullptr) { in OnRemoveSystemAbility()
129 … bool result = OHOS::EventFwk::CommonEventManager::UnSubscribeCommonEvent(locatorEventSubscriber_); in OnRemoveSystemAbility()
925 locatorEventSubscriber_ = std::make_shared<LocatorEventSubscriber>(subscriberInfo); in RegisterAction()
927 bool result = OHOS::EventFwk::CommonEventManager::SubscribeCommonEvent(locatorEventSubscriber_); in RegisterAction()
/base/location/services/location_locator/locator/include/
Dlocator_ability.h157 std::shared_ptr<LocatorEventSubscriber> locatorEventSubscriber_; variable
/base/location/test/location_locator/source/
Dlocator_service_test.cpp1904 locatorAbility->locatorEventSubscriber_ = nullptr;
1916 locatorAbility->locatorEventSubscriber_ = nullptr;
1922 …locatorAbility->locatorEventSubscriber_ = std::make_shared<LocatorEventSubscriber>(subscriberInfo);