Home
last modified time | relevance | path

Searched refs:NotificationDialogEventSubscriber (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_dialog_manager.h45 class NotificationDialogEventSubscriber : public EventFwk::CommonEventSubscriber {
47 DISALLOW_COPY_AND_MOVE(NotificationDialogEventSubscriber);
48 explicit NotificationDialogEventSubscriber(
51 ~NotificationDialogEventSubscriber() override;
53 …static std::shared_ptr<NotificationDialogEventSubscriber> Create(NotificationDialogManager& dialog…
132 std::shared_ptr<NotificationDialogEventSubscriber> dialogEventSubscriber = nullptr;
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_dialog_manager.cpp33 std::shared_ptr<NotificationDialogEventSubscriber> NotificationDialogEventSubscriber::Create( in Create()
38 matchingSkills.AddEvent(NotificationDialogEventSubscriber::EVENT_NAME); in Create()
41 return std::make_shared<NotificationDialogEventSubscriber>(dialogManager, subscriberInfo); in Create()
44 NotificationDialogEventSubscriber::NotificationDialogEventSubscriber( in NotificationDialogEventSubscriber() function in OHOS::Notification::NotificationDialogEventSubscriber
49 void NotificationDialogEventSubscriber::OnReceiveEvent(const EventFwk::CommonEventData& data) in OnReceiveEvent()
59 NotificationDialogEventSubscriber::~NotificationDialogEventSubscriber() in ~NotificationDialogEventSubscriber()
79 dialogEventSubscriber = NotificationDialogEventSubscriber::Create(*this); in Init()