Searched refs:IsShowBadge (Results 1 - 11 of 11) sorted by relevance
/base/notification/distributed_notification_service/test/fuzztest/notificationslot_fuzzer/ |
H A D | notificationslot_fuzzer.cpp | 44 notificationSlot.IsShowBadge();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_slot_test.cpp | 121 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 D | notification_slot.h | 277 bool IsShowBadge() const;
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 130 ErrCode IsShowBadge(const sptr<NotificationBundleOption> &bundleOption, bool &enable);
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 565 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 D | notification_slot.cpp | 241 bool NotificationSlot::IsShowBadge() const in IsShowBadge() function in OHOS::Notification::NotificationSlot
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences.cpp | 330 ErrCode NotificationPreferences::IsShowBadge(const sptr<NotificationBundleOption> &bundleOption, bool &enable) in IsShowBadge() function in OHOS::Notification::NotificationPreferences
|
H A D | advanced_notification_publish_service.cpp | 807 result = NotificationPreferences::GetInstance()->IsShowBadge(bundle, enabled); in GetShowBadgeEnabledForBundle() 833 result = NotificationPreferences::GetInstance()->IsShowBadge(bundleOption, enabled); in GetShowBadgeEnabled()
|
H A D | notification_preferences_database.cpp | 960 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 D | common.cpp | 160 napi_get_boolean(env, slot.IsShowBadge(), &value); in SetNotificationSlot()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 895 notificationSlot.badgeFlag = slot.IsShowBadge(); // badgeFlag?: bool in SetNotificationSlot()
|
Completed in 19 milliseconds