Home
last modified time | relevance | path

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

/ohos5.0/base/useriam/fingerprint_auth/services_ex/src/
H A Dscreen_state_monitor.cpp53 class EventSubscriber : public CommonEventSubscriber, public NoCopyable { class
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()
132 ResultCode result = EventSubscriber::Subscribe(); in Subscribe()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/event_monitor/
H A Devents_subscriber.cpp31 const std::vector<std::string> EventSubscriber::events_ = {
42 EventSubscriber::EventSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo& subscriberInfo) in EventSubscriber() function in OHOS::CameraStandard::DeferredProcessing::EventSubscriber
49 EventSubscriber::~EventSubscriber() in ~EventSubscriber()
55 std::shared_ptr<EventSubscriber> EventSubscriber::Create() in Create()
63 return CreateShared<EventSubscriber>(subscriberInfo); in Create()
66 void EventSubscriber::Initialize() in Initialize()
90 void EventSubscriber::Subcribe() in Subcribe()
97 void EventSubscriber::UnSubscribe() in UnSubscribe()
104 void EventSubscriber::OnReceiveEvent(const OHOS::EventFwk::CommonEventData& data) in OnReceiveEvent()
H A Devents_monitor.cpp226 eventSubscriber_ = EventSubscriber::Create(); in OnAddSystemAbility()
/ohos5.0/base/inputmethod/imf/services/src/
H A Dim_common_event_manager.cpp76 std::shared_ptr<EventSubscriber> subscriber = std::make_shared<EventSubscriber>(subscriberInfo); in SubscribeEvent()
201 ImCommonEventManager::EventSubscriber::EventSubscriber(const EventFwk::CommonEventSubscribeInfo &su… in EventSubscriber() function in OHOS::MiscServices::ImCommonEventManager::EventSubscriber
205 [] (EventSubscriber *that, const EventFwk::CommonEventData &data) { in EventSubscriber()
209 [] (EventSubscriber *that, const EventFwk::CommonEventData &data) { in EventSubscriber()
213 [] (EventSubscriber *that, const EventFwk::CommonEventData &data) { in EventSubscriber()
217 [] (EventSubscriber *that, const EventFwk::CommonEventData &data) { in EventSubscriber()
221 [] (EventSubscriber *that, const EventFwk::CommonEventData &data) { in EventSubscriber()
225 [] (EventSubscriber *that, const EventFwk::CommonEventData &data) { in EventSubscriber()
229 [] (EventSubscriber *that, const EventFwk::CommonEventData &data) { in EventSubscriber()
233 [] (EventSubscriber *that, const EventFwk::CommonEventData &data) { in EventSubscriber()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/event_monitor/
H A Devents_subscriber.h24 class EventSubscriber : public EventFwk::CommonEventSubscriber,
25 public std::enable_shared_from_this<EventSubscriber> {
27 virtual ~EventSubscriber();
29 static std::shared_ptr<EventSubscriber> Create();
36 explicit EventSubscriber(const EventFwk::CommonEventSubscribeInfo& subscriberInfo);
H A Devents_monitor.h33 std::shared_ptr<EventSubscriber> eventSubscriber_ {nullptr};
/ohos5.0/foundation/window/window_manager/wmserver/include/
H A Dwindow_common_event.h36 class EventSubscriber : public EventFwk::CommonEventSubscriber {
38 EventSubscriber(const EventFwk::CommonEventSubscribeInfo& subscriberInfo, in EventSubscriber() function
41 ~EventSubscriber() = default;
52 std::shared_ptr<EventSubscriber> subscriber_;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/
H A Daccount_delegate_impl.h33 class EventSubscriber final : public CommonEventSubscriber {
35 ~EventSubscriber() {} in ~EventSubscriber()
36 explicit EventSubscriber(const CommonEventSubscribeInfo &info);
H A Daccount_delegate_impl.cpp28 EventSubscriber::EventSubscriber(const CommonEventSubscribeInfo &info) : CommonEventSubscriber(info… in EventSubscriber() function in OHOS::DistributedKv::EventSubscriber
30 void EventSubscriber::OnReceiveEvent(const CommonEventData &event) in OnReceiveEvent()
52 void EventSubscriber::SetEventCallback(EventCallback callback) in SetEventCallback()
H A Daccount_delegate_normal_impl.h49 std::shared_ptr<EventSubscriber> eventSubscriber_ {};
H A Daccount_delegate_normal_impl.cpp114 eventSubscriber_ = std::make_shared<EventSubscriber>(info); in SubscribeAccountEvent()
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_observer/
H A Dthermal_common_event_receiver.h45 class EventSubscriber : public Ces {
47EventSubscriber(const sptr<CesInfo>& info, const std::map<std::string, EventHandle>& handles) : Ce… in EventSubscriber() function
53 ~EventSubscriber() override = default;
/ohos5.0/base/inputmethod/imf/services/include/
H A Dim_common_event_manager.h50 class EventSubscriber : public EventFwk::CommonEventSubscriber {
52 EventSubscriber(const EventFwk::CommonEventSubscribeInfo &subscribeInfo);
66 …using EventListenerFunc = std::function<void(EventSubscriber *that, const EventFwk::CommonEventDat…
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_observer/
H A Dthermal_common_event_receiver.cpp73 std::shared_ptr<Ces> s = std::make_shared<EventSubscriber>(info, eventHandles_); in RegisterSubscriber()
97 void ThermalCommonEventReceiver::EventSubscriber::HandleEvent(const OHOS::EventFwk::CommonEventData… in HandleEvent()
/ohos5.0/foundation/multimedia/av_session/services/session/server/
H A Davsession_service.h124 class EventSubscriber : public EventFwk::CommonEventSubscriber {
126EventSubscriber(const EventFwk::CommonEventSubscribeInfo &subscriberInfo, AVSessionService *ptr);
127 virtual ~EventSubscriber() = default;
503 std::shared_ptr<EventSubscriber> subscriber_;
H A Davsession_service.cpp190 EventSubscriber::EventSubscriber(const EventFwk::CommonEventSubscribeInfo &subscriberInfo, AVSessio… in EventSubscriber() function in OHOS::AVSession::EventSubscriber
196 void EventSubscriber::OnReceiveEvent(const EventFwk::CommonEventData &eventData) in OnReceiveEvent()
317 subscriber_ = std::make_shared<EventSubscriber>(subscribeInfo, this); in SubscribeCommonEvent()
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_common_event.cpp57 subscriber_ = std::make_shared<EventSubscriber>(info, shared_from_this()); in SubscriberEvent()