Home
last modified time | relevance | path

Searched refs:DISPLAY_OFF (Results 1 – 19 of 19) sorted by relevance

/base/powermgr/power_manager/services/native/src/actions/default/display/
Ddevice_state_action.cpp71 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()
/base/powermgr/battery_statistics/services/native/test/unittest/src/
Dstats_display_test.cpp34 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 …]
/base/powermgr/display_manager/service/native/src/
Dscreen_action.cpp76 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()
Dscreen_controller.cpp101 case DisplayState::DISPLAY_OFF: { in UpdateState()
Ddisplay_power_mgr_service.cpp204 } else if (state == DisplayState::DISPLAY_OFF) { in SetDisplayState()
/base/powermgr/display_manager/interfaces/innerkits/native/include/
Ddisplay_power_info.h25 DISPLAY_OFF = 0, enumerator
/base/powermgr/display_manager/test/unittest/common/native/src/
Ddisplay_power_mgr_service_test.cpp79 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);
Ddisplay_power_mgr_brightness_test.cpp113 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);
/base/powermgr/power_manager/services/native/test/unittest/src/
Dpower_mgr_mock_test.cpp138 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 …]
Dpower_mgr_fail_check_test.cpp82 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))
Dpower_mgr_client_test.cpp320 EXPECT_EQ(ret, DisplayPowerMgr::DisplayState::DISPLAY_OFF);
/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_st_mock_test.cpp288 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));
/base/powermgr/power_manager/interfaces/innerkits/native/include/
Dpower_state_machine_info.h76 DISPLAY_OFF = 0, enumerator
/base/powermgr/power_manager/services/native/src/
Dshutdown_service.cpp139 …deviceStateAction_->SetDisplayState(DisplayState::DISPLAY_OFF, StateChangeReason::STATE_CHANGE_REA… in TurnOffScreen()
Dpower_state_machine.cpp124 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()
/base/theme/screenlock_mgr/test/unittest/
Dscreenlock_service_test.cpp194 DisplayPowerEvent event = DisplayPowerEvent::DISPLAY_OFF;
294 DisplayPowerEvent event = DisplayPowerEvent::DISPLAY_OFF;
/base/theme/screenlock_mgr/services/src/
Dscreenlock_system_ability.cpp191 } else if (event == DisplayPowerEvent::DISPLAY_OFF) { in OnDisplayPowerEvent()
203 } else if (event == DisplayPowerEvent::DISPLAY_OFF) { in OnDisplayPowerEvent()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_listener.cpp436 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: in ProcessDispalyEvent()
/base/powermgr/battery_statistics/test/systemtest/src/
Dbatterystats_sys_test.cpp158 int32_t stateOff = static_cast<int32_t>(DisplayPowerMgr::DisplayState::DISPLAY_OFF);