| /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/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
| D | notification_subscriber_manager_branch_test.cpp | 472 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 502 sptr<NotificationBundleOption> bundleOption = nullptr; variable 520 sptr<NotificationBundleOption> bundleOption = nullptr; variable 538 sptr<NotificationBundleOption> bundleOption = nullptr; variable 557 sptr<NotificationBundleOption> bundleOption = nullptr; variable 657 sptr<NotificationBundleOption> bundleOption = nullptr; variable 704 sptr<NotificationBundleOption> bundleOption = nullptr; variable 721 sptr<NotificationBundleOption> bundleOption = nullptr; variable 737 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable 757 sptr<NotificationBundleOption> bundleOption = nullptr; variable [all …]
|
| /base/notification/distributed_notification_service/services/ans/src/ |
| D | notification_preferences.cpp | 66 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in AddNotificationSlots() 101 …ficationPreferences::AddNotificationBundleProperty(const sptr<NotificationBundleOption> &bundleOpt… in AddNotificationBundleProperty() 121 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot() 153 …otificationPreferences::RemoveNotificationAllSlots(const sptr<NotificationBundleOption> &bundleOpt… in RemoveNotificationAllSlots() 191 …tificationPreferences::RemoveNotificationForBundle(const sptr<NotificationBundleOption> &bundleOpt… in RemoveNotificationForBundle() 219 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateNotificationSlots() 253 …rCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOpt… in GetNotificationSlot() 277 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationAllSlots() 297 const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) in GetNotificationSlotsNumForBundle() 315 const sptr<NotificationBundleOption> &bundleOption, uint32_t &slotFlags) in GetNotificationSlotFlagsForBundle() [all …]
|
| D | system_event_observer.cpp | 66 …sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleNa… in GetBundleOption() local 82 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() local 117 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 | 95 sptr<NotificationBundleOption> bundleOption = nullptr; in PublishReminder() local 124 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelReminder() local 145 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelAllReminders() local 170 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetValidReminders() local 193 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddExcludeDate() local 216 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in DelExcludeDates() local 239 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetExcludeDates() local
|
| D | advanced_notification_slot_service.cpp | 64 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddSlots() local 107 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetSlots() local 130 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetSlotsByBundle() 169 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in GetSlotByBundle() 208 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots() 252 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in RemoveAllSlots() local 304 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddSlotByType() local 342 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetEnabledForBundleSlotSelf() local 373 … AdvancedNotificationService::GetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOpt… in GetSlotFlagsAsBundle() 410 … AdvancedNotificationService::SetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOpt… in SetSlotFlagsAsBundle() [all …]
|
| D | advanced_notification_publish_service.cpp | 69 const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetDefaultNotificationEnabled() 141 sptr<NotificationBundleOption> bundleOption; in Publish() local 198 …sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundle, … in PublishNotificationForIndirectProxy() local 293 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in Cancel() local 312 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelAll() local 327 const sptr<NotificationBundleOption>& bundleOption, const int32_t reason) in ExcuteCancelAll() 376 const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId, int32_t userId) in CancelAsBundle() 428 const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId) in CancelAsBundle() 444 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption( in CancelAsBundle() local 450 const sptr<NotificationBundleOption> &bundleOption, const int32_t id) in CancelAsBundleWithAgent() [all …]
|
| D | advanced_notification_event_service.cpp | 102 const sptr<NotificationBundleOption> &bundleOption, ErrCode errCode) in SendCancelHiSysEvent() 118 const sptr<NotificationBundleOption> &bundleOption, ErrCode errCode) in SendRemoveHiSysEvent() 132 …ificationService::SendEnableNotificationHiSysEvent(const sptr<NotificationBundleOption> &bundleOpt… in SendEnableNotificationHiSysEvent() 152 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in SendEnableNotificationSlotHiSysEvent()
|
| D | advanced_notification_utils.cpp | 110 sptr<NotificationBundleOption> bundleOption = nullptr; in GenerateBundleOption() local 128 const sptr<NotificationBundleOption> &bundleOption) in GenerateValidBundleOption() 199 …de AdvancedNotificationService::GetAppTargetBundle(const sptr<NotificationBundleOption> &bundleOpt… in GetAppTargetBundle() 257 …const std::shared_ptr<NotificationRecord> &record, const sptr<NotificationBundleOption> &bundleOpt… in IsAllowedGetNotificationByFilter() 268 …const sptr<NotificationBundleOption> &bundleOption, const int32_t notificationId, const std::strin… in GetActiveNotificationByFilter() 491 void AdvancedNotificationService::OnBundleRemoved(const sptr<NotificationBundleOption> &bundleOptio… in OnBundleRemoved() 559 const sptr<NotificationBundleOption> &bundleOption) in RemoveDoNotDisturbProfileTrustList() 570 void AdvancedNotificationService::OnBundleDataAdd(const sptr<NotificationBundleOption> &bundleOptio… in OnBundleDataAdd() 600 …id AdvancedNotificationService::OnBundleDataUpdate(const sptr<NotificationBundleOption> &bundleOpt… in OnBundleDataUpdate() 937 sptr<NotificationBundleOption> bundleOption = in OnDistributedPublish() local [all …]
|
| D | notification_dialog_manager.cpp | 218 const sptr<NotificationBundleOption>& bundleOption, bool hasPopped) in SetHasPoppedDialog() 231 auto bundleOption = GetBundleOptionByBundleName(bundleName, uid); in OnDialogButtonClicked() local 252 auto bundleOption = GetBundleOptionByBundleName(bundleName, uid); in OnDialogCrashed() local 275 auto bundleOption = GetBundleOptionByBundleName(bundleName, uid); in onRemoveBundle() local 286 sptr<NotificationBundleOption> bundleOption, in HandleOneDialogClosed()
|
| /base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
| D | notification_do_not_disturb_profile_test.cpp | 47 NotificationBundleOption bundleOption; variable 64 NotificationBundleOption bundleOption; variable 81 NotificationBundleOption bundleOption; variable 104 NotificationBundleOption bundleOption; variable 122 NotificationBundleOption bundleOption; variable 144 NotificationBundleOption bundleOption; variable 168 NotificationBundleOption bundleOption; variable
|
| D | notification_helper_test.cpp | 174 NotificationBundleOption bundleOption; variable 276 NotificationBundleOption bundleOption; variable 495 NotificationBundleOption bundleOption; variable 512 NotificationBundleOption bundleOption; variable 526 NotificationBundleOption bundleOption; variable 553 NotificationBundleOption bundleOption; variable 568 NotificationBundleOption bundleOption; variable 612 NotificationBundleOption bundleOption; variable 657 NotificationBundleOption bundleOption; variable 672 NotificationBundleOption bundleOption; variable [all …]
|
| /base/notification/distributed_notification_service/frameworks/core/src/ |
| D | ans_manager_stub_invalid.cpp | 59 ErrCode AnsManagerStub::CancelAsBundle(const sptr<NotificationBundleOption> &bundleOption, int32_t … in CancelAsBundle() 66 const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId, int32_t userId) in CancelAsBundle() 108 ErrCode AnsManagerStub::GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uint… in GetSlotNumAsBundle() 141 …const sptr<NotificationBundleOption> &bundleOption, const int32_t notificationId, const std::strin… in GetActiveNotificationByFilter() 185 ErrCode AnsManagerStub::GetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOption, ui… in GetSlotFlagsAsBundle() 191 ErrCode AnsManagerStub::SetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOption, ui… in SetSlotFlagsAsBundle() 203 ErrCode AnsManagerStub::TriggerLocalLiveView(const sptr<NotificationBundleOption> &bundleOption, in TriggerLocalLiveView() 210 ErrCode AnsManagerStub::RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, in RemoveNotification() 217 ErrCode AnsManagerStub::RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) in RemoveAllNotifications() 235 ErrCode AnsManagerStub::DeleteByBundle(const sptr<NotificationBundleOption> &bundleOption) in DeleteByBundle() [all …]
|
| D | ans_manager_proxy_slot.cpp | 213 ErrCode AnsManagerProxy::GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uin… in GetSlotNumAsBundle() 253 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetSlotsByBundle() 288 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in GetSlotByBundle() 336 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots() 386 ErrCode AnsManagerProxy::SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot() 437 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType… in GetEnabledForBundleSlot() 515 ErrCode AnsManagerProxy::GetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOption, … in GetSlotFlagsAsBundle() 559 ErrCode AnsManagerProxy::SetSlotFlagsAsBundle(const sptr<NotificationBundleOption> &bundleOption, … in SetSlotFlagsAsBundle()
|
| D | ans_notification.cpp | 128 …rCode AnsNotification::GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption… in GetNotificationSlotNumAsBundle() 145 …ode AnsNotification::GetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, in GetNotificationSlotFlagsAsBundle() 163 …ode AnsNotification::SetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, in SetNotificationSlotFlagsAsBundle() 335 const NotificationBundleOption &bundleOption, int32_t notificationId) in CancelAsBundle() 673 ErrCode AnsNotification::TriggerLocalLiveView(const NotificationBundleOption &bundleOption, in TriggerLocalLiveView() 712 ErrCode AnsNotification::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification() 733 ErrCode AnsNotification::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications() 768 ErrCode AnsNotification::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle() 797 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle() 815 const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, in GetNotificationSlotForBundle() [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() 113 const NotificationBundleOption &bundleOption, int32_t notificationId) in CancelAsBundle() 234 ErrCode NotificationHelper::TriggerLocalLiveView(const NotificationBundleOption &bundleOption, in TriggerLocalLiveView() 246 ErrCode NotificationHelper::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification() 253 ErrCode NotificationHelper::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications() 263 …rCode NotificationHelper::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle() 274 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle() 280 const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, in GetNotificationSlotForBundle() [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/frameworks/core/test/unittest/ans_notification_branch_test/ |
| D | ans_notification_branch_test.cpp | 80 const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId) override in CancelAsBundle() 86 …const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId, int32_t userId) overri… in CancelAsBundle() 121 …ErrCode GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) over… in GetSlotNumAsBundle() 188 … ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int notificationId, in RemoveNotification() 194 ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) override in RemoveAllNotifications() 204 ErrCode DeleteByBundle(const sptr<NotificationBundleOption> &bundleOption) override in DeleteByBundle() 215 …const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) ov… in GetSlotsByBundle() 221 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in GetSlotByBundle() 228 …const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots() 251 …const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) ove… in SetNotificationsEnabledForSpecialBundle() [all …]
|
| /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 144 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
|
| /base/notification/distributed_notification_service/services/ans/test/unittest/ |
| D | advanced_notification_service_branch_test.cpp | 608 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 693 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 708 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 724 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 741 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 824 sptr<NotificationBundleOption> bundleOption = variable 843 sptr<NotificationBundleOption> bundleOption = variable 1049 sptr<NotificationBundleOption> bundleOption = variable 1081 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption( variable 1098 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption( variable [all …]
|
| D | advanced_notification_service_test.cpp | 350 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 363 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1168 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1258 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1316 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 1426 sptr<NotificationBundleOption> bundleOption; variable 1482 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 1631 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1647 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO… variable 1665 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SY… variable [all …]
|
| D | advanced_notification_publish_service_test.cpp | 288 sptr<NotificationBundleOption> bundleOption = nullptr; variable 343 sptr<NotificationBundleOption> bundleOption = nullptr; variable 724 sptr<NotificationBundleOption> bundleOption(new NotificationBundleOption("bundleName", 1)); variable 740 sptr<NotificationBundleOption> bundleOption(new NotificationBundleOption("bundleName", 1)); variable 757 sptr<NotificationBundleOption> bundleOption(new NotificationBundleOption("bundleName", 1)); variable 774 sptr<NotificationBundleOption> bundleOption(new NotificationBundleOption("bundleName", 1)); variable 790 sptr<NotificationBundleOption> bundleOption(new NotificationBundleOption("bundleName", 1)); variable 810 sptr<NotificationBundleOption> bundleOption(new NotificationBundleOption("bundleName", 1)); variable 827 sptr<NotificationBundleOption> bundleOption(new NotificationBundleOption("bundleName", 1)); variable
|
| /base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
| D | ans_manager_proxy_unit_test.cpp | 119 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); in SendRequestGetAllEnableNotifications() local 770 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 791 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1538 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1559 sptr<NotificationBundleOption> bundleOption = nullptr; variable 1582 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1605 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1628 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1651 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(); variable 1690 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/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()
|