Home
last modified time | relevance | path

Searched refs:GetNotificationsEnabledForBundle (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/
H A Dpermission_filter.cpp38 NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(record->bundleOption, enable); in OnPublish()
H A Dadvanced_notification_publish_service.cpp973 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 Dadvanced_notification_slot_service.cpp718 ErrCode result = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(bundle, allowed); in AddSlotThenPublishEvent()
H A Dadvanced_notification_utils.cpp646 auto errCode = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle( in OnBundleDataUpdate()
1889 ErrCode saveRef = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle( in InitNotificationEnableList()
H A Dnotification_preferences.cpp401 ErrCode NotificationPreferences::GetNotificationsEnabledForBundle( in GetNotificationsEnabledForBundle() function in OHOS::Notification::NotificationPreferences
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h204 ErrCode GetNotificationsEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool &enabled);
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp787 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 Dadvanced_notification_utils_test.cpp393 NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(bundle, enable); in HWTEST_F()

Completed in 15 milliseconds