Home
last modified time | relevance | path

Searched refs:REMINDER_STATUS_SHOWING (Results 1 – 3 of 3) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp53 const uint8_t ReminderRequest::REMINDER_STATUS_SHOWING = 4; member in OHOS::Notification::ReminderRequest
154 …if ((state_ & (REMINDER_STATUS_SHOWING | REMINDER_STATUS_ALERTING | REMINDER_STATUS_ACTIVE)) == 0)… in CanRemove()
248 if ((state_ & REMINDER_STATUS_SHOWING) != 0) { in IsShowing()
256 if ((state_ & REMINDER_STATUS_SHOWING) == 0) { in OnClose()
260 SetState(false, REMINDER_STATUS_SHOWING | REMINDER_STATUS_SNOOZE, "onClose()"); in OnClose()
351 SetState(false, REMINDER_STATUS_ALERTING | REMINDER_STATUS_SHOWING | REMINDER_STATUS_SNOOZE, in OnSameNotificationIdCovered()
371 SetState(true, REMINDER_STATUS_SHOWING, "OnShow"); in OnShow()
381 SetState(false, REMINDER_STATUS_SHOWING, "OnShowFailed()"); in OnShowFail()
1392 if ((state & REMINDER_STATUS_SHOWING) != 0) { in GetState()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_test.cpp41 static const uint8_t REMINDER_STATUS_SHOWING; member in OHOS::Notification::ReminderRequestTest
44 const uint8_t ReminderRequestTest::REMINDER_STATUS_SHOWING = 4; member in OHOS::Notification::ReminderRequestTest
122 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0);
135 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0);
148 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) == 0);
161 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) != 0);
174 EXPECT_TRUE((rrc->GetState() & ReminderRequestTest::REMINDER_STATUS_SHOWING) != 0);
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h682 static const uint8_t REMINDER_STATUS_SHOWING; variable