| /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() 94 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot() 115 …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() 258 const sptr<NotificationBundleOption> &bundleOption, uint32_t &slotFlags) in GetNotificationSlotFlagsForBundle() [all …]
|
| D | advanced_notification_slot_service.cpp | 49 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddSlots() local 91 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetSlots() local 114 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetSlotsByBundle() 153 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots() 197 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in RemoveAllSlots() local 244 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddSlotByType() local 281 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetEnabledForBundleSlotSelf() local 312 … AdvancedNotificationService::GetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOpt… in GetSlotFlagsAsBundle() 350 … AdvancedNotificationService::SetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOpt… in SetSlotFlagsAsBundle() 430 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetSlotByType() local [all …]
|
| D | system_event_observer.cpp | 61 …sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleNa… in GetBundleOption() local 76 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() local 104 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() local 144 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleAddEventInner() local 154 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleUpdateEventInner() local
|
| D | advanced_notification_reminder_service.cpp | 87 sptr<NotificationBundleOption> bundleOption = nullptr; in PublishReminder() local 114 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelReminder() local 133 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelAllReminders() local 156 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetValidReminders() local
|
| D | advanced_notification_publish_service.cpp | 42 const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetDefaultNotificationEnabled() 127 sptr<NotificationBundleOption> bundleOption; in Publish() local 153 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in Cancel() local 161 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelAll() local 238 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption( in CancelAsBundle() local 253 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in SetNotificationBadgeNum() local 318 …rrCode AdvancedNotificationService::DeleteByBundle(const sptr<NotificationBundleOption> &bundleOpt… in DeleteByBundle() 442 const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetShowBadgeEnabledForBundle() 476 const sptr<NotificationBundleOption> &bundleOption, bool &enabled) in GetShowBadgeEnabledForBundle() 517 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetShowBadgeEnabled() local [all …]
|
| D | advanced_notification_event_service.cpp | 101 const sptr<NotificationBundleOption> &bundleOption, ErrCode errCode) in SendCancelHiSysEvent() 117 const sptr<NotificationBundleOption> &bundleOption, ErrCode errCode) in SendRemoveHiSysEvent() 131 …ificationService::SendEnableNotificationHiSysEvent(const sptr<NotificationBundleOption> &bundleOpt… in SendEnableNotificationHiSysEvent() 151 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in SendEnableNotificationSlotHiSysEvent()
|
| D | advanced_notification_live_view_service.cpp | 209 auto bundleOption = requestDb.bundleOption; in SetNotificationRequestToDb() local 241 …auto *bundleOption = NotificationJsonConverter::ConvertFromJson<NotificationBundleOption>(jsonObje… in GetNotificationRequestFromDb() local 267 …auto *bundleOption = NotificationJsonConverter::ConvertFromJson<NotificationBundleOption>(jsonObje… in GetBatchNotificationRequestsFromDb() local 289 …e AdvancedNotificationService::IsAllowedRemoveSlot(const sptr<NotificationBundleOption> &bundleOpt… in IsAllowedRemoveSlot()
|
| D | advanced_notification_utils.cpp | 105 sptr<NotificationBundleOption> bundleOption = nullptr; in GenerateBundleOption() local 120 const sptr<NotificationBundleOption> &bundleOption) in GenerateValidBundleOption() 191 …de AdvancedNotificationService::GetAppTargetBundle(const sptr<NotificationBundleOption> &bundleOpt… in GetAppTargetBundle() 275 …const sptr<NotificationBundleOption> &bundleOption, const int32_t notificationId, const std::strin… in GetActiveNotificationByFilter() 477 void AdvancedNotificationService::OnBundleRemoved(const sptr<NotificationBundleOption> &bundleOptio… in OnBundleRemoved() 529 void AdvancedNotificationService::OnBundleDataAdd(const sptr<NotificationBundleOption> &bundleOptio… in OnBundleDataAdd() 552 …id AdvancedNotificationService::OnBundleDataUpdate(const sptr<NotificationBundleOption> &bundleOpt… in OnBundleDataUpdate() 817 sptr<NotificationBundleOption> bundleOption = in OnDistributedPublish() local 892 sptr<NotificationBundleOption> bundleOption = in OnDistributedUpdate() local 954 sptr<NotificationBundleOption> bundleOption = in OnDistributedDelete() local [all …]
|
| D | notification_dialog_manager.cpp | 200 const sptr<NotificationBundleOption>& bundleOption, bool hasPopped) in SetHasPoppedDialog() 213 auto bundleOption = GetBundleOptionByBundleName(bundleName); in OnDialogButtonClicked() local 234 auto bundleOption = GetBundleOptionByBundleName(bundleName); in OnDialogCrashed() local 256 sptr<NotificationBundleOption> bundleOption, in HandleOneDialogClosed()
|
| /base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
| D | notification_subscriber_manager_branch_test.cpp | 503 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 533 sptr<NotificationBundleOption> bundleOption = nullptr; variable 551 sptr<NotificationBundleOption> bundleOption = nullptr; variable 569 sptr<NotificationBundleOption> bundleOption = nullptr; variable 588 sptr<NotificationBundleOption> bundleOption = nullptr; variable 687 sptr<NotificationBundleOption> bundleOption = nullptr; variable 733 sptr<NotificationBundleOption> bundleOption = nullptr; variable 750 sptr<NotificationBundleOption> bundleOption = nullptr; variable 766 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 785 sptr<NotificationBundleOption> bundleOption = nullptr; variable [all …]
|
| /base/notification/distributed_notification_service/frameworks/core/src/ |
| D | ans_manager_stub_invalid.cpp | 89 ErrCode AnsManagerStub::GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uint… in GetSlotNumAsBundle() 121 …const sptr<NotificationBundleOption> &bundleOption, const int32_t notificationId, const std::strin… in GetActiveNotificationByFilter() 165 ErrCode AnsManagerStub::GetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOption, ui… in GetSlotFlagsAsBundle() 171 ErrCode AnsManagerStub::SetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOption, ui… in SetSlotFlagsAsBundle() 183 ErrCode AnsManagerStub::TriggerLocalLiveView(const sptr<NotificationBundleOption> &bundleOption, in TriggerLocalLiveView() 190 ErrCode AnsManagerStub::RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, in RemoveNotification() 197 ErrCode AnsManagerStub::RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) in RemoveAllNotifications() 215 ErrCode AnsManagerStub::DeleteByBundle(const sptr<NotificationBundleOption> &bundleOption) in DeleteByBundle() 228 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetSlotsByBundle() 235 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots() [all …]
|
| D | ans_manager_proxy_slot.cpp | 212 ErrCode AnsManagerProxy::GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uin… in GetSlotNumAsBundle() 252 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetSlotsByBundle() 287 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots() 337 ErrCode AnsManagerProxy::SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot() 388 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType… in GetEnabledForBundleSlot() 466 ErrCode AnsManagerProxy::GetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOption, … in GetSlotFlagsAsBundle() 510 ErrCode AnsManagerProxy::SetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOption, … in SetSlotFlagsAsBundle()
|
| D | ans_notification.cpp | 109 …rCode AnsNotification::GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption… in GetNotificationSlotNumAsBundle() 125 …ode AnsNotification::GetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, in GetNotificationSlotFlagsAsBundle() 142 …ode AnsNotification::SetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, in SetNotificationSlotFlagsAsBundle() 523 ErrCode AnsNotification::TriggerLocalLiveView(const NotificationBundleOption &bundleOption, in TriggerLocalLiveView() 562 ErrCode AnsNotification::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification() 580 ErrCode AnsNotification::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications() 611 ErrCode AnsNotification::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle() 637 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle() 654 const NotificationBundleOption &bundleOption, const std::vector<sptr<NotificationSlot>> &slots) in UpdateNotificationSlots() 711 ErrCode AnsNotification::IsAllowedNotify(const NotificationBundleOption &bundleOption, bool &allowe… in IsAllowedNotify() [all …]
|
| /base/notification/distributed_notification_service/frameworks/ans/src/ |
| D | notification_helper.cpp | 58 …de NotificationHelper::GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption… in GetNotificationSlotNumAsBundle() 63 … NotificationHelper::GetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, in GetNotificationSlotFlagsAsBundle() 69 … NotificationHelper::SetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, in SetNotificationSlotFlagsAsBundle() 209 ErrCode NotificationHelper::TriggerLocalLiveView(const NotificationBundleOption &bundleOption, in TriggerLocalLiveView() 221 ErrCode NotificationHelper::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification() 228 ErrCode NotificationHelper::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications() 238 …rCode NotificationHelper::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle() 249 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle() 255 const NotificationBundleOption &bundleOption, const std::vector<sptr<NotificationSlot>> &slots) in UpdateNotificationSlots() 277 ErrCode NotificationHelper::IsAllowedNotify(const NotificationBundleOption &bundleOption, bool &all… in IsAllowedNotify() [all …]
|
| /base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/ |
| D | ans_notification_annex_test.cpp | 81 NotificationBundleOption bundleOption; variable 146 NotificationBundleOption bundleOption; variable 163 NotificationBundleOption bundleOption; variable 178 NotificationBundleOption bundleOption; variable 193 NotificationBundleOption bundleOption; variable 209 NotificationBundleOption bundleOption; variable 226 NotificationBundleOption bundleOption; variable
|
| /base/notification/distributed_notification_service/services/ans/test/unittest/ |
| D | advanced_notification_service_branch_test.cpp | 620 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 705 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 720 …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 855 sptr<NotificationBundleOption> bundleOption = variable 1061 sptr<NotificationBundleOption> bundleOption = variable 1091 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption( variable 1108 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption( variable [all …]
|
| D | advanced_notification_service_test.cpp | 1318 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable 2022 sptr<NotificationBundleOption> bundleOption = nullptr; variable 2181 sptr<NotificationBundleOption> bundleOption = nullptr; variable 2358 sptr<NotificationBundleOption> bundleOption; variable 2414 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 2594 sptr<NotificationBundleOption> bundleOption = nullptr; variable 2610 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 2628 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable 2756 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable 2806 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable [all …]
|
| /base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
| D | ans_notification_branch_test.cpp | 104 …ErrCode GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) over… in GetSlotNumAsBundle() 171 … ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int notificationId, in RemoveNotification() 177 ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) override in RemoveAllNotifications() 187 ErrCode DeleteByBundle(const sptr<NotificationBundleOption> &bundleOption) override in DeleteByBundle() 198 …const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) ov… in GetSlotsByBundle() 204 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots() 227 …const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) ove… in SetNotificationsEnabledForSpecialBundle() 232 …ErrCode SetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool enab… in SetShowBadgeEnabledForBundle() 237 …ErrCode GetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool &ena… in GetShowBadgeEnabledForBundle() 280 …ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &all… in IsSpecialBundleAllowedNotify() [all …]
|
| /base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
| D | ans_manager_proxy_unit_test.cpp | 1407 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1428 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1451 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1474 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1497 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1520 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1559 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1580 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1601 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1624 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable [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/ans/test/unittest/ |
| D | notification_helper_test.cpp | 167 NotificationBundleOption bundleOption; variable 471 NotificationBundleOption bundleOption; variable 488 NotificationBundleOption bundleOption; variable 502 NotificationBundleOption bundleOption; variable 529 NotificationBundleOption bundleOption; variable 544 NotificationBundleOption bundleOption; variable 588 NotificationBundleOption bundleOption; variable 633 NotificationBundleOption bundleOption; variable 648 NotificationBundleOption bundleOption; variable 691 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/services/distributed/src/ |
| D | distributed_preferences.cpp | 69 const sptr<NotificationBundleOption> &bundleOption, std::string &key) in GetDistributedBundleKey() 166 const sptr<NotificationBundleOption> &bundleOption, bool isEnable) in SetDistributedBundleEnable() 188 const sptr<NotificationBundleOption> &bundleOption, bool &isEnable) in GetDistributedBundleEnable() 205 …istributedPreferences::DeleteDistributedBundleInfo(const sptr<NotificationBundleOption> &bundleOpt… in DeleteDistributedBundleInfo()
|