Home
last modified time | relevance | path

Searched refs:PutNotificationsEnabled (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp212 ASSERT_EQ(preferncesDB_->PutNotificationsEnabled(userId, enabled), false);
229 ASSERT_EQ(preferncesDB_->PutNotificationsEnabled(userId, enabled), false);
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_database.h145 bool PutNotificationsEnabled(const int32_t &userId, const bool &enabled);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_database_test.cpp210 EXPECT_TRUE(preferncesDB_->PutNotificationsEnabled(userId, true));
211 EXPECT_TRUE(preferncesDB_->PutNotificationsEnabled(userId, false));
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_database.cpp388 bool NotificationPreferencesDatabase::PutNotificationsEnabled(const int32_t &userId, const bool &en… in PutNotificationsEnabled() function in OHOS::Notification::NotificationPreferencesDatabase
1585 PutNotificationsEnabled(userId, enable); in GetEnableAllNotification()
H A Dnotification_preferences.cpp470 if (!preferncesDB_->PutNotificationsEnabled(userId, enabled)) { in SetNotificationsEnabled()