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 D | notification_preferences_database_branch_test.cpp | 212 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 D | notification_preferences_database.h | 145 bool PutNotificationsEnabled(const int32_t &userId, const bool &enabled);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_database_test.cpp | 210 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 D | notification_preferences_database.cpp | 388 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 D | notification_preferences.cpp | 470 if (!preferncesDB_->PutNotificationsEnabled(userId, enabled)) { in SetNotificationsEnabled()
|