Home
last modified time | relevance | path

Searched refs:NotificationBundleOption (Results 1 – 25 of 137) sorted by relevance

123456

/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h73 ErrCode RemoveNotificationAllSlots(const sptr<NotificationBundleOption> &bundleOption);
81 ErrCode RemoveNotificationForBundle(const sptr<NotificationBundleOption> &bundleOption);
101 ErrCode GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOption,
130 ErrCode IsShowBadge(const sptr<NotificationBundleOption> &bundleOption, bool &enable);
366 void UpdateProfilesUtil(std::vector<NotificationBundleOption>& trustList,
367 const std::vector<NotificationBundleOption> bundleList);
371 void RemoveAnsBundleDbInfo(const sptr<NotificationBundleOption> &bundleOption);
372 void RemoveEnabledDbByBundle(const sptr<NotificationBundleOption> &bundleOption);
393 ErrCode CheckSlotForCreateSlot(const sptr<NotificationBundleOption> &bundleOption,
395 ErrCode CheckSlotForRemoveSlot(const sptr<NotificationBundleOption> &bundleOption,
[all …]
H A Dadvanced_notification_service.h60 sptr<NotificationBundleOption> bundleOption {nullptr};
848 void OnBundleRemoved(const sptr<NotificationBundleOption> &bundleOption);
923 void OnBundleDataAdd(const sptr<NotificationBundleOption> &bundleOption);
1099 const sptr<NotificationBundleOption> &bundleOption);
1248 static sptr<NotificationBundleOption> GenerateBundleOption();
1249 …static sptr<NotificationBundleOption> GenerateValidBundleOption(const sptr<NotificationBundleOptio…
1289 const sptr<NotificationBundleOption> bundleOption, bool &enable);
1298 sptr<NotificationBundleOption> &targetBundle);
1334 const sptr<NotificationBundleOption> &bundleOption, bool enabled);
1388 const sptr<NotificationBundleOption> &bundleOption);
[all …]
H A Dnotification_clone_disturb_service.h34 void OnBundleDataAdd(const sptr<NotificationBundleOption> &bundleOption);
35 void OnBundleDataUpdate(const sptr<NotificationBundleOption> &bundleOption);
39 …std::vector<NotificationBundleOption> trustList, std::vector<NotificationBundleOption>& exitBunldl…
40 std::vector<NotificationBundleOption>& notExitBunldleList);
41 void CheckBundleInfo(std::vector<NotificationBundleOption>& trustList,
42 std::vector<NotificationBundleOption>& bundleList, const NotificationBundleOption& bundle);
H A Dnotification_dialog_manager.h34 class NotificationBundleOption; variable
74 sptr<NotificationBundleOption> bundleOption;
85 const sptr<NotificationBundleOption>& bundle,
103 …ErrCode AddDialogInfo(const sptr<NotificationBundleOption>& bundle, const sptr<AnsDialogCallback>&…
109 void RemoveDialogInfoByBundleOption(const sptr<NotificationBundleOption>& bundle,
117 …static bool SetHasPoppedDialog(const sptr<NotificationBundleOption>& bundleOption, bool hasPopped);
120 …bool AddDialogInfoIfNotExist(const sptr<NotificationBundleOption>& bundle, const sptr<AnsDialogCal…
121 …sptr<NotificationBundleOption> GetBundleOptionByBundleName(const std::string& bundleName, const in…
129 …bool HandleOneDialogClosed(sptr<NotificationBundleOption> bundleOption, EnabledDialogStatus status…
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_bundle_option.cpp25 NotificationBundleOption::NotificationBundleOption(const std::string &bundleName, const int32_t uid) in NotificationBundleOption() function in OHOS::Notification::NotificationBundleOption
29 NotificationBundleOption::~NotificationBundleOption() in ~NotificationBundleOption()
37 std::string NotificationBundleOption::GetBundleName() const in GetBundleName()
42 void NotificationBundleOption::SetUid(const int32_t uid) in SetUid()
47 int32_t NotificationBundleOption::GetUid() const in GetUid()
57 int32_t NotificationBundleOption::GetInstanceKey() const in GetInstanceKey()
67 int32_t NotificationBundleOption::GetAppIndex() const in GetAppIndex()
72 std::string NotificationBundleOption::Dump() in Dump()
102 NotificationBundleOption *NotificationBundleOption::Unmarshalling(Parcel &parcel) in Unmarshalling()
113 bool NotificationBundleOption::ReadFromParcel(Parcel &parcel) in ReadFromParcel()
[all …]
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 ErrCode NotificationHelper::RemoveNotificationsByBundle(const NotificationBundleOption &bundleOptio… 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/ans/test/unittest/
H A Dnotification_do_not_disturb_profile_test.cpp46 std::vector<NotificationBundleOption> trustlist;
47 NotificationBundleOption bundleOption;
63 std::vector<NotificationBundleOption> trustlist;
64 NotificationBundleOption bundleOption;
81 NotificationBundleOption bundleOption;
104 NotificationBundleOption bundleOption;
122 NotificationBundleOption bundleOption;
129 sptr<NotificationBundleOption> notification = new (std::nothrow) NotificationBundleOption();
144 NotificationBundleOption bundleOption;
150 sptr<NotificationBundleOption> notification = new (std::nothrow) NotificationBundleOption();
[all …]
H A Dnotification_bundle_option_test.cpp46 auto rrc = std::make_shared<NotificationBundleOption>(bundleName, uid);
62 auto rrc = std::make_shared<NotificationBundleOption>(bundleName, uid);
77 auto rrc = std::make_shared<NotificationBundleOption>(bundleName, uid);
93 auto rrc = std::make_shared<NotificationBundleOption>(bundleName, uid);
109 std::shared_ptr<NotificationBundleOption> result =
110 std::make_shared<NotificationBundleOption>(bundleName, uid);
131 auto rrc = std::make_shared<NotificationBundleOption>(bundleName, uid);
145 auto rrc = std::make_shared<NotificationBundleOption>(bundleName, uid);
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h210 …static ErrCode CancelAsBundle(const NotificationBundleOption &bundleOption, int32_t notificationId…
539 static ErrCode TriggerLocalLiveView(const NotificationBundleOption &bundleOption,
562 static ErrCode RemoveNotification(const NotificationBundleOption &bundleOption,
572 static ErrCode RemoveAllNotifications(const NotificationBundleOption &bundleOption);
583 static ErrCode RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption);
600 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots);
611 … const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType,
664 static ErrCode IsAllowedNotify(const NotificationBundleOption &bundleOption, bool &allowed);
705 const NotificationBundleOption &bundleOption, std::string &deviceId, bool enabled);
945 static ErrCode SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption,
[all …]
H A Dnotification_bundle_option.h24 class NotificationBundleOption : public Parcelable, public NotificationJsonConvertionBase {
26 NotificationBundleOption() = default;
34 NotificationBundleOption(const std::string &bundleName, const int32_t uid);
36 virtual ~NotificationBundleOption();
115 static NotificationBundleOption *Unmarshalling(Parcel &parcel);
131 static NotificationBundleOption *FromJson(const nlohmann::json &jsonObject);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h109 …ErrCode GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption, uint64_t &num…
211 ErrCode CancelAsBundle(const NotificationBundleOption &bundleOption, int32_t notificationId);
539 ErrCode TriggerLocalLiveView(const NotificationBundleOption &bundleOption,
572 ErrCode RemoveAllNotifications(const NotificationBundleOption &bundleOption);
583 ErrCode RemoveNotificationsByBundle(const NotificationBundleOption &bundleOption);
601 const NotificationBundleOption &bundleOption, std::vector<sptr<NotificationSlot>> &slots);
612 … const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType,
666 ErrCode IsAllowedNotify(const NotificationBundleOption &bundleOption, bool &allowed);
707 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled);
1015 ErrCode SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption,
[all …]
H A Dans_manager_interface.h121 … const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId, int32_t userId) = 0;
180 …virtual ErrCode GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uint64_t &n…
314 virtual ErrCode TriggerLocalLiveView(const sptr<NotificationBundleOption> &bundleOption,
344 virtual ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) = 0;
354 virtual ErrCode DeleteByBundle(const sptr<NotificationBundleOption> &bundleOption) = 0;
371 …const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<NotificationSlot>> &slots) = …
383 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType,
432 …const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) = 0;
604 const sptr<NotificationBundleOption> &bundleOption, const std::string &groupName) = 0;
786 virtual ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
[all …]
H A Dans_manager_proxy.h95 …ErrCode CancelAsBundle(const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId)…
108 …const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId, int32_t userId) overri…
167 …ErrCode GetSlotNumAsBundle(const sptr<NotificationBundleOption> &bundleOption, uint64_t &num) over…
301 ErrCode TriggerLocalLiveView(const sptr<NotificationBundleOption> &bundleOption,
313 …ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int32_t notificatio…
322 ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) override;
341 ErrCode DeleteByBundle(const sptr<NotificationBundleOption> &bundleOption) override;
370 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType,
592 const sptr<NotificationBundleOption> &bundleOption, const std::string &groupName) override;
774 ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_slot_service_test.cpp151 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
190 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
245 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
264 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
304 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
325 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
348 sptr<NotificationBundleOption> bundle = new (std::nothrow) NotificationBundleOption();
416 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
495 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
518 sptr<NotificationBundleOption> bundle = new (std::nothrow) NotificationBundleOption();
[all …]
H A Dadvanced_notification_utils_test.cpp173 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
175 record->bundleOption = new NotificationBundleOption("test", 1);
197 auto bundleOption = new NotificationBundleOption("test", 1);
214 sptr<NotificationBundleOption> bundle;
246 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
307 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
311 sptr<NotificationBundleOption> bundle2 = new NotificationBundleOption("test1", 2);
329 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
369 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
387 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1);
[all …]
H A Dadvanced_notification_service_branch_test.cpp608 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO…
693 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO…
708 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO…
724 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO…
741 …sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NO…
824 sptr<NotificationBundleOption> bundleOption =
843 sptr<NotificationBundleOption> bundleOption =
1049 sptr<NotificationBundleOption> bundleOption =
1081 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(
1098 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(
[all …]
H A Dreminder_data_manager_test.cpp71 sptr<NotificationBundleOption> option = new NotificationBundleOption(); in HWTEST_F()
89 sptr<NotificationBundleOption> option = new NotificationBundleOption(); in HWTEST_F()
135 sptr<NotificationBundleOption> option = new NotificationBundleOption(); in HWTEST_F()
248 sptr<NotificationBundleOption> option = new NotificationBundleOption(); in HWTEST_F()
288 sptr<NotificationBundleOption> option(new NotificationBundleOption()); in HWTEST_F()
457 sptr<NotificationBundleOption> option1 = new NotificationBundleOption(); in HWTEST_F()
458 sptr<NotificationBundleOption> option2 = new NotificationBundleOption(); in HWTEST_F()
459 sptr<NotificationBundleOption> option3 = new NotificationBundleOption(); in HWTEST_F()
658 sptr<NotificationBundleOption> option = new NotificationBundleOption("test", -1); in HWTEST_F()
674 sptr<NotificationBundleOption> option = new NotificationBundleOption(); in HWTEST_F()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp144 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in GetNotificationSlotNumAsBundle()
162 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in GetNotificationSlotFlagsAsBundle()
180 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in SetNotificationSlotFlagsAsBundle()
346 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in CancelAsBundle()
784 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in TriggerLocalLiveView()
824 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in RemoveNotification()
842 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in RemoveAllNotifications()
877 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in RemoveNotificationsByBundle()
905 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in GetNotificationSlotsForBundle()
924 sptr<NotificationBundleOption> bo(new (std::nothrow) NotificationBundleOption(bundleOption)); in GetNotificationSlotForBundle()
[all …]
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()
255 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, in GetSlotByBundle()
263 …const 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 …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp472 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
538 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
657 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
737 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
776 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
811 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
844 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
893 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
1016 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
1049 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption();
[all …]
/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()
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()
559 ErrCode IsDistributedEnabledByBundle(const sptr<NotificationBundleOption> &bundleOption, in IsDistributedEnabledByBundle()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/clone/
H A Dnotification_clone_disturb_service.cpp91 std::vector<NotificationBundleOption> exitBunldleList; in OnRestore()
92 std::vector<NotificationBundleOption> notExitBunldleList; in OnRestore()
119 …std::vector<NotificationBundleOption> trustList, std::vector<NotificationBundleOption>& exitBunldl… in GetProfileUid()
120 std::vector<NotificationBundleOption>& notExitBunldleList) in GetProfileUid()
142 void NotificationCloneDisturb::OnBundleDataAdd(const sptr<NotificationBundleOption> &bundleOption) in OnBundleDataAdd()
147 void NotificationCloneDisturb::OnBundleDataUpdate(const sptr<NotificationBundleOption> &bundleOptio… in OnBundleDataUpdate()
173 NotificationBundleOption bundle(bundleName, uid); in HandlerBundleEvent()
185 std::vector<NotificationBundleOption> bundleList; in HandlerBundleEvent()
206 void NotificationCloneDisturb::CheckBundleInfo(std::vector<NotificationBundleOption>& trustList, in CheckBundleInfo()
207 std::vector<NotificationBundleOption>& bundleList, const NotificationBundleOption& bundle) in CheckBundleInfo()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dsystem_event_observer.cpp60 sptr<NotificationBundleOption> SystemEventObserver::GetBundleOption(AAFwk::Want want) in GetBundleOption()
66 …sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleNa… in GetBundleOption()
75 sptr<NotificationBundleOption> SystemEventObserver::GetBundleOptionDataCleared(AAFwk::Want want) in GetBundleOptionDataCleared()
81 …sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundleNa… in GetBundleOptionDataCleared()
97 sptr<NotificationBundleOption> bundleOption = GetBundleOption(want); in OnReceiveEvent()
132 sptr<NotificationBundleOption> bundleOption = GetBundleOptionDataCleared(want); in OnReceiveEvent()
159 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleAddEventInner()
169 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleUpdateEventInner()
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()
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()
625 const std::vector<NotificationBundleOption> bundleList) in UpdateProfilesUtil()
680 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(); in UpdateCloneBundleInfo()
[all …]
/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;
138 sptr<NotificationBundleOption> bundleOption = nullptr;
150 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption("<bundleName>", 783);
164 sptr<NotificationBundleOption> bundleOption = nullptr;
176 sptr<NotificationBundleOption> bundleOption = nullptr;
187 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption("<bundleName>", 783);

123456