Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences_info.cpp19 NotificationPreferencesInfo::BundleInfo::BundleInfo() in BundleInfo()
21 NotificationPreferencesInfo::BundleInfo::~BundleInfo() in ~BundleInfo()
24 void NotificationPreferencesInfo::BundleInfo::SetBundleName(const std::string &name) in SetBundleName()
29 std::string NotificationPreferencesInfo::BundleInfo::GetBundleName() const in GetBundleName()
34 void NotificationPreferencesInfo::BundleInfo::SetImportance(const int32_t &level) in SetImportance()
39 int32_t NotificationPreferencesInfo::BundleInfo::GetImportance() const in GetImportance()
44 void NotificationPreferencesInfo::BundleInfo::SetIsShowBadge(const bool &isShowBadge) in SetIsShowBadge()
49 bool NotificationPreferencesInfo::BundleInfo::GetIsShowBadge() const in GetIsShowBadge()
54 void NotificationPreferencesInfo::BundleInfo::SetBadgeTotalNum(const int32_t &num) in SetBadgeTotalNum()
59 int32_t NotificationPreferencesInfo::BundleInfo::GetBadgeTotalNum() const in GetBadgeTotalNum()
[all …]
Dnotification_preferences.cpp53 NotificationPreferencesInfo preferencesInfo = preferencesInfo_; in AddNotificationSlots()
81 NotificationPreferencesInfo preferencesInfo = preferencesInfo_; in AddNotificationBundleProperty()
82 NotificationPreferencesInfo::BundleInfo bundleInfo; in AddNotificationBundleProperty()
103 NotificationPreferencesInfo preferencesInfo = preferencesInfo_; in RemoveNotificationSlot()
123 NotificationPreferencesInfo preferencesInfo = preferencesInfo_; in RemoveNotificationAllSlots()
125 NotificationPreferencesInfo::BundleInfo bundleInfo; in RemoveNotificationAllSlots()
149 NotificationPreferencesInfo preferencesInfo = preferencesInfo_; in RemoveNotificationForBundle()
176 NotificationPreferencesInfo preferencesInfo = preferencesInfo_; in UpdateNotificationSlots()
206 NotificationPreferencesInfo::BundleInfo bundleInfo; in GetNotificationSlot()
227 NotificationPreferencesInfo::BundleInfo bundleInfo; in GetNotificationAllSlots()
[all …]
Dnotification_preferences_database.cpp233 …std::function<void(NotificationPreferencesDatabase *, NotificationPreferencesInfo::BundleInfo &, s…
328 const NotificationPreferencesInfo::BundleInfo &bundleInfo) in PutBundlePropertyToDisturbeDB()
360 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enable) in PutShowBadge()
378 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &importance) in PutImportance()
396 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum) in PutTotalBadgeNums()
413 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enabled) in PutNotificationsEnabledForBundle()
450 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped) in PutHasPoppedDialog()
543 NotificationPreferencesInfo::BundleInfo bundleInfo; in CheckBundle()
562 const NotificationPreferencesInfo::BundleInfo &bundleInfo) in PutBundlePropertyValueToDisturbeDB()
593 bool NotificationPreferencesDatabase::ParseFromDisturbeDB(NotificationPreferencesInfo &info) in ParseFromDisturbeDB()
[all …]
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_preferences_database.h50 bool PutBundlePropertyToDisturbeDB(const NotificationPreferencesInfo::BundleInfo &bundleInfo);
59 … bool PutShowBadge(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enable);
69 …bool PutImportance(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &impor…
78 …bool PutTotalBadgeNums(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &t…
88 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enabled);
98 …bool PutHasPoppedDialog(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &has…
115 bool ParseFromDisturbeDB(NotificationPreferencesInfo &info);
164 …bool PutBundlePropertyValueToDisturbeDB(const NotificationPreferencesInfo::BundleInfo &bundleInfo);
169 const std::string &bundleKey, const NotificationPreferencesInfo::BundleInfo &bundleInfo);
194NotificationPreferencesInfo &info, const std::unordered_map<std::string, std::string> &entries);
[all …]
Dnotification_preferences.h250 const sptr<NotificationSlot> &slot, NotificationPreferencesInfo &preferencesInfo) const;
252 …const NotificationConstant::SlotType &slotType, NotificationPreferencesInfo &preferencesInfo) cons…
254 const sptr<NotificationSlot> &slot, NotificationPreferencesInfo &preferencesInfo) const;
256 ErrCode SetBundleProperty(NotificationPreferencesInfo &preferencesInfo,
259 ErrCode SaveBundleProperty(NotificationPreferencesInfo::BundleInfo &bundleInfo,
268 NotificationPreferencesInfo preferencesInfo_ {};
Dnotification_preferences_info.h30 class NotificationPreferencesInfo final {
200 NotificationPreferencesInfo() in NotificationPreferencesInfo() function
205 ~NotificationPreferencesInfo() in ~NotificationPreferencesInfo()
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_preferences_database_test.cpp90 NotificationPreferencesInfo::BundleInfo bundleInfo;
104 NotificationPreferencesInfo::BundleInfo bundleInfo;
116 NotificationPreferencesInfo::BundleInfo bundleInfo;
141 NotificationPreferencesInfo::BundleInfo bundleInfo;
156 NotificationPreferencesInfo::BundleInfo bundleInfo;
169 NotificationPreferencesInfo::BundleInfo bundleInfo;
182 NotificationPreferencesInfo::BundleInfo bundleInfo;
196 NotificationPreferencesInfo::BundleInfo bundleInfo;
298 NotificationPreferencesInfo::BundleInfo bundleInfo;
386 NotificationPreferencesInfo::BundleInfo info;
[all …]
Dnotification_preferences_test.cpp44 void TestAddNotificationSlot(NotificationPreferencesInfo &info);
76 void NotificationPreferencesTest::TestAddNotificationSlot(NotificationPreferencesInfo &info) in TestAddNotificationSlot()
1141 NotificationPreferencesInfo info;
1155 NotificationPreferencesInfo info;
1170 NotificationPreferencesInfo info;
1184 NotificationPreferencesInfo info;
1198 NotificationPreferencesInfo info;
1214 NotificationPreferencesInfo info;
1228 NotificationPreferencesInfo info;
1243 NotificationPreferencesInfo info;
[all …]
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
Dnotification_preferences_database_branch_test.cpp54 NotificationPreferencesInfo::BundleInfo bundleInfo;
70 NotificationPreferencesInfo::BundleInfo bundleInfo;
90 NotificationPreferencesInfo::BundleInfo bundleInfo;
126 NotificationPreferencesInfo::BundleInfo bundleInfo;
146 NotificationPreferencesInfo::BundleInfo bundleInfo;
166 NotificationPreferencesInfo::BundleInfo bundleInfo;
186 NotificationPreferencesInfo::BundleInfo bundleInfo;
237 NotificationPreferencesInfo::BundleInfo bundleInfo;
338 NotificationPreferencesInfo::BundleInfo bundleInfo;
355 NotificationPreferencesInfo::BundleInfo bundleInfo;
[all …]