Home
last modified time | relevance | path

Searched refs:NotificationPreferencesInfo (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_info.cpp27 NotificationPreferencesInfo::BundleInfo::BundleInfo() in BundleInfo()
31 NotificationPreferencesInfo::BundleInfo::~BundleInfo() in ~BundleInfo()
101 bool NotificationPreferencesInfo::BundleInfo::GetSlot( in GetSlot()
201 uint32_t NotificationPreferencesInfo::BundleInfo::GetSlotFlags() in GetSlotFlags()
211 void NotificationPreferencesInfo::BundleInfo::RemoveAllSlots() in RemoveAllSlots()
232 bool NotificationPreferencesInfo::GetBundleInfo( in GetBundleInfo()
265 void NotificationPreferencesInfo::ClearBundleInfo() in ClearBundleInfo()
281 void NotificationPreferencesInfo::AddDoNotDisturbProfiles( in AddDoNotDisturbProfiles()
295 void NotificationPreferencesInfo::RemoveDoNotDisturbProfiles( in RemoveDoNotDisturbProfiles()
309 bool NotificationPreferencesInfo::GetDoNotDisturbProfiles( in GetDoNotDisturbProfiles()
[all …]
H A Dnotification_preferences.cpp108 NotificationPreferencesInfo::BundleInfo bundleInfo; in AddNotificationBundleProperty()
164 NotificationPreferencesInfo::BundleInfo bundleInfo; in RemoveNotificationAllSlots()
201 NotificationPreferencesInfo::BundleInfo bundleInfo; in RemoveNotificationForBundle()
262 NotificationPreferencesInfo::BundleInfo bundleInfo; in GetNotificationSlot()
284 NotificationPreferencesInfo::BundleInfo bundleInfo; in GetNotificationAllSlots()
304 NotificationPreferencesInfo::BundleInfo bundleInfo; in GetNotificationSlotsNumForBundle()
679 NotificationPreferencesInfo::BundleInfo bundleInfo; in UpdateCloneBundleInfo()
836 NotificationPreferencesInfo::BundleInfo bundleInfo; in CheckSlotForCreateSlot()
852 NotificationPreferencesInfo::BundleInfo bundleInfo; in CheckSlotForRemoveSlot()
877 NotificationPreferencesInfo::BundleInfo bundleInfo; in CheckSlotForUpdateSlot()
[all …]
H A Dnotification_preferences_database.cpp283 const NotificationPreferencesInfo::BundleInfo &bundleInfo) in PutBundlePropertyToDisturbeDB()
317 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enable) in PutShowBadge()
370 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enabled) in PutNotificationsEnabledForBundle()
421 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped) in PutHasPoppedDialog()
610 NotificationPreferencesInfo::BundleInfo bundleInfo; in CheckBundle()
630 const NotificationPreferencesInfo::BundleInfo &bundleInfo) in PutBundlePropertyValueToDisturbeDB()
690 NotificationPreferencesInfo::BundleInfo &bundleInfo) in GetBundleInfo()
1040 NotificationPreferencesInfo::BundleInfo bunldeInfo; in ParseBundleFromDistureDB()
1483 const NotificationPreferencesInfo::BundleInfo &bundleInfo) const in GenerateBundleLablel()
1951 const NotificationPreferencesInfo::BundleInfo &bundleInfo, bool &enabled) in GetDistributedEnabledForBundle()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_database.h89 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enabled);
100 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enabled);
111 const NotificationPreferencesInfo::BundleInfo &bundleInfo, bool &enabled);
164 bool ParseFromDisturbeDB(NotificationPreferencesInfo &info, int32_t userId = -1);
218 NotificationPreferencesInfo::BundleInfo &bundleInfo);
289 void ParseBundleFromDistureDB(NotificationPreferencesInfo &info,
328 void GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_t userId);
329 void GetDoNotDisturbBeginDate(NotificationPreferencesInfo &info, int32_t userId);
330 void GetDoNotDisturbEndDate(NotificationPreferencesInfo &info, int32_t userId);
331 void GetEnableAllNotification(NotificationPreferencesInfo &info, int32_t userId);
[all …]
H A Dnotification_preferences.h391 bool GetBundleInfo(NotificationPreferencesInfo &preferencesInfo,
392 …const sptr<NotificationBundleOption> &bundleOption, NotificationPreferencesInfo::BundleInfo &info)…
394 const sptr<NotificationSlot> &slot, NotificationPreferencesInfo &preferencesInfo) const;
396 …const NotificationConstant::SlotType &slotType, NotificationPreferencesInfo &preferencesInfo) cons…
398 const sptr<NotificationSlot> &slot, NotificationPreferencesInfo &preferencesInfo) const;
400 ErrCode SetBundleProperty(NotificationPreferencesInfo &preferencesInfo,
403 ErrCode SaveBundleProperty(NotificationPreferencesInfo::BundleInfo &bundleInfo,
414 NotificationPreferencesInfo preferencesInfo_ {};
H A Dnotification_preferences_info.h32 class NotificationPreferencesInfo final {
238 NotificationPreferencesInfo() in NotificationPreferencesInfo() function
244 ~NotificationPreferencesInfo() in ~NotificationPreferencesInfo()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_info_test.cpp48 NotificationPreferencesInfo::BundleInfo bundleInfo;
87 NotificationPreferencesInfo::BundleInfo bundleInfo;
101 …std::shared_ptr<NotificationPreferencesInfo> preferencesInfo = std::make_shared<NotificationPrefer…
116 …std::shared_ptr<NotificationPreferencesInfo> preferencesInfo = std::make_shared<NotificationPrefer…
136 …std::shared_ptr<NotificationPreferencesInfo> preferencesInfo = std::make_shared<NotificationPrefer…
154 …std::shared_ptr<NotificationPreferencesInfo> preferencesInfo = std::make_shared<NotificationPrefer…
173 …std::shared_ptr<NotificationPreferencesInfo> preferencesInfo = std::make_shared<NotificationPrefer…
H A Dnotification_preferences_database_test.cpp91 NotificationPreferencesInfo::BundleInfo bundleInfo;
105 NotificationPreferencesInfo::BundleInfo bundleInfo;
117 NotificationPreferencesInfo::BundleInfo bundleInfo;
142 NotificationPreferencesInfo::BundleInfo bundleInfo;
157 NotificationPreferencesInfo::BundleInfo bundleInfo;
170 NotificationPreferencesInfo::BundleInfo bundleInfo;
183 NotificationPreferencesInfo::BundleInfo bundleInfo;
197 NotificationPreferencesInfo::BundleInfo bundleInfo;
299 NotificationPreferencesInfo::BundleInfo bundleInfo;
378 NotificationPreferencesInfo::BundleInfo info;
[all …]
H A Dnotification_preferences_test.cpp45 void TestAddNotificationSlot(NotificationPreferencesInfo &info);
77 void NotificationPreferencesTest::TestAddNotificationSlot(NotificationPreferencesInfo &info) in TestAddNotificationSlot()
1141 NotificationPreferencesInfo info;
1155 NotificationPreferencesInfo info;
1170 NotificationPreferencesInfo info;
1184 NotificationPreferencesInfo info;
1198 NotificationPreferencesInfo info;
1262 NotificationPreferencesInfo info;
1276 NotificationPreferencesInfo info;
1291 NotificationPreferencesInfo info;
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp56 NotificationPreferencesInfo::BundleInfo bundleInfo;
72 NotificationPreferencesInfo::BundleInfo bundleInfo;
92 NotificationPreferencesInfo::BundleInfo bundleInfo;
128 NotificationPreferencesInfo::BundleInfo bundleInfo;
371 NotificationPreferencesInfo info;
387 NotificationPreferencesInfo info;
735 NotificationPreferencesInfo info;
787 NotificationPreferencesInfo info;
805 NotificationPreferencesInfo info;
823 NotificationPreferencesInfo info;
[all …]