Searched refs:GetNotificationsEnabledForBundle (Results 1 - 8 of 8) sorted by relevance
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | permission_filter.cpp | 38 NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(record->bundleOption, enable); in OnPublish()
|
H A D | advanced_notification_publish_service.cpp | 973 ErrCode saveRef = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle( in SetNotificationsEnabledForSpecialBundle() 1135 result = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(bundleOption, allowed); in IsAllowedNotifySelf() 1164 result = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(bundleOption, allowed); in IsAllowedNotifyForBundle() 1215 result = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(targetBundle, allowed); in IsSpecialBundleAllowedNotify()
|
H A D | advanced_notification_slot_service.cpp | 718 ErrCode result = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(bundle, allowed); in AddSlotThenPublishEvent()
|
H A D | advanced_notification_utils.cpp | 646 auto errCode = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle( in OnBundleDataUpdate() 1889 ErrCode saveRef = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle( in InitNotificationEnableList()
|
H A D | notification_preferences.cpp | 401 ErrCode NotificationPreferences::GetNotificationsEnabledForBundle( in GetNotificationsEnabledForBundle() function in OHOS::Notification::NotificationPreferences
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 204 ErrCode GetNotificationsEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool &enabled);
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 787 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(bundleOption_, enabled), in HWTEST_F() 801 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(bundleEmptyOption_, in HWTEST_F() 814 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(nullptr, enabled), in HWTEST_F()
|
H A D | advanced_notification_utils_test.cpp | 393 NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(bundle, enable); in HWTEST_F()
|
Completed in 15 milliseconds