Searched refs:LocatorEventSubscriber (Results 1 – 6 of 6) sorted by relevance
26 LocatorEventSubscriber::LocatorEventSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &info) in LocatorEventSubscriber() function in OHOS::Location::LocatorEventSubscriber29 LocatorEventSubscriber::~LocatorEventSubscriber() {} in ~LocatorEventSubscriber()31 void LocatorEventSubscriber::OnReceiveEvent(const OHOS::EventFwk::CommonEventData& event) in OnReceiveEvent()
1252 locatorEventSubscriber_ = std::make_shared<LocatorEventSubscriber>(subscriberInfo); in RegisterAction()1275 locationPrivacyEventSubscriber_ = std::make_shared<LocatorEventSubscriber>(subscriberInfo); in RegisterLocationPrivacyAction()
28 class LocatorEventSubscriber : public OHOS::EventFwk::CommonEventSubscriber {30 explicit LocatorEventSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &info);31 ~LocatorEventSubscriber() override;
240 std::shared_ptr<LocatorEventSubscriber> locatorEventSubscriber_;241 std::shared_ptr<LocatorEventSubscriber> locationPrivacyEventSubscriber_;
501 auto locatorEventSubscriber = std::make_shared<LocatorEventSubscriber>(subscriberInfo);519 auto locatorEventSubscriber = std::make_shared<LocatorEventSubscriber>(subscriberInfo);
1881 …locatorAbility->locatorEventSubscriber_ = std::make_shared<LocatorEventSubscriber>(subscriberInfo);