Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
Dnotification_preferences_database_branch_test.cpp210 EXPECT_EQ(preferncesDB_->PutNotificationsEnabled(userId, enabled), false);
227 EXPECT_EQ(preferncesDB_->PutNotificationsEnabled(userId, enabled), false);
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_preferences_database.h97 bool PutNotificationsEnabled(const int32_t &userId, const bool &enabled);
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_preferences_database_test.cpp209 EXPECT_TRUE(preferncesDB_->PutNotificationsEnabled(userId, true));
210 EXPECT_TRUE(preferncesDB_->PutNotificationsEnabled(userId, false));
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences_database.cpp431 bool NotificationPreferencesDatabase::PutNotificationsEnabled(const int32_t &userId, const bool &en… in PutNotificationsEnabled() function in OHOS::Notification::NotificationPreferencesDatabase
1298 PutNotificationsEnabled(userId, enable); in GetEnableAllNotification()
Dnotification_preferences.cpp377 if (!preferncesDB_->PutNotificationsEnabled(userId, enabled)) { in SetNotificationsEnabled()