Searched refs:totalBadgeNum (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 712 int totalBadgeNum = 0; variable 713 …RT_EQ((int)NotificationPreferences::GetInstance()->GetTotalBadgeNums(bundleOption_, totalBadgeNum), 715 ASSERT_EQ(totalBadgeNum, num); 725 int totalBadgeNum = 0; variable 726 …((int)NotificationPreferences::GetInstance()->GetTotalBadgeNums(bundleEmptyOption_, totalBadgeNum), 737 int totalBadgeNum = 0; variable 738 … ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetTotalBadgeNums(nullptr, totalBadgeNum),
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/ |
H A D | notification_preferences_database_branch_test.cpp | 176 int32_t totalBadgeNum = 1; variable 177 ASSERT_EQ(preferncesDB_->PutTotalBadgeNums(bundleInfo, totalBadgeNum), false);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 168 …Code GetTotalBadgeNums(const sptr<NotificationBundleOption> &bundleOption, int32_t &totalBadgeNum);
|
H A D | notification_preferences_database.h | 79 …BadgeNums(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences.cpp | 397 const sptr<NotificationBundleOption> &bundleOption, int32_t &totalBadgeNum) in GetTotalBadgeNums() argument 402 return GetBundleProperty(bundleOption, BundleType::BUNDLE_BADGE_TOTAL_NUM_TYPE, totalBadgeNum); in GetTotalBadgeNums()
|
H A D | notification_preferences_database.cpp | 353 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum) in PutTotalBadgeNums() argument 364 … = PutBundlePropertyToDisturbeDB(bundleKey, BundleType::BUNDLE_BADGE_TOTAL_NUM_TYPE, totalBadgeNum, in PutTotalBadgeNums()
|