/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/ |
D | distributed_preferences_branch_test.cpp | 113 sptr<NotificationBundleOption> bundleOption = nullptr; variable 138 sptr<NotificationBundleOption> bundleOption = nullptr; variable 150 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption("<bundleName>", 783); variable 164 sptr<NotificationBundleOption> bundleOption = nullptr; variable 176 sptr<NotificationBundleOption> bundleOption = nullptr; variable 187 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption("<bundleName>", 783); variable
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
D | ans_innerkits_module_setting_test.cpp | 77 NotificationBundleOption bundleOption; variable 98 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable 117 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable 137 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable 183 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable 198 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences.cpp | 45 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in AddNotificationSlots() 74 …ficationPreferences::AddNotificationBundleProperty(const sptr<NotificationBundleOption> &bundleOpt… in AddNotificationBundleProperty() 95 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot() 116 …otificationPreferences::RemoveNotificationAllSlots(const sptr<NotificationBundleOption> &bundleOpt… in RemoveNotificationAllSlots() 142 …tificationPreferences::RemoveNotificationForBundle(const sptr<NotificationBundleOption> &bundleOpt… in RemoveNotificationForBundle() 169 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateNotificationSlots() 197 …rCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOpt… in GetNotificationSlot() 220 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationAllSlots() 240 const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) in GetNotificationSlotsNumForBundle() 257 ErrCode NotificationPreferences::IsShowBadge(const sptr<NotificationBundleOption> &bundleOption, bo… in IsShowBadge() [all …]
|
D | system_event_observer.cpp | 57 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(bundleName, uid); in GetBundleOption() local 71 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() local 99 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() local
|
D | advanced_notification_service.cpp | 347 const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetDefaultNotificationEnabled() 374 sptr<NotificationBundleOption> bundleOption = nullptr; in GenerateBundleOption() local 385 const sptr<NotificationBundleOption> &bundleOption) in GenerateValidBundleOption() 424 …int32_t notificationId, const std::string &label, const sptr<NotificationBundleOption> &bundleOpti… in CancelPreparedNotification() 459 const sptr<NotificationRequest> &request, sptr<NotificationBundleOption> &bundleOption) in PrepareNotificationInfo() 492 const sptr<NotificationRequest> &request, const sptr<NotificationBundleOption> &bundleOption) in PublishPreparedNotification() 588 sptr<NotificationBundleOption> bundleOption; in Publish() local 728 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in Cancel() local 736 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelAll() local 813 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption( in CancelAsBundle() local [all …]
|
D | reminder_data_manager.cpp | 61 const sptr<NotificationBundleOption> &bundleOption) in PublishReminder() 72 const int32_t &reminderId, const sptr<NotificationBundleOption> &bundleOption) in CancelReminder() 104 … const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders() 204 …sptr<NotificationBundleOption> bundleOption = FindNotificationBundleOption(reminder->GetReminderId… in CancelNotification() local 209 …inderDataManager::CheckReminderLimitExceededLocked(const sptr<NotificationBundleOption> &bundleOpt… in CheckReminderLimitExceededLocked() 283 void ReminderDataManager::OnProcessDiedLocked(const sptr<NotificationBundleOption> &bundleOption) in OnProcessDiedLocked() 564 sptr<NotificationBundleOption> bundleOption = FindNotificationBundleOption(reminderId); in TerminateAlerting() local 581 const sptr<ReminderRequest> &reminder, const sptr<NotificationBundleOption> &bundleOption) in UpdateAndSaveReminderLocked() 612 sptr<NotificationBundleOption> bundleOption = FindNotificationBundleOption(reminderId); in ShouldAlert() local 738 sptr<NotificationBundleOption> bundleOption = FindNotificationBundleOption(reminderId); in ShowReminder() local [all …]
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
D | notification_subscriber_manager_branch_test.cpp | 509 sptr<NotificationBundleOption> bundleOption = nullptr; variable 541 sptr<NotificationBundleOption> bundleOption = nullptr; variable 559 sptr<NotificationBundleOption> bundleOption = nullptr; variable 577 sptr<NotificationBundleOption> bundleOption = nullptr; variable 596 sptr<NotificationBundleOption> bundleOption = nullptr; variable 705 sptr<NotificationBundleOption> bundleOption = nullptr; variable 757 sptr<NotificationBundleOption> bundleOption = nullptr; variable 774 sptr<NotificationBundleOption> bundleOption = nullptr; variable 790 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 809 sptr<NotificationBundleOption> bundleOption = nullptr; variable [all …]
|
D | mock_notification_preferences.cpp | 31 …rCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOpt… in GetNotificationSlot()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/ |
D | ans_notification_annex_test.cpp | 78 NotificationBundleOption bundleOption; variable 143 NotificationBundleOption bundleOption; variable 160 NotificationBundleOption bundleOption; variable 175 NotificationBundleOption bundleOption; variable 190 NotificationBundleOption bundleOption; variable 206 NotificationBundleOption bundleOption; variable 223 NotificationBundleOption bundleOption; variable
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | advanced_notification_service_branch_test.cpp | 615 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 704 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 719 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 736 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 753 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 836 sptr<NotificationBundleOption> bundleOption = variable 856 sptr<NotificationBundleOption> bundleOption = variable 1065 sptr<NotificationBundleOption> bundleOption = variable 1094 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption( variable 1109 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption( variable [all …]
|
D | advanced_notification_service_test.cpp | 1262 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable 1971 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1984 sptr<NotificationBundleOption> bundleOption = nullptr; variable 2152 sptr<NotificationBundleOption> bundleOption = nullptr; variable 2334 sptr<NotificationBundleOption> bundleOption; variable 2391 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 2582 sptr<NotificationBundleOption> bundleOption = nullptr; variable 2600 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 2618 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable 2749 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable [all …]
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_helper.cpp | 58 …de NotificationHelper::GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption… in GetNotificationSlotNumAsBundle() 189 ErrCode NotificationHelper::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification() 196 ErrCode NotificationHelper::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications() 206 …rCode NotificationHelper::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle() 217 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle() 223 const NotificationBundleOption &bundleOption, const std::vector<sptr<NotificationSlot>> &slots) in UpdateNotificationSlots() 239 ErrCode NotificationHelper::IsAllowedNotify(const NotificationBundleOption &bundleOption, bool &all… in IsAllowedNotify() 255 const NotificationBundleOption &bundleOption, std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle() 261 …Code NotificationHelper::SetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption… in SetShowBadgeEnabledForBundle() 266 …Code NotificationHelper::GetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption… in GetShowBadgeEnabledForBundle() [all …]
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
D | ans_notification_branch_test.cpp | 102 …ErrCode GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) over… in GetSlotNumAsBundle() 169 … ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int notificationId, in RemoveNotification() 175 ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) override in RemoveAllNotifications() 185 ErrCode DeleteByBundle(const sptr<NotificationBundleOption> &bundleOption) override in DeleteByBundle() 196 …const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) ov… in GetSlotsByBundle() 202 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots() 223 …const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) ove… in SetNotificationsEnabledForSpecialBundle() 228 …ErrCode SetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool enab… in SetShowBadgeEnabledForBundle() 233 …ErrCode GetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool &ena… in GetShowBadgeEnabledForBundle() 265 …ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &all… in IsSpecialBundleAllowedNotify() [all …]
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
D | distributed_preferences_test.cpp | 79 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/core/test/unittest/ans_manager_proxy_test/ |
D | ans_manager_proxy_unit_test.cpp | 1390 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1411 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1434 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1457 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1480 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1503 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 2785 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 2805 sptr<NotificationBundleOption> bundleOption = nullptr; variable 2827 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 2848 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable [all …]
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | notification_helper_test.cpp | 167 NotificationBundleOption bundleOption; variable 468 NotificationBundleOption bundleOption; variable 485 NotificationBundleOption bundleOption; variable 499 NotificationBundleOption bundleOption; variable 526 NotificationBundleOption bundleOption; variable 541 NotificationBundleOption bundleOption; variable 585 NotificationBundleOption bundleOption; variable 630 NotificationBundleOption bundleOption; variable 645 NotificationBundleOption bundleOption; variable 688 NotificationBundleOption bundleOption; variable [all …]
|
/base/notification/distributed_notification_service/tools/test/mock/ |
D | mock_ans_notification.cpp | 23 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle()
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
D | ans_notification.cpp | 106 …rCode AnsNotification::GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption… in GetNotificationSlotNumAsBundle() 457 ErrCode AnsNotification::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification() 475 ErrCode AnsNotification::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications() 506 ErrCode AnsNotification::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle() 532 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle() 549 const NotificationBundleOption &bundleOption, const std::vector<sptr<NotificationSlot>> &slots) in UpdateNotificationSlots() 584 ErrCode AnsNotification::IsAllowedNotify(const NotificationBundleOption &bundleOption, bool &allowe… in IsAllowedNotify() 619 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle() 636 ErrCode AnsNotification::SetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption,… in SetShowBadgeEnabledForBundle() 652 ErrCode AnsNotification::GetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption,… in GetShowBadgeEnabledForBundle() [all …]
|
D | ans_manager_stub.cpp | 454 …sptr<NotificationBundleOption> bundleOption = data.ReadStrongParcelable<NotificationBundleOption>(… in HandleGetSlotNumAsBundle() local 750 …sptr<NotificationBundleOption> bundleOption = data.ReadStrongParcelable<NotificationBundleOption>(… in HandleRemoveNotification() local 784 …sptr<NotificationBundleOption> bundleOption = data.ReadStrongParcelable<NotificationBundleOption>(… in HandleRemoveAllNotifications() local 851 …sptr<NotificationBundleOption> bundleOption = data.ReadStrongParcelable<NotificationBundleOption>(… in HandleDeleteByBundle() local 877 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleGetSlotsByBundle() local 894 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleUpdateSlots() local 994 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleSetNotificationsEnabledForSpecialBundle() local 1017 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleSetShowBadgeEnabledForBundle() local 1039 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleGetShowBadgeEnabledForBundle() local 1171 sptr<NotificationBundleOption> bundleOption = data.ReadParcelable<NotificationBundleOption>(); in HandleIsSpecialBundleAllowedNotify() local [all …]
|
/base/notification/distributed_notification_service/services/distributed/src/ |
D | distributed_preferences.cpp | 70 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/mock/ |
D | mock_advanced_notification_service.cpp | 42 const sptr<NotificationBundleOption> bundleOption, bool &enable) in GetDistributedEnableInApplicationInfo()
|
/base/notification/distributed_notification_service/test/fuzztest/removenotificationsbybundle_fuzzer/ |
D | removenotificationsbybundle_fuzzer.cpp | 26 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
|
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslotnumasbundle_fuzzer/ |
D | getnotificationslotnumasbundle_fuzzer.cpp | 23 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
D | ans_manager_stub_test.cpp | 419 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 954 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 1008 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 1034 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 1060 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 1086 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 1195 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 1255 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 1296 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 1325 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable [all …]
|
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslotsforbundle_fuzzer/ |
D | getnotificationslotsforbundle_fuzzer.cpp | 25 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local
|