Home
last modified time | relevance | path

Searched defs:bundleOption (Results 1 – 25 of 45) sorted by relevance

12

/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences.cpp45const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in AddNotificationSlots()
72 …ficationPreferences::AddNotificationBundleProperty(const sptr<NotificationBundleOption> &bundleOpt… in AddNotificationBundleProperty()
92const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot()
112 …otificationPreferences::RemoveNotificationAllSlots(const sptr<NotificationBundleOption> &bundleOpt… in RemoveNotificationAllSlots()
137 …tificationPreferences::RemoveNotificationForBundle(const sptr<NotificationBundleOption> &bundleOpt… in RemoveNotificationForBundle()
164const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateNotificationSlots()
192 …rCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOpt… in GetNotificationSlot()
214 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationAllSlots()
233 const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) in GetNotificationSlotsNumForBundle()
249 ErrCode NotificationPreferences::IsShowBadge(const sptr<NotificationBundleOption> &bundleOption, bo… in IsShowBadge()
[all …]
Dsystem_event_observer.cpp56 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(bundleName, uid); in GetBundleOption() local
70 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() local
98 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() local
Dadvanced_notification_service.cpp344 sptr<NotificationBundleOption> bundleOption = nullptr; in GenerateBundleOption() local
355 const sptr<NotificationBundleOption> &bundleOption) in GenerateValidBundleOption()
394 …int32_t notificationId, const std::string &label, const sptr<NotificationBundleOption> &bundleOpti… in CancelPreparedNotification()
424 const sptr<NotificationRequest> &request, sptr<NotificationBundleOption> &bundleOption) in PrepareNotificationInfo()
451 const sptr<NotificationRequest> &request, const sptr<NotificationBundleOption> &bundleOption) in PublishPreparedNotification()
524 sptr<NotificationBundleOption> bundleOption; in Publish() local
642 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in Cancel() local
650 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelAll() local
711 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption( in CancelAsBundle() local
728 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddSlots() local
[all …]
Dreminder_data_manager.cpp46 const sptr<NotificationBundleOption> &bundleOption) in PublishReminder()
57 const int32_t &reminderId, const sptr<NotificationBundleOption> &bundleOption) in CancelReminder()
89const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders()
189 …sptr<NotificationBundleOption> bundleOption = FindNotificationBundleOption(reminder->GetReminderId… in CancelNotification() local
266 void ReminderDataManager::OnProcessDiedLocked(const sptr<NotificationBundleOption> &bundleOption) in OnProcessDiedLocked()
394 auto bundleOption = FindNotificationBundleOption(reminderId); in FindReminderRequestLocked() local
518 sptr<NotificationBundleOption> bundleOption = FindNotificationBundleOption(reminderId); in TerminateAlerting() local
535 const sptr<ReminderRequest> &reminder, const sptr<NotificationBundleOption> &bundleOption) in UpdateAndSaveReminderLocked()
566 sptr<NotificationBundleOption> bundleOption = FindNotificationBundleOption(reminderId); in ShouldAlert() local
692 sptr<NotificationBundleOption> bundleOption = FindNotificationBundleOption(reminderId); in ShowReminder() local
[all …]
Dreminder_event_manager.cpp176 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in HandleProcessDied() local
192 …sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleNa… in GetBundleOption() local
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_setting_test.cpp68 NotificationBundleOption bundleOption; variable
89 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
108 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
128 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
174 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
189 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_helper.cpp58 …de NotificationHelper::GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption in GetNotificationSlotNumAsBundle()
204 ErrCode NotificationHelper::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification()
211 ErrCode NotificationHelper::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications()
216 …rCode NotificationHelper::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle()
227 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle()
233 const NotificationBundleOption &bundleOption, const std::vector<sptr<NotificationSlot>> &slots) in UpdateNotificationSlots()
249 ErrCode NotificationHelper::IsAllowedNotify(const NotificationBundleOption &bundleOption, bool &all… in IsAllowedNotify()
265 const NotificationBundleOption &bundleOption, std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle()
271 …Code NotificationHelper::SetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption in SetShowBadgeEnabledForBundle()
276 …Code NotificationHelper::GetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption in GetShowBadgeEnabledForBundle()
[all …]
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_preferences_test.cpp79 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption("<bundleName>", 783); variable
92 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption("<bundleName>", 783); variable
114 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption("<bundleName>", 783); variable
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_helper_test.cpp146 NotificationBundleOption bundleOption; variable
489 NotificationBundleOption bundleOption; variable
506 NotificationBundleOption bundleOption; variable
520 NotificationBundleOption bundleOption; variable
547 NotificationBundleOption bundleOption; variable
562 NotificationBundleOption bundleOption; variable
606 NotificationBundleOption bundleOption; variable
651 NotificationBundleOption bundleOption; variable
666 NotificationBundleOption bundleOption; variable
709 NotificationBundleOption bundleOption; variable
[all …]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
Dans_manager_proxy_unit_test.cpp1526 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable
1547 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1570 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable
1593 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable
1616 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable
1639 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable
3115 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable
3135 sptr<NotificationBundleOption> bundleOption = nullptr; variable
3157 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable
3178 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable
[all …]
/base/notification/distributed_notification_service/tools/test/mock/
Dmock_ans_notification.cpp23 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp106 …rCode AnsNotification::GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption in GetNotificationSlotNumAsBundle()
513 ErrCode AnsNotification::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification()
531 ErrCode AnsNotification::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications()
547 ErrCode AnsNotification::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle()
573 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle()
590 const NotificationBundleOption &bundleOption, const std::vector<sptr<NotificationSlot>> &slots) in UpdateNotificationSlots()
625 ErrCode AnsNotification::IsAllowedNotify(const NotificationBundleOption &bundleOption, bool &allowe… in IsAllowedNotify()
660 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle()
677 ErrCode AnsNotification::SetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption,… in SetShowBadgeEnabledForBundle()
693 ErrCode AnsNotification::GetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption,… in GetShowBadgeEnabledForBundle()
[all …]
Dans_manager_stub.cpp479 …sptr<NotificationBundleOption> bundleOption = data.ReadStrongParcelable<NotificationBundleOption>(… in HandleGetSlotNumAsBundle() local
802 …sptr<NotificationBundleOption> bundleOption = data.ReadStrongParcelable<NotificationBundleOption>(… in HandleRemoveNotification() local
836 …sptr<NotificationBundleOption> bundleOption = data.ReadStrongParcelable<NotificationBundleOption>(… in HandleRemoveAllNotifications() local
874 …sptr<NotificationBundleOption> bundleOption = data.ReadStrongParcelable<NotificationBundleOption>(… in HandleDeleteByBundle() local
900 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleGetSlotsByBundle() local
917 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleUpdateSlots() local
1005 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleSetNotificationsEnabledForSpecialBundle() local
1028 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleSetShowBadgeEnabledForBundle() local
1050 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleGetShowBadgeEnabledForBundle() local
1214 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleIsSpecialBundleAllowedNotify() local
[all …]
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_preferences.cpp70 const sptr<NotificationBundleOption> &bundleOption, std::string &key) in GetDistributedBundleKey()
167 const sptr<NotificationBundleOption> &bundleOption, bool isEnable) in SetDistributedBundleEnable()
189 const sptr<NotificationBundleOption> &bundleOption, bool &isEnable) in GetDistributedBundleEnable()
202 …istributedPreferences::DeleteDistributedBundleInfo(const sptr<NotificationBundleOption> &bundleOpt… in DeleteDistributedBundleInfo()
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_test.cpp1279 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable
1979 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1992 sptr<NotificationBundleOption> bundleOption = nullptr; variable
2159 sptr<NotificationBundleOption> bundleOption = nullptr; variable
2344 sptr<NotificationBundleOption> bundleOption; variable
2401 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable
2587 sptr<NotificationBundleOption> bundleOption = nullptr; variable
2605 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable
2623 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable
2754 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable
[all …]
/base/notification/distributed_notification_service/test/fuzztest/removenotificationsbybundle_fuzzer/
Dremovenotificationsbybundle_fuzzer.cpp26 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslotnumasbundle_fuzzer/
Dgetnotificationslotnumasbundle_fuzzer.cpp23 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
Dans_manager_stub_test.cpp484 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1057 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1111 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1137 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1163 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1189 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1298 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1358 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1399 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
1428 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
[all …]
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslotsforbundle_fuzzer/
Dgetnotificationslotsforbundle_fuzzer.cpp25 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_record.h31 sptr<NotificationBundleOption> bundleOption; member
/base/notification/distributed_notification_service/test/fuzztest/enabledistributed_fuzzer/
Denabledistributed_fuzzer.cpp32 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/setnotificationsenabledforallbundles_fuzzer/
Dsetnotificationsenabledforallbundles_fuzzer.cpp34 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp171 NotificationBundleOption bundleOption; variable
315 NotificationBundleOption bundleOption; variable
387 NotificationBundleOption bundleOption; variable
416 NotificationBundleOption bundleOption; variable
448 NotificationBundleOption bundleOption; variable
478 NotificationBundleOption bundleOption; variable
554 NotificationBundleOption bundleOption; variable
670 NotificationBundleOption bundleOption; variable
/base/notification/distributed_notification_service/test/fuzztest/getallactivenotifications_fuzzer/
Dgetallactivenotifications_fuzzer.cpp29 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/reminderstoreannex_fuzzer/
Dreminderstoreannex_fuzzer.cpp35 sptr<Notification::NotificationBundleOption> bundleOption; in DoSomethingInterestingWithMyAPI() local

12