Home
last modified time | relevance | path

Searched refs:CanRemove (Results 1 - 5 of 5) sorted by relevance

/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/
H A Dreminderrequest_fuzzer.cpp34 reminderRequest.CanRemove(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_request_test.cpp51 * @tc.desc: When reminder init, CanRemove should return true.
58 EXPECT_TRUE(rrc->CanRemove()) << "When init, canRemove should be false"; in HWTEST_F()
63 * @tc.desc: When reminder is shown, CanRemove should return false.
71 EXPECT_FALSE(rrc->CanRemove()) << "When shown, canRemove should be false"; in HWTEST_F()
76 * @tc.desc: When reminder close, CanRemove should return true.
85 EXPECT_TRUE(rrc->CanRemove()) << "When reminder is expired and closed, can remove should be false"; in HWTEST_F()
90 * @tc.desc: When reminder is covered as same notification id, CanRemove should return true.
99 EXPECT_TRUE(rrc->CanRemove()) << "When reminder is expired and covered by \ in HWTEST_F()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dreminder_request.h296 bool CanRemove() const;
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request.cpp160 bool ReminderRequest::CanRemove() const in CanRemove() function in OHOS::Notification::ReminderRequest
/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_data_manager.cpp1286 if (!(*it)->CanRemove()) { in GetRecentReminderLocked()

Completed in 12 milliseconds