Home
last modified time | relevance | path

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

1234

/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/services/ans/test/unittest/notification_subscriber_manager_branch_test/
Dnotification_subscriber_manager_branch_test.cpp472 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/
Dnotification_preferences.cpp66const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in AddNotificationSlots()
101 …ficationPreferences::AddNotificationBundleProperty(const sptr<NotificationBundleOption> &bundleOpt… in AddNotificationBundleProperty()
121const 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()
219const 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 …]
Dsystem_event_observer.cpp66 …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
Dadvanced_notification_reminder_service.cpp95 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
Dadvanced_notification_slot_service.cpp64 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()
169const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in GetSlotByBundle()
208const 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 …]
Dadvanced_notification_publish_service.cpp69 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 …]
Dadvanced_notification_event_service.cpp102 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()
152const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in SendEnableNotificationSlotHiSysEvent()
Dadvanced_notification_utils.cpp110 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()
268const 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 …]
Dnotification_dialog_manager.cpp218 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/
Dnotification_do_not_disturb_profile_test.cpp47 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
Dnotification_helper_test.cpp174 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/
Dans_manager_stub_invalid.cpp59 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()
141const 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 …]
Dans_manager_proxy_slot.cpp213 ErrCode AnsManagerProxy::GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uin… in GetSlotNumAsBundle()
253 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetSlotsByBundle()
288const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in GetSlotByBundle()
336const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots()
386 ErrCode AnsManagerProxy::SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot()
437const 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()
Dans_notification.cpp128 …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/
Dnotification_helper.cpp58 …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/
Dans_notification_annex_test.cpp81 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/
Dans_notification_branch_test.cpp80 const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId) override in CancelAsBundle()
86const 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()
215const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) ov… in GetSlotsByBundle()
221const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in GetSlotByBundle()
228const 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/
Dans_innerkits_module_setting_test.cpp77 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/
Dadvanced_notification_service_branch_test.cpp608 …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 …]
Dadvanced_notification_service_test.cpp350 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 …]
Dadvanced_notification_publish_service_test.cpp288 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/
Dans_manager_proxy_unit_test.cpp119 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/
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/services/distributed/src/
Ddistributed_preferences.cpp69 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()

1234