Home
last modified time | relevance | path

Searched refs:EventSubscriber (Results 1 – 5 of 5) sorted by relevance

/base/useriam/fingerprint_auth/services_ex/src/
Dscreen_state_monitor.cpp53 class EventSubscriber : public CommonEventSubscriber, public NoCopyable { class
55 …explicit EventSubscriber(const CommonEventSubscribeInfo &subscribeInfo) : CommonEventSubscriber(su… in EventSubscriber() function in OHOS::UserIam::FingerprintAuth::EventSubscriber
56 ~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 …]
/base/inputmethod/imf/services/src/
Dim_common_event_manager.cpp65 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::EventSubscriber
149 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()
/base/powermgr/thermal_manager/services/native/include/thermal_observer/
Dthermal_common_event_receiver.h44 class EventSubscriber : public Ces {
46EventSubscriber(const sptr<CesInfo>& info, const std::map<std::string, EventHandle>& handles) : Ce… in EventSubscriber() function
52 ~EventSubscriber() override = default;
/base/inputmethod/imf/services/include/
Dim_common_event_manager.h46 class EventSubscriber : public EventFwk::CommonEventSubscriber {
48 EventSubscriber(const EventFwk::CommonEventSubscribeInfo &subscribeInfo);
55 using EventListenerFunc = void (EventSubscriber::*)(const EventFwk::CommonEventData &data);
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
Dthermal_common_event_receiver.cpp67 std::shared_ptr<Ces> s = std::make_shared<EventSubscriber>(info, eventHandles_); in RegisterSubscriber()
91 void ThermalCommonEventReceiver::EventSubscriber::HandleEvent(const OHOS::EventFwk::CommonEventData… in HandleEvent()