Home
last modified time | relevance | path

Searched refs:totalBadgeNum (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp712 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 Dnotification_preferences_database_branch_test.cpp176 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 Dnotification_preferences.h168 …Code GetTotalBadgeNums(const sptr<NotificationBundleOption> &bundleOption, int32_t &totalBadgeNum);
H A Dnotification_preferences_database.h79 …BadgeNums(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences.cpp397 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 Dnotification_preferences_database.cpp353 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum) in PutTotalBadgeNums() argument
364 … = PutBundlePropertyToDisturbeDB(bundleKey, BundleType::BUNDLE_BADGE_TOTAL_NUM_TYPE, totalBadgeNum, in PutTotalBadgeNums()