Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_preferences_test.cpp713 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/
Dnotification_preferences.h165 …Code GetTotalBadgeNums(const sptr<NotificationBundleOption> &bundleOption, int32_t &totalBadgeNum);
Dnotification_preferences_database.h78 …BadgeNums(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum);
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
Dnotification_preferences_database_branch_test.cpp174 int32_t totalBadgeNum = 1; variable
175 EXPECT_EQ(preferncesDB_->PutTotalBadgeNums(bundleInfo, totalBadgeNum), false);
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences.cpp304 const sptr<NotificationBundleOption> &bundleOption, int32_t &totalBadgeNum) in GetTotalBadgeNums() argument
309 return GetBundleProperty(bundleOption, BundleType::BUNDLE_BADGE_TOTAL_NUM_TYPE, totalBadgeNum); in GetTotalBadgeNums()
Dnotification_preferences_database.cpp396 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum) in PutTotalBadgeNums() argument
408 … PutBundlePropertyToDisturbeDB(bundleKey, BundleType::BUNDLE_BADGE_TOTAL_NUM_TYPE, totalBadgeNum); in PutTotalBadgeNums()