Home
last modified time | relevance | path

Searched defs:bundleOption (Results 1 – 25 of 69) 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()
94const 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()
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()
258 const sptr<NotificationBundleOption> &bundleOption, uint32_t &slotFlags) in GetNotificationSlotFlagsForBundle()
[all …]
Dadvanced_notification_slot_service.cpp49 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()
153const 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 …]
Dsystem_event_observer.cpp61 …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
Dadvanced_notification_reminder_service.cpp87 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
Dadvanced_notification_publish_service.cpp42 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 …]
Dadvanced_notification_event_service.cpp101 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()
151const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in SendEnableNotificationSlotHiSysEvent()
Dadvanced_notification_live_view_service.cpp209 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()
Dadvanced_notification_utils.cpp105 sptr<NotificationBundleOption> bundleOption = nullptr; in GenerateBundleOption() local
120 const sptr<NotificationBundleOption> &bundleOption) in GenerateValidBundleOption()
191 …de AdvancedNotificationService::GetAppTargetBundle(const sptr<NotificationBundleOption> &bundleOpt… in GetAppTargetBundle()
275const 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 …]
Dnotification_dialog_manager.cpp200 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/
Dnotification_subscriber_manager_branch_test.cpp503 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/
Dans_manager_stub_invalid.cpp89 ErrCode AnsManagerStub::GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uint… in GetSlotNumAsBundle()
121const 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()
235const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots()
[all …]
Dans_manager_proxy_slot.cpp212 ErrCode AnsManagerProxy::GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uin… in GetSlotNumAsBundle()
252 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetSlotsByBundle()
287const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots()
337 ErrCode AnsManagerProxy::SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot()
388const 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()
Dans_notification.cpp109 …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/
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()
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/
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/services/ans/test/unittest/
Dadvanced_notification_service_branch_test.cpp620 …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 …]
Dadvanced_notification_service_test.cpp1318 …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/
Dans_notification_branch_test.cpp104 …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()
198const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) ov… in GetSlotsByBundle()
204const 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/
Dans_manager_proxy_unit_test.cpp1407 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/
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/ans/test/unittest/
Dnotification_helper_test.cpp167 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/
Dmock_ans_notification.cpp23 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle()
/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()

123