Home
last modified time | relevance | path

Searched refs:Notification (Results 1 – 25 of 837) sorted by relevance

12345678910>>...34

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification.cpp23 namespace Notification { namespace
24 Notification::Notification() {}; in Notification() function in OHOS::Notification::Notification
26 Notification::Notification(const sptr<NotificationRequest> &request) in Notification() function in OHOS::Notification::Notification
37 Notification::Notification(const std::string &deviceId, const sptr<NotificationRequest> &request) in Notification() function in OHOS::Notification::Notification
46 Notification::Notification(const Notification &other) in Notification() function in OHOS::Notification::Notification
67 Notification::~Notification() in ~Notification()
155 Uri Notification::GetSound() const in GetSound()
171 pid_t Notification::GetPid() const in GetPid()
192 bool Notification::IsGroup() const in IsGroup()
475 Notification *Notification::Unmarshalling(Parcel &parcel) in Unmarshalling()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/common_event/
H A DcommonEventManager-definitions.md17 **系统能力:** SystemCapability.Notification.CommonEvent
31 **系统能力:** SystemCapability.Notification.CommonEvent
44 **系统能力:** SystemCapability.Notification.CommonEvent
58 **系统能力:** SystemCapability.Notification.CommonEvent
72 **系统能力:** SystemCapability.Notification.CommonEvent
85 **系统能力:** SystemCapability.Notification.CommonEvent
96 **系统能力:** SystemCapability.Notification.CommonEvent
107 **系统能力:** SystemCapability.Notification.CommonEvent
120 **系统能力:** SystemCapability.Notification.CommonEvent
133 **系统能力:** SystemCapability.Notification.CommonEvent
[all …]
H A DcommonEventManager-definitions-sys.md25 **系统能力:** SystemCapability.Notification.CommonEvent
42 **系统能力:** SystemCapability.Notification.CommonEvent
63 **系统能力:** SystemCapability.Notification.CommonEvent
80 **系统能力:** SystemCapability.Notification.CommonEvent
97 **系统能力:** SystemCapability.Notification.CommonEvent
114 **系统能力:** SystemCapability.Notification.CommonEvent
131 **系统能力:** SystemCapability.Notification.CommonEvent
148 **系统能力:** SystemCapability.Notification.CommonEvent
168 **系统能力:** SystemCapability.Notification.CommonEvent
184 **系统能力:** SystemCapability.Notification.CommonEvent
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/
H A Djs-apis-notification.md24 **系统能力**:SystemCapability.Notification.Notification
68 **系统能力**:SystemCapability.Notification.Notification
113 **系统能力**:SystemCapability.Notification.Notification
147 **系统能力**:SystemCapability.Notification.Notification
182 **系统能力**:SystemCapability.Notification.Notification
215 **系统能力**:SystemCapability.Notification.Notification
245 **系统能力**:SystemCapability.Notification.Notification
271 **系统能力**:SystemCapability.Notification.Notification
302 **系统能力**:SystemCapability.Notification.Notification
334 **系统能力**:SystemCapability.Notification.Notification
[all …]
H A Djs-apis-notification-sys.md25 **系统能力**:SystemCapability.Notification.Notification
76 **系统能力**:SystemCapability.Notification.Notification
128 **系统能力**:SystemCapability.Notification.Notification
168 **系统能力**:SystemCapability.Notification.Notification
209 **系统能力**:SystemCapability.Notification.Notification
253 **系统能力**:SystemCapability.Notification.Notification
298 **系统能力**:SystemCapability.Notification.Notification
344 **系统能力**:SystemCapability.Notification.Notification
385 **系统能力**:SystemCapability.Notification.Notification
429 **系统能力**:SystemCapability.Notification.Notification
[all …]
H A Djs-apis-inner-notification-notificationContent.md13 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
29 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
46 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
63 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
80 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
93 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
108 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
121 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
133 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
159 **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/
H A Djs-apis-notification.md24 **System capability**: SystemCapability.Notification.Notification
68 **System capability**: SystemCapability.Notification.Notification
113 **System capability**: SystemCapability.Notification.Notification
147 **System capability**: SystemCapability.Notification.Notification
182 **System capability**: SystemCapability.Notification.Notification
215 **System capability**: SystemCapability.Notification.Notification
245 **System capability**: SystemCapability.Notification.Notification
271 **System capability**: SystemCapability.Notification.Notification
302 **System capability**: SystemCapability.Notification.Notification
334 **System capability**: SystemCapability.Notification.Notification
[all …]
H A Djs-apis-notification-sys.md25 **System capability**: SystemCapability.Notification.Notification
76 **System capability**: SystemCapability.Notification.Notification
128 **System capability**: SystemCapability.Notification.Notification
168 **System capability**: SystemCapability.Notification.Notification
209 **System capability**: SystemCapability.Notification.Notification
253 **System capability**: SystemCapability.Notification.Notification
298 **System capability**: SystemCapability.Notification.Notification
344 **System capability**: SystemCapability.Notification.Notification
385 **System capability**: SystemCapability.Notification.Notification
429 **System capability**: SystemCapability.Notification.Notification
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_branch_test/
H A Dans_subscriber_proxy_branch_test.cpp32 using namespace OHOS::Notification;
71 std::vector<sptr<OHOS::Notification::Notification>> notifications;
92 … sptr<NotificationRequest> request = new (std::nothrow) OHOS::Notification::NotificationRequest();
93 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
94 std::vector<sptr<OHOS::Notification::Notification>> notifications;
116 … sptr<NotificationRequest> request = new (std::nothrow) OHOS::Notification::NotificationRequest();
117 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
118 std::vector<sptr<OHOS::Notification::Notification>> notifications;
139 std::vector<sptr<OHOS::Notification::Notification>> notifications;
158 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/anssubscriberproxy_fuzzer/
H A Danssubscriberproxy_fuzzer.cpp30 Notification::AnsSubscriberProxy ansSubscriberProxy(impl); in DoSomethingInterestingWithMyAPI()
36 ansSubscriberProxy.InnerTransact(static_cast<Notification::NotificationInterfaceCode>(code), in DoSomethingInterestingWithMyAPI()
42 sptr<Notification::NotificationRequest> request = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
44 sptr<Notification::Notification> notification = new Notification::Notification(request); in DoSomethingInterestingWithMyAPI()
46 …sptr<Notification::NotificationSortingMap> notificationMap = new Notification::NotificationSorting… in DoSomethingInterestingWithMyAPI()
54 …sptr<Notification::NotificationDoNotDisturbDate> date = new Notification::NotificationDoNotDisturb… in DoSomethingInterestingWithMyAPI()
57 …sptr<Notification::EnabledNotificationCallbackData> callbackData = new Notification::EnabledNotifi… in DoSomethingInterestingWithMyAPI()
70 OHOS::Notification::OHOS_PERMISSION_NOTIFICATION_CONTROLLER, in LLVMFuzzerTestOneInput()
71 OHOS::Notification::OHOS_PERMISSION_NOTIFICATION_AGENT_CONTROLLER, in LLVMFuzzerTestOneInput()
72 OHOS::Notification::OHOS_PERMISSION_SET_UNREMOVABLE_NOTIFICATION in LLVMFuzzerTestOneInput()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
H A Dpublishcontinuoustasknotification_fuzzer.cpp29 Notification::NotificationRequest request; in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationRequest::BadgeStyle badgeStyle = in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationRequest::BadgeStyle(style); in DoSomethingInterestingWithMyAPI()
44 std::make_shared<Notification::NotificationNormalContent>(); in DoSomethingInterestingWithMyAPI()
48 std::shared_ptr<Notification::NotificationContent> content = in DoSomethingInterestingWithMyAPI()
56 std::make_shared<Notification::NotificationFlags>(); in DoSomethingInterestingWithMyAPI()
58 Notification::NotificationConstant::FlagStatus sound = in DoSomethingInterestingWithMyAPI()
65 Notification::NotificationRequest::GroupAlertType(color); in DoSomethingInterestingWithMyAPI()
75Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
81 Notification::NotificationConstant::RemindType remind = in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/
H A Dpublishnotification_fuzzer.cpp29 Notification::NotificationRequest request; in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationRequest::BadgeStyle badgeStyle = in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationRequest::BadgeStyle(style); in DoSomethingInterestingWithMyAPI()
44 std::make_shared<Notification::NotificationNormalContent>(); in DoSomethingInterestingWithMyAPI()
48 std::shared_ptr<Notification::NotificationContent> content = in DoSomethingInterestingWithMyAPI()
56 std::make_shared<Notification::NotificationFlags>(); in DoSomethingInterestingWithMyAPI()
58 Notification::NotificationConstant::FlagStatus sound = in DoSomethingInterestingWithMyAPI()
65 Notification::NotificationRequest::GroupAlertType(color); in DoSomethingInterestingWithMyAPI()
75Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
78 Notification::NotificationHelper::PublishNotification(request); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/docs/en/release-notes/api-diff/v3.0-LTS/
H A Djs-apidiff-v3.0-lts.md288 |Common Event and Notification Subsystem - notification|title: string;|Added| -|
290 |Common Event and Notification Subsystem - notification|text: string;|Added| -|
292 |Common Event and Notification Subsystem - wantAgent|want?: Want;|Added| -|
296 |Common Event and Notification Subsystem - wantAgent|code: number;|Added| -|
396 |Common Event and Notification Subsystem - commonEvent|code?: number;|Added| -|
397 |Common Event and Notification Subsystem - commonEvent|data?: string;|Added| -|
418 |Common Event and Notification Subsystem - commonEvent|event: string|Added| -|
420 |Common Event and Notification Subsystem - commonEvent|code?: number;|Added| -|
421 |Common Event and Notification Subsystem - commonEvent|data?: string;|Added| -|
561 |Common Event and Notification Subsystem - notification|id?: number;|Added| -|
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderhelper_fuzzer/
H A Dreminderhelper_fuzzer.cpp31 Notification::ReminderRequest reminder; in DoSomethingInterestingWithMyAPI()
34 Notification::ReminderHelper::PublishReminder(reminder); in DoSomethingInterestingWithMyAPI()
36 Notification::ReminderHelper::CancelReminder(reminderId); in DoSomethingInterestingWithMyAPI()
37 sptr<Notification::ReminderRequest> valid = new Notification::ReminderRequest(); in DoSomethingInterestingWithMyAPI()
38 std::vector<sptr<Notification::ReminderRequest>> validReminders; in DoSomethingInterestingWithMyAPI()
40 Notification::ReminderHelper::GetValidReminders(validReminders); in DoSomethingInterestingWithMyAPI()
41 Notification::NotificationSlot notificationSlot; in DoSomethingInterestingWithMyAPI()
47Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
48 Notification::ReminderHelper::RemoveNotificationSlot(slotType); in DoSomethingInterestingWithMyAPI()
51 Notification::ReminderHelper::DelExcludeDates(reminderId); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/
H A Dtask_notification_subscriber.h25 class TaskNotificationSubscriber : public Notification::NotificationSubscriber {
31 void OnCanceled(const std::shared_ptr<Notification::Notification> &request,
32 …const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap, int deleteReason) overrid…
33 void OnConsumed(const std::shared_ptr<Notification::Notification> &request,
34 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) override;
35 void OnUpdate(const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) override;
38 const std::shared_ptr<Notification::NotificationDoNotDisturbDate> &date) override;
40 … const std::shared_ptr<Notification::EnabledNotificationCallbackData> &callbackData) override;
41 …void OnBadgeChanged(const std::shared_ptr<Notification::BadgeNumberCallbackData> &badgeData) overr…
43 … void OnBatchCanceled(const std::vector<std::shared_ptr<Notification::Notification>> &requestList,
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannextwo_fuzzer/
H A Dansmanagerstubannextwo_fuzzer.cpp30 Notification::AnsManagerStub ansManagerStub; in DoSomethingInterestingWithMyAPI()
37 … sptr<Notification::NotificationRequest> notification = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
46Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
48 sptr<Notification::NotificationSlot> slot = new Notification::NotificationSlot(); in DoSomethingInterestingWithMyAPI()
49 std::vector<sptr<Notification::NotificationSlot>> slots; in DoSomethingInterestingWithMyAPI()
56 …sptr<Notification::NotificationBundleOption> bundleOption = new Notification::NotificationBundleOp… in DoSomethingInterestingWithMyAPI()
59 … sptr<Notification::NotificationRequest> notificationer = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
60 std::vector<sptr<Notification::NotificationRequest>> notifications; in DoSomethingInterestingWithMyAPI()
64 sptr<Notification::Notification> notificatione = new Notification::Notification(); in DoSomethingInterestingWithMyAPI()
65 std::vector<sptr<Notification::Notification>> notificationes; in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/anssubscriberstub_fuzzer/
H A Danssubscriberstub_fuzzer.cpp29 Notification::AnsSubscriberStub ansSubscriberStub; in DoSomethingInterestingWithMyAPI()
30 Notification::AnsSubscriberLocalLiveViewStub ansSubscriberLocalLiveViewStub; in DoSomethingInterestingWithMyAPI()
56 sptr<Notification::Notification> notification = new Notification::Notification(); in DoSomethingInterestingWithMyAPI()
57 …sptr<Notification::NotificationSortingMap> notificationMap = new Notification::NotificationSorting… in DoSomethingInterestingWithMyAPI()
65 …sptr<Notification::NotificationDoNotDisturbDate> date = new Notification::NotificationDoNotDisturb… in DoSomethingInterestingWithMyAPI()
68 …sptr<Notification::EnabledNotificationCallbackData> callbackData = new Notification::EnabledNotifi… in DoSomethingInterestingWithMyAPI()
94 OHOS::Notification::OHOS_PERMISSION_NOTIFICATION_CONTROLLER, in LLVMFuzzerTestOneInput()
95 OHOS::Notification::OHOS_PERMISSION_NOTIFICATION_AGENT_CONTROLLER, in LLVMFuzzerTestOneInput()
96 OHOS::Notification::OHOS_PERMISSION_SET_UNREMOVABLE_NOTIFICATION in LLVMFuzzerTestOneInput()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/
H A Dsetdonotdisturbdate_fuzzer.cpp28 Notification::NotificationDoNotDisturbDate disturb; in DoSomethingInterestingWithMyAPI()
29 Notification::NotificationConstant::DoNotDisturbType disturbType = in DoSomethingInterestingWithMyAPI()
30 Notification::NotificationConstant::DoNotDisturbType(type); in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationHelper::SetDoNotDisturbDate(userId, disturb); in DoSomethingInterestingWithMyAPI()
35 Notification::NotificationHelper::GetDoNotDisturbDate(userId, disturb); in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI()
42Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
46 Notification::NotificationHelper::GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
48 Notification::NotificationHelper::SetSyncNotificationEnabledWithoutApp(userId, enabled); in DoSomethingInterestingWithMyAPI()
50 Notification::NotificationHelper::GetSyncNotificationEnabledWithoutApp(userId, enabled); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/cancelgroup_fuzzer/
H A Dcancelgroup_fuzzer.cpp28 Notification::NotificationHelper::GetShowBadgeEnabled(enabled); in DoSomethingInterestingWithMyAPI()
31 Notification::NotificationHelper::CancelGroup(stringData); in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationDoNotDisturbDate disturb; in DoSomethingInterestingWithMyAPI()
35 Notification::NotificationConstant::DoNotDisturbType disturbType = in DoSomethingInterestingWithMyAPI()
36 Notification::NotificationConstant::DoNotDisturbType(type); in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationHelper::SetDoNotDisturbDate(disturb); in DoSomethingInterestingWithMyAPI()
40 Notification::NotificationHelper::GetDoNotDisturbDate(disturb); in DoSomethingInterestingWithMyAPI()
42 Notification::NotificationHelper::DoesSupportDoNotDisturbMode(enabled); in DoSomethingInterestingWithMyAPI()
55 OHOS::Notification::OHOS_PERMISSION_NOTIFICATION_CONTROLLER, in LLVMFuzzerTestOneInput()
56 OHOS::Notification::OHOS_PERMISSION_NOTIFICATION_AGENT_CONTROLLER, in LLVMFuzzerTestOneInput()
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dtask_notification_subscriber.cpp47 void TaskNotificationSubscriber::OnCanceled(const std::shared_ptr<Notification::Notification> &noti… in OnCanceled()
54 Notification::NotificationRequest request = notification->GetNotificationRequest(); in OnCanceled()
69 if (deleteReason == Notification::NotificationConstant::APP_CANCEL_REASON_DELETE) { in OnCanceled()
91 void TaskNotificationSubscriber::OnConsumed(const std::shared_ptr<Notification::Notification> &noti… in OnConsumed()
92 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) {} in OnConsumed()
95 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) {} in OnUpdate()
100 const std::shared_ptr<Notification::NotificationDoNotDisturbDate> &date) {} in OnDoNotDisturbDateChange()
103 const std::shared_ptr<Notification::EnabledNotificationCallbackData> &callbackData) {} in OnEnabledNotificationChanged()
106 const std::shared_ptr<Notification::BadgeNumberCallbackData> &badgeData) {} in OnBadgeChanged()
109 const sptr<Notification::EnabledNotificationCallbackData> &callbackData) {} in OnBadgeEnabledChanged()
[all …]
/ohos5.0/docs/en/application-dev/notification/
H A DReadme-EN.md1 # Notification Kit (User Notification Service)
3 - [Introduction to Notification Kit](notification-overview.md)
4 - [Requesting Notification Authorization](notification-enable.md)
5 - [Managing the Notification Badge](notification-badge.md)
6 - [Managing Notification Slots](notification-slot.md)
7 - Publishing a Notification
8 - [Publishing a Text Notification](text-notification.md)
9 - [Publishing a Progress Notification](progress-bar-notification.md)
11 - [Publishing Live View Notification (for System Applications Only)](live-view-notification.md)
13 - [Adding a WantAgent Object to a Notification](notification-with-wantagent.md)
/ohos5.0/foundation/communication/nfc/services/src/notification/
H A Dnfc_notification.cpp43 class NfcNotificationSubscriber : public Notification::NotificationSubscriber {
51 void OnCanceled(const std::shared_ptr<OHOS::Notification::Notification> &request, in OnCanceled()
64 void OnConsumed(const std::shared_ptr<OHOS::Notification::Notification> &notification, in OnConsumed()
68 …void OnBatchCanceled(const std::vector<std::shared_ptr<OHOS::Notification::Notification>> &request… in OnBatchCanceled()
322 static void SetBasicOption(Notification::NotificationRequest &request) in SetBasicOption()
390 std::shared_ptr<Notification::NotificationNormalContent> nfcContent = in PublishNfcNotification()
391 std::make_shared<Notification::NotificationNormalContent>(); in PublishNfcNotification()
412 std::shared_ptr<Notification::NotificationContent> content = in PublishNfcNotification()
413 std::make_shared<Notification::NotificationContent>(nfcContent); in PublishNfcNotification()
419 Notification::NotificationRequest request; in PublishNfcNotification()
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderdatamanager_fuzzer/
H A Dreminderdatamanager_fuzzer.cpp32 … sptr<Notification::ReminderRequest> reminder = new Notification::ReminderRequestTimer(seconds); in DoSomethingInterestingWithManager()
34 Notification::ReminderDataManager::InitInstance(nullptr); in DoSomethingInterestingWithManager()
35 auto manager = Notification::ReminderDataManager::GetInstance(); in DoSomethingInterestingWithManager()
39 … sptr<Notification::NotificationBundleOption> option = new Notification::NotificationBundleOption( in DoSomethingInterestingWithManager()
49 std::vector<sptr<Notification::ReminderRequest>> reminders; in DoSomethingInterestingWithManager()
54 std::vector<sptr<Notification::ReminderRequest>> extensionReminders; in DoSomethingInterestingWithManager()
82 … sptr<Notification::ReminderRequest> reminder = new Notification::ReminderRequestTimer(seconds); in DoSomethingInterestingWithReminder()
83 auto manager = Notification::ReminderDataManager::GetInstance(); in DoSomethingInterestingWithReminder()
85 … sptr<Notification::NotificationBundleOption> option = new Notification::NotificationBundleOption( in DoSomethingInterestingWithReminder()
97 std::vector<sptr<Notification::ReminderRequest>> reminders; in DoSomethingInterestingWithReminder()
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp31 Notification::AnsManagerStub ansManagerStub; in DoSomethingInterestingWithMyAPI()
33 …sptr<Notification::NotificationBundleOption> bundleOption = new Notification::NotificationBundleOp… in DoSomethingInterestingWithMyAPI()
42 sptr<Notification::NotificationSlot> slot = new Notification::NotificationSlot(); in DoSomethingInterestingWithMyAPI()
43 std::vector<sptr<Notification::NotificationSlot>> slots; in DoSomethingInterestingWithMyAPI()
62 Notification::NotificationConstant::RemindType remind = in DoSomethingInterestingWithMyAPI()
63 Notification::NotificationConstant::RemindType(remindType); in DoSomethingInterestingWithMyAPI()
65 sptr<Notification::NotificationRequest> request = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
80 OHOS::Notification::OHOS_PERMISSION_NOTIFICATION_CONTROLLER, in LLVMFuzzerTestOneInput()
81 OHOS::Notification::OHOS_PERMISSION_NOTIFICATION_AGENT_CONTROLLER, in LLVMFuzzerTestOneInput()
82 OHOS::Notification::OHOS_PERMISSION_SET_UNREMOVABLE_NOTIFICATION in LLVMFuzzerTestOneInput()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/
H A Dans_subscriber_proxy_unit_test.cpp164 sptr<OHOS::Notification::Notification> notification =
165 new (std::nothrow) OHOS::Notification::Notification(request);
190 sptr<OHOS::Notification::Notification> notification =
191 new (std::nothrow) OHOS::Notification::Notification(request);
236 sptr<OHOS::Notification::Notification> notification =
237 new (std::nothrow) OHOS::Notification::Notification(request);
277 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
320 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
345 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
371 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
[all …]

12345678910>>...34