Searched refs:totalBadgeNum (Results 1 – 6 of 6) sorted by relevance
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | notification_preferences_test.cpp | 713 int totalBadgeNum = 0; variable 714 …tificationPreferences::GetInstance().GetTotalBadgeNums(bundleOption_, totalBadgeNum), (int)ERR_OK); 715 EXPECT_EQ(totalBadgeNum, num); 725 int totalBadgeNum = 0; variable 726 …Q((int)NotificationPreferences::GetInstance().GetTotalBadgeNums(bundleEmptyOption_, totalBadgeNum), 737 int totalBadgeNum = 0; variable 738 EXPECT_EQ((int)NotificationPreferences::GetInstance().GetTotalBadgeNums(nullptr, totalBadgeNum),
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_preferences.h | 165 …Code GetTotalBadgeNums(const sptr<NotificationBundleOption> &bundleOption, int32_t &totalBadgeNum);
|
D | notification_preferences_database.h | 78 …BadgeNums(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum);
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/ |
D | notification_preferences_database_branch_test.cpp | 174 int32_t totalBadgeNum = 1; variable 175 EXPECT_EQ(preferncesDB_->PutTotalBadgeNums(bundleInfo, totalBadgeNum), false);
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences.cpp | 304 const sptr<NotificationBundleOption> &bundleOption, int32_t &totalBadgeNum) in GetTotalBadgeNums() argument 309 return GetBundleProperty(bundleOption, BundleType::BUNDLE_BADGE_TOTAL_NUM_TYPE, totalBadgeNum); in GetTotalBadgeNums()
|
D | notification_preferences_database.cpp | 396 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum) in PutTotalBadgeNums() argument 408 … PutBundlePropertyToDisturbeDB(bundleKey, BundleType::BUNDLE_BADGE_TOTAL_NUM_TYPE, totalBadgeNum); in PutTotalBadgeNums()
|