Searched refs:DISPLAY_OFF (Results 1 – 24 of 24) sorted by relevance
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);292 if (State != DisplayState::DISPLAY_OFF) {293 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);309 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);315 EXPECT_TRUE(offState == DisplayState::DISPLAY_OFF);329 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);
113 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);456 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);783 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);883 DisplayPowerMgrClient::GetInstance().SetDisplayState(DisplayState::DISPLAY_OFF);
71 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: in GetDisplayState()72 ret = DisplayState::DISPLAY_OFF; in GetDisplayState()106 …if (currentState == DisplayState::DISPLAY_OFF && reason != StateChangeReason::STATE_CHANGE_REASON_… 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()
50 DisplayState state = DisplayState::DISPLAY_OFF;53 EXPECT_TRUE(deviceStateAction->GetDisplayState() == DisplayState::DISPLAY_OFF);72 stateType = DisplayPowerMgr::DisplayState::DISPLAY_OFF;
89 …sTest_->wakeupController_->stateMachine_->stateAction_->SetDisplayState(DisplayState::DISPLAY_OFF);
233 …Test_->suspendController_->stateMachine_->stateAction_->SetDisplayState(DisplayState::DISPLAY_OFF);236 …->suspendController_->stateMachine_->stateAction_->GetDisplayState() == DisplayState::DISPLAY_OFF);283 …Test_->suspendController_->stateMachine_->stateAction_->SetDisplayState(DisplayState::DISPLAY_OFF);
78 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))
132 …sTest_->wakeupController_->stateMachine_->stateAction_->SetDisplayState(DisplayState::DISPLAY_OFF);
320 EXPECT_EQ(ret, DisplayPowerMgr::DisplayState::DISPLAY_OFF);
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()
115 case DisplayState::DISPLAY_OFF: { in UpdateState()
172 } else if (state == DisplayState::DISPLAY_OFF) { in SetDisplayState()177 if (state == DisplayState::DISPLAY_OFF) { in SetDisplayState()
35 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in SetLastBrightness()88 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);119 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);149 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);183 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);212 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);252 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);286 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);349 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);388 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);[all …]
25 DISPLAY_OFF = 0, enumerator
44 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF); in SetLastBrightness()112 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);148 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);183 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);222 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);256 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);301 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);339 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);411 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);454 int32_t stateOff = static_cast<int32_t>(OHOS::DisplayPowerMgr::DisplayState::DISPLAY_OFF);[all …]
187 .WillRepeatedly(::testing::Return(DisplayState::DISPLAY_OFF));200 .WillRepeatedly(::testing::Return(DisplayState::DISPLAY_OFF));300 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))307 .WillRepeatedly(::testing::Return(DisplayState::DISPLAY_OFF));348 .WillRepeatedly(::testing::Return(DisplayState::DISPLAY_OFF));548 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))580 .WillRepeatedly(::testing::Return(DisplayState::DISPLAY_OFF));
107 DISPLAY_OFF = 0, enumerator
128 DisplayState state = DisplayState::DISPLAY_OFF; in EmplaceInactive()476 case DisplayState::DISPLAY_OFF: in GetDisplayStateString()705 if (dispState == DisplayState::DISPLAY_OFF) { in HandleActivitySleepTimeout()848 DisplayState::DISPLAY_OFF, StateChangeReason::STATE_CHANGE_REASON_APPLICATION); in SetDisplaySuspend()1096 case DisplayState::DISPLAY_OFF: in MatchState()
183 DisplayPowerEvent event = DisplayPowerEvent::DISPLAY_OFF;271 DisplayPowerEvent event = DisplayPowerEvent::DISPLAY_OFF;
170 …deviceStateAction_->SetDisplayState(DisplayState::DISPLAY_OFF, StateChangeReason::STATE_CHANGE_REA… in TurnOffScreen()
197 } else if (event == DisplayPowerEvent::DISPLAY_OFF) { in OnDisplayPowerEvent()209 } else if (event == DisplayPowerEvent::DISPLAY_OFF) { in OnDisplayPowerEvent()
63 return DisplayState::DISPLAY_OFF; in GetDisplayState()
457 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: in ProcessDispalyEvent()
159 int32_t stateOff = static_cast<int32_t>(DisplayPowerMgr::DisplayState::DISPLAY_OFF);