Searched refs:DISPLAY_OFF (Results 1 – 19 of 19) sorted by relevance
71 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: in GetDisplayState()72 ret = DisplayState::DISPLAY_OFF; in GetDisplayState()106 if (currentState == DisplayState::DISPLAY_OFF) { in SetDisplayState()116 case DisplayState::DISPLAY_OFF: { in SetDisplayState()117 dispState = DisplayPowerMgr::DisplayState::DISPLAY_OFF; in SetDisplayState()169 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: { in OnDisplayStateChanged()
34 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in SetLastBrightness()84 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);112 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);139 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);170 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);196 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);233 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);265 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);323 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);359 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);[all …]
76 state = DisplayState::DISPLAY_OFF; in GetDisplayState()95 case DisplayState::DISPLAY_OFF: in SetDisplayState()112 state = DisplayState::DISPLAY_OFF; in SetDisplayState()142 case DisplayState::DISPLAY_OFF: in SetDisplayPower()
101 case DisplayState::DISPLAY_OFF: { in UpdateState()
204 } else if (state == DisplayState::DISPLAY_OFF) { in SetDisplayState()
25 DISPLAY_OFF = 0, enumerator
79 auto ret = DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);139 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);168 auto ret = DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);171 EXPECT_TRUE(state == DisplayState::DISPLAY_OFF);
113 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);450 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);751 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);851 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);
138 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))167 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))195 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))223 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))251 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))279 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))307 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))335 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))363 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))692 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))[all …]
82 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))
320 EXPECT_EQ(ret, DisplayPowerMgr::DisplayState::DISPLAY_OFF);
288 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))353 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))435 …ALL(*g_stateAction, GetDisplayState()).WillByDefault(::testing::Return(DisplayState::DISPLAY_OFF));504 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))592 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))598 …ALL(*g_stateAction, GetDisplayState()).WillByDefault(::testing::Return(DisplayState::DISPLAY_OFF));723 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))733 …ALL(*g_stateAction, GetDisplayState()).WillByDefault(::testing::Return(DisplayState::DISPLAY_OFF));828 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))833 …ALL(*g_stateAction, GetDisplayState()).WillByDefault(::testing::Return(DisplayState::DISPLAY_OFF));
76 DISPLAY_OFF = 0, enumerator
139 …deviceStateAction_->SetDisplayState(DisplayState::DISPLAY_OFF, StateChangeReason::STATE_CHANGE_REA… in TurnOffScreen()
124 DisplayState state = DisplayState::DISPLAY_OFF; in EmplaceInactive()147 DisplayState state = DisplayState::DISPLAY_OFF; in EmplaceSleep()679 if (dispState == DisplayState::DISPLAY_OFF) { in HandleActivitySleepTimeout()826 stateAction_->SetDisplayState(DisplayState::DISPLAY_OFF, in SetDisplaySuspend()
194 DisplayPowerEvent event = DisplayPowerEvent::DISPLAY_OFF;294 DisplayPowerEvent event = DisplayPowerEvent::DISPLAY_OFF;
191 } else if (event == DisplayPowerEvent::DISPLAY_OFF) { in OnDisplayPowerEvent()203 } else if (event == DisplayPowerEvent::DISPLAY_OFF) { in OnDisplayPowerEvent()
436 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: in ProcessDispalyEvent()
158 int32_t stateOff = static_cast<int32_t>(DisplayPowerMgr::DisplayState::DISPLAY_OFF);