Home
last modified time | relevance | path

Searched refs:IsShowBadge (Results 1 - 11 of 11) sorted by relevance

/base/notification/distributed_notification_service/test/fuzztest/notificationslot_fuzzer/
H A Dnotificationslot_fuzzer.cpp44 notificationSlot.IsShowBadge(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_slot_test.cpp121 EXPECT_EQ(true, spSlot->IsShowBadge()); in HWTEST_F()
166 EXPECT_EQ(true, spSlot->IsShowBadge()); in HWTEST_F()
212 EXPECT_EQ(true, spSlot->IsShowBadge()); in HWTEST_F()
257 EXPECT_EQ(true, spSlot->IsShowBadge()); in HWTEST_F()
306 EXPECT_EQ(true, spSlot->IsShowBadge()); in HWTEST_F()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_slot.h277 bool IsShowBadge() const;
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h130 ErrCode IsShowBadge(const sptr<NotificationBundleOption> &bundleOption, bool &enable);
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp565 ASSERT_EQ((int)NotificationPreferences::GetInstance()->IsShowBadge(bundleOption_, enable), (int)ERR_OK); in HWTEST_F()
578 ASSERT_EQ((int)NotificationPreferences::GetInstance()->IsShowBadge(bundleEmptyOption_, enable), in HWTEST_F()
590 ASSERT_EQ((int)NotificationPreferences::GetInstance()->IsShowBadge(nullptr, enable), in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_slot.cpp241 bool NotificationSlot::IsShowBadge() const in IsShowBadge() function in OHOS::Notification::NotificationSlot
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences.cpp330 ErrCode NotificationPreferences::IsShowBadge(const sptr<NotificationBundleOption> &bundleOption, bool &enable) in IsShowBadge() function in OHOS::Notification::NotificationPreferences
H A Dadvanced_notification_publish_service.cpp807 result = NotificationPreferences::GetInstance()->IsShowBadge(bundle, enabled); in GetShowBadgeEnabledForBundle()
833 result = NotificationPreferences::GetInstance()->IsShowBadge(bundleOption, enabled); in GetShowBadgeEnabled()
H A Dnotification_preferences_database.cpp960 GenerateSlotKey(bundleKey, slotType, KEY_SLOT_SHOW_BADGE), std::to_string(slot->IsShowBadge()), values); in GenerateSlotEntry()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp160 napi_get_boolean(env, slot.IsShowBadge(), &value); in SetNotificationSlot()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp895 notificationSlot.badgeFlag = slot.IsShowBadge(); // badgeFlag?: bool in SetNotificationSlot()

Completed in 19 milliseconds