Home
last modified time | relevance | path

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

1234

/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/
H A 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
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dsystem_event_observer.cpp66 …sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleNa… in GetBundleOption() local
81 …sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleNa… in GetBundleOptionDataCleared() local
97 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent() local
132 sptr<NotificationBundleOption> bundleOption = GetBundleOptionDataCleared(want); in OnReceiveEvent() local
159 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleAddEventInner() local
169 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleUpdateEventInner() local
H A Dnotification_preferences.cpp297 const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) in GetNotificationSlotsNumForBundle()
315 const sptr<NotificationBundleOption> &bundleOption, uint32_t &slotFlags) in GetNotificationSlotFlagsForBundle()
325 const sptr<NotificationBundleOption> &bundleOption) in IsNotificationSlotFlagsExists()
334 const sptr<NotificationBundleOption> &bundleOption, uint32_t slotFlags) in SetNotificationSlotFlagsForBundle()
382 const sptr<NotificationBundleOption> &bundleOption, const int32_t &importance) in SetImportance()
397 const sptr<NotificationBundleOption> &bundleOption, int32_t &totalBadgeNum) in GetTotalBadgeNums()
406 const sptr<NotificationBundleOption> &bundleOption, const int32_t num) in SetTotalBadgeNums()
421 const sptr<NotificationBundleOption> &bundleOption, bool &enabled) in GetNotificationsEnabledForBundle()
430 const sptr<NotificationBundleOption> &bundleOption, const bool enabled) in SetNotificationsEnabledForBundle()
680 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); in UpdateCloneBundleInfo() local
[all …]
H A 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
H A Dadvanced_notification_slot_service.cpp64 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddSlots() local
107 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetSlots() local
252 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in RemoveAllSlots() local
304 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in AddSlotByType() local
342 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetEnabledForBundleSlotSelf() local
466 const sptr<NotificationBundleOption> &bundleOption) in AssignValidNotificationSlot()
581 const sptr<NotificationBundleOption> &bundleOption) in SetRequestBySlotType()
638 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in GetSlotByType() local
661 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in RemoveSlotByType() local
688 const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) in GetSlotNumAsBundle()
[all …]
H A Dadvanced_notification_publish_service.cpp71 const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetDefaultNotificationEnabled()
143 sptr<NotificationBundleOption> bundleOption; in Publish() local
301 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in Cancel() local
320 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in CancelAll() local
737 const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetShowBadgeEnabledForBundle()
791 const sptr<NotificationBundleOption> &bundleOption, bool &enabled) in HandleBadgeEnabledChanged()
804 const sptr<NotificationBundleOption> &bundleOption, bool &enabled) in GetShowBadgeEnabledForBundle()
1245 const sptr<NotificationBundleOption> &bundleOption, bool &allowed) in IsSpecialBundleAllowedNotify()
1319 sptr<NotificationBundleOption> bundleOption = nullptr; in PublishContinuousTaskNotification() local
1616 const sptr<NotificationBundleOption> &bundleOption) in RemoveAllNotificationsForDisable()
[all …]
H A 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()
H A Dadvanced_notification_utils.cpp112 sptr<NotificationBundleOption> bundleOption = nullptr; in GenerateBundleOption() local
130 const sptr<NotificationBundleOption> &bundleOption) in GenerateValidBundleOption()
561 const sptr<NotificationBundleOption> &bundleOption) in RemoveDoNotDisturbProfileTrustList()
940 sptr<NotificationBundleOption> bundleOption = in OnDistributedPublish() local
1021 sptr<NotificationBundleOption> bundleOption = in OnDistributedUpdate() local
1085 sptr<NotificationBundleOption> bundleOption = in OnDistributedDelete() local
1125 const sptr<NotificationBundleOption> bundleOption, bool &enable) in GetDistributedEnableInApplicationInfo()
1182 const sptr<NotificationBundleOption> &bundleOption) in GetLocalNotificationKeys()
1589 sptr<NotificationBundleOption> bundleOption = GenerateBundleOption(); in SetDoNotDisturbDateByUser() local
1887 const sptr<NotificationBundleOption> &bundleOption, AppExecFwk::BundleInfo &bundleInfo) in GetBundleInfoByNotificationBundleOption()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp502 sptr<NotificationBundleOption> bundleOption = nullptr; variable
520 sptr<NotificationBundleOption> bundleOption = nullptr; variable
557 sptr<NotificationBundleOption> bundleOption = nullptr; variable
704 sptr<NotificationBundleOption> bundleOption = nullptr; variable
721 sptr<NotificationBundleOption> bundleOption = nullptr; variable
757 sptr<NotificationBundleOption> bundleOption = nullptr; variable
796 sptr<NotificationBundleOption> bundleOption = nullptr; variable
828 sptr<NotificationBundleOption> bundleOption = nullptr; variable
862 sptr<NotificationBundleOption> bundleOption = nullptr; variable
878 sptr<NotificationBundleOption> bundleOption = nullptr; variable
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A 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
H A 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 …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp66 const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId, int32_t userId) in CancelAsBundle()
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()
248 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetSlotsByBundle()
255const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in GetSlotByBundle()
263const sptr<NotificationBundleOption> &bundleOption, const std::vector<sptr<NotificationSlot>> &slo… in UpdateSlots()
290 const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetNotificationsEnabledForSpecialBundle()
379 const sptr<NotificationBundleOption> &bundleOption, const std::string &groupName) in RemoveGroupByBundle()
[all …]
H A 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()
H A Dans_notification.cpp148 …ode AnsNotification::GetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, in GetNotificationSlotFlagsAsBundle()
338 const NotificationBundleOption &bundleOption, int32_t notificationId) in CancelAsBundle()
768 ErrCode AnsNotification::TriggerLocalLiveView(const NotificationBundleOption &bundleOption, in TriggerLocalLiveView()
807 ErrCode AnsNotification::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification()
828 ErrCode AnsNotification::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications()
863 ErrCode AnsNotification::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle()
892 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle()
910 const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, in GetNotificationSlotForBundle()
1028 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle()
1109 const NotificationBundleOption &bundleOption, const std::string &groupName) in RemoveGroupByBundle()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp114 const NotificationBundleOption &bundleOption, int32_t notificationId) in CancelAsBundle()
262 ErrCode NotificationHelper::TriggerLocalLiveView(const NotificationBundleOption &bundleOption, in TriggerLocalLiveView()
274 ErrCode NotificationHelper::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification()
281 ErrCode NotificationHelper::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications()
291 …rCode NotificationHelper::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption) in RemoveNotificationsByBundle()
302 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlotsForBundle()
308 const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, in GetNotificationSlotForBundle()
315 const NotificationBundleOption &bundleOption, const std::vector<sptr<NotificationSlot>> &slots) in UpdateNotificationSlots()
353 const NotificationBundleOption &bundleOption, std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle()
380 const NotificationBundleOption &bundleOption, const std::string &groupName) in RemoveGroupByBundle()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/
H A 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
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp80 const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId) override in CancelAsBundle()
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()
361 const sptr<NotificationBundleOption> &bundleOption, const std::string &groupName) override in RemoveGroupByBundle()
471 ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot()
477 ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in GetEnabledForBundleSlot()
535 ErrCode GetActiveNotificationByFilter(const sptr<NotificationBundleOption> &bundleOption, in GetActiveNotificationByFilter()
542 ErrCode TriggerLocalLiveView(const sptr<NotificationBundleOption> &bundleOption, in TriggerLocalLiveView()
548 ErrCode SetDistributedEnabledByBundle(const sptr<NotificationBundleOption> &bundleOption, in SetDistributedEnabledByBundle()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_setting_test.cpp77 NotificationBundleOption bundleOption; variable
98 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
144 NotificationBundleOption bundleOption("bundlename", CALLING_UID); variable
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A 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 …]
H A Dadvanced_notification_service_test.cpp1168 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1258 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1426 sptr<NotificationBundleOption> bundleOption; variable
1631 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1840 sptr<NotificationBundleOption> bundleOption = nullptr; variable
2261 sptr<NotificationBundleOption> bundleOption = nullptr; variable
2579 sptr<NotificationBundleOption> bundleOption = nullptr; variable
2633 sptr<NotificationBundleOption> bundleOption = nullptr; variable
3200 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
3214 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); variable
[all …]
H A 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
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp1559 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1711 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1732 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1867 sptr<NotificationBundleOption> bundleOption = nullptr; variable
1888 sptr<NotificationBundleOption> bundleOption = nullptr; variable
3762 sptr<NotificationBundleOption> bundleOption = nullptr; variable
3893 sptr<NotificationBundleOption> bundleOption = nullptr; variable
7808 std::vector<NotificationBundleOption> bundleOption; variable
7830 std::vector<NotificationBundleOption> bundleOption; variable
7852 std::vector<NotificationBundleOption> bundleOption; variable
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/
H A 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
/ohos5.0/base/notification/distributed_notification_service/tools/test/mock/
H A Dmock_ans_notification.cpp23 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle()
/ohos5.0/base/notification/distributed_notification_service/services/distributed/src/
H A 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