Searched refs:REMINDER_STATUS_SHOWING (Results 1 - 3 of 3) sorted by relevance
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | reminder_request.cpp | 58 const uint8_t ReminderRequest::REMINDER_STATUS_SHOWING = 4; member in OHOS::Notification::ReminderRequest 162 if ((state_ & (REMINDER_STATUS_SHOWING | REMINDER_STATUS_ALERTING | REMINDER_STATUS_ACTIVE)) == 0) { in CanRemove() 274 if ((state_ & REMINDER_STATUS_SHOWING) != 0) { in IsShowing() 282 if ((state_ & REMINDER_STATUS_SHOWING) == 0) { in OnClose() 286 SetState(false, REMINDER_STATUS_SHOWING | REMINDER_STATUS_SNOOZE, "onClose()"); in OnClose() 377 SetState(false, REMINDER_STATUS_ALERTING | REMINDER_STATUS_SHOWING | REMINDER_STATUS_SNOOZE, in OnSameNotificationIdCovered() 397 SetState(true, REMINDER_STATUS_SHOWING, "OnShow"); in OnShow() 407 SetState(false, REMINDER_STATUS_SHOWING, "OnShowFailed()"); in OnShowFail() 1426 if ((state & REMINDER_STATUS_SHOWING) != 0) { in GetState() 1597 SetState(false, (REMINDER_STATUS_SHOWING | REMINDER_STATUS_ALERTIN in SetStateToInActive() [all...] |
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | reminder_request_test.cpp | 44 static const uint8_t REMINDER_STATUS_SHOWING; member in OHOS::Notification::ReminderRequestTest 47 const uint8_t ReminderRequestTest::REMINDER_STATUS_SHOWING = 4; member in OHOS::Notification::ReminderRequestTest 117 * @tc.desc: When reminder close with param true, state REMINDER_STATUS_SHOWING should be unset. 125 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0); in HWTEST_F() 130 * @tc.desc: When reminder close with param false, state REMINDER_STATUS_SHOWING should be unset. 138 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0); in HWTEST_F() 143 * @tc.desc: When reminder is covered as same notification id, state REMINDER_STATUS_SHOWING should be unset. 151 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0); in HWTEST_F() 156 * @tc.desc: When reminder is shown with param true,true, state REMINDER_STATUS_SHOWING should be set. 164 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) ! in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | reminder_request.h | 998 static const uint8_t REMINDER_STATUS_SHOWING; member in OHOS::Notification::ReminderRequest
|
Completed in 9 milliseconds