Home
last modified time | relevance | path

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

123

/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/
Ddistributed_preferences_branch_test.cpp113 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/
Dans_innerkits_module_setting_test.cpp77 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/
Dnotification_preferences.cpp45const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in AddNotificationSlots()
74 …ficationPreferences::AddNotificationBundleProperty(const sptr<NotificationBundleOption> &bundleOpt… in AddNotificationBundleProperty()
95const 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()
169const 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 …]
Dsystem_event_observer.cpp57 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
Dadvanced_notification_service.cpp347 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 …]
Dreminder_data_manager.cpp61 const sptr<NotificationBundleOption> &bundleOption) in PublishReminder()
72 const int32_t &reminderId, const sptr<NotificationBundleOption> &bundleOption) in CancelReminder()
104const 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/
Dnotification_subscriber_manager_branch_test.cpp509 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 …]
Dmock_notification_preferences.cpp31 …rCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOpt… in GetNotificationSlot()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/
Dans_notification_annex_test.cpp78 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/
Dadvanced_notification_service_branch_test.cpp615 …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 …]
Dadvanced_notification_service_test.cpp1262 …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/
Dnotification_helper.cpp58 …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/
Dans_notification_branch_test.cpp102 …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()
196const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) ov… in GetSlotsByBundle()
202const 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/
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/core/test/unittest/ans_manager_proxy_test/
Dans_manager_proxy_unit_test.cpp1390 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/
Dnotification_helper_test.cpp167 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/
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()
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 …]
Dans_manager_stub.cpp454 …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/
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/mock/
Dmock_advanced_notification_service.cpp42 const sptr<NotificationBundleOption> bundleOption, bool &enable) in GetDistributedEnableInApplicationInfo()
/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.cpp419 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/
Dgetnotificationslotsforbundle_fuzzer.cpp25 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI() local

123