Home
last modified time | relevance | path

Searched refs:SetNotificationsEnabled (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp825 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabled(100, true), (int)ER…
835 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabled(TEST_SUBSCRIBE_USER…
846 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabled(100, true), (int)ER…
859 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabled(100, true), (int)ER…
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h231 ErrCode SetNotificationsEnabled(const int32_t &userId, const bool &enabled);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences.cpp461 ErrCode NotificationPreferences::SetNotificationsEnabled(const int32_t &userId, const bool &enabled) in SetNotificationsEnabled() function in OHOS::Notification::NotificationPreferences
H A Dadvanced_notification_publish_service.cpp970 … result = NotificationPreferences::GetInstance()->SetNotificationsEnabled(userId, enabled); in SetNotificationsEnabledForAllBundles()
2182 result = NotificationPreferences::GetInstance()->SetNotificationsEnabled(userId, enabled); in SetNotificationsEnabledByUser()