Home
last modified time | relevance | path

Searched refs:RemoveDoNotDisturbDate (Results 1 - 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_info.h312 void RemoveDoNotDisturbDate(const int32_t userId);
H A Dnotification_preferences_database.h219 bool RemoveDoNotDisturbDate(const int32_t userId);
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp880 * @tc.desc : test RemoveDoNotDisturbDate function and CheckRdbStore is false
886 // test RemoveDoNotDisturbDate function in HWTEST_F()
888 ASSERT_EQ(preferncesDB_->RemoveDoNotDisturbDate(userId), false); in HWTEST_F()
894 * @tc.desc : test RemoveDoNotDisturbDate function and result != NativeRdb::E_OK
902 // test RemoveDoNotDisturbDate function in HWTEST_F()
904 ASSERT_EQ(preferncesDB_->RemoveDoNotDisturbDate(userId), false); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_info.cpp401 void NotificationPreferencesInfo::RemoveDoNotDisturbDate(const int32_t userId) in RemoveDoNotDisturbDate() function in OHOS::Notification::NotificationPreferencesInfo
H A Dnotification_preferences.cpp1091 preferencesInfo_.RemoveDoNotDisturbDate(userId); in RemoveSettings()
1096 preferncesDB_->RemoveDoNotDisturbDate(userId); in RemoveSettings()
H A Dnotification_preferences_database.cpp1597 bool NotificationPreferencesDatabase::RemoveDoNotDisturbDate(const int32_t userId) in RemoveDoNotDisturbDate() function in OHOS::Notification::NotificationPreferencesDatabase
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_database_test.cpp444 * @tc.name : RemoveDoNotDisturbDate
445 * @tc.desc : Test RemoveDoNotDisturbDate function when parameter is normal return is true
451 ASSERT_EQ(preferncesDB_->RemoveDoNotDisturbDate(userId), true); in HWTEST_F()

Completed in 11 milliseconds