Searched refs:EventSubscriber (Results 1 – 5 of 5) sorted by relevance
53 class EventSubscriber : public CommonEventSubscriber, public NoCopyable { class55 …explicit EventSubscriber(const CommonEventSubscribeInfo &subscribeInfo) : CommonEventSubscriber(su… in EventSubscriber() function in OHOS::UserIam::FingerprintAuth::EventSubscriber56 ~EventSubscriber() override {}; in ~EventSubscriber()58 static std::shared_ptr<EventSubscriber> GetInstance();65 std::shared_ptr<EventSubscriber> EventSubscriber::GetInstance() in GetInstance()67 static auto subscriber = Common::MakeShared<EventSubscriber>(GetCommonEventSubscribeInfo()); in GetInstance()74 ResultCode EventSubscriber::Subscribe() in Subscribe()76 EventSubscriber::Unsubscribe(); in Subscribe()89 void EventSubscriber::Unsubscribe() in Unsubscribe()102 void EventSubscriber::OnReceiveEvent(const CommonEventData &eventData) in OnReceiveEvent()[all …]
65 std::shared_ptr<EventSubscriber> subscriber = std::make_shared<EventSubscriber>(subscriberInfo); in SubscribeEvent()146 ImCommonEventManager::EventSubscriber::EventSubscriber(const EventFwk::CommonEventSubscribeInfo &su… in EventSubscriber() function in OHOS::MiscServices::ImCommonEventManager::EventSubscriber149 EventManagerFunc_[CommonEventSupport::COMMON_EVENT_USER_SWITCHED] = &EventSubscriber::StartUser; in EventSubscriber()150 EventManagerFunc_[CommonEventSupport::COMMON_EVENT_USER_REMOVED] = &EventSubscriber::RemoveUser; in EventSubscriber()151 …EventManagerFunc_[CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED] = &EventSubscriber::RemovePack… in EventSubscriber()154 void ImCommonEventManager::EventSubscriber::OnReceiveEvent(const EventFwk::CommonEventData &data) in OnReceiveEvent()169 void ImCommonEventManager::EventSubscriber::StartUser(const CommonEventData &data) in StartUser()179 void ImCommonEventManager::EventSubscriber::RemoveUser(const CommonEventData &data) in RemoveUser()189 void ImCommonEventManager::EventSubscriber::RemovePackage(const CommonEventData &data) in RemovePackage()
44 class EventSubscriber : public Ces {46 …EventSubscriber(const sptr<CesInfo>& info, const std::map<std::string, EventHandle>& handles) : Ce… in EventSubscriber() function52 ~EventSubscriber() override = default;
46 class EventSubscriber : public EventFwk::CommonEventSubscriber {48 EventSubscriber(const EventFwk::CommonEventSubscribeInfo &subscribeInfo);55 using EventListenerFunc = void (EventSubscriber::*)(const EventFwk::CommonEventData &data);
67 std::shared_ptr<Ces> s = std::make_shared<EventSubscriber>(info, eventHandles_); in RegisterSubscriber()91 void ThermalCommonEventReceiver::EventSubscriber::HandleEvent(const OHOS::EventFwk::CommonEventData… in HandleEvent()