Home
last modified time | relevance | path

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

/base/powermgr/display_manager/test/unittest/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);
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);
Ddisplay_power_mgr_brightness_test.cpp113 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);
/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 && 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()
/base/powermgr/power_manager/test/unittest/src/
Ddevice_state_action_native_test.cpp50 DisplayState state = DisplayState::DISPLAY_OFF;
53 EXPECT_TRUE(deviceStateAction->GetDisplayState() == DisplayState::DISPLAY_OFF);
72 stateType = DisplayPowerMgr::DisplayState::DISPLAY_OFF;
Dpower_screenon_mock_test.cpp89 …sTest_->wakeupController_->stateMachine_->stateAction_->SetDisplayState(DisplayState::DISPLAY_OFF);
Dpower_suspend_test.cpp233 …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);
Dpower_mgr_fail_check_test.cpp78 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_))
Dpower_wakeup_test.cpp132 …sTest_->wakeupController_->stateMachine_->stateAction_->SetDisplayState(DisplayState::DISPLAY_OFF);
Dpower_mgr_client_test.cpp320 EXPECT_EQ(ret, DisplayPowerMgr::DisplayState::DISPLAY_OFF);
/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.cpp115 case DisplayState::DISPLAY_OFF: { in UpdateState()
Ddisplay_power_mgr_service.cpp172 } else if (state == DisplayState::DISPLAY_OFF) { in SetDisplayState()
177 if (state == DisplayState::DISPLAY_OFF) { in SetDisplayState()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_display_test.cpp35 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 …]
/base/powermgr/display_manager/interfaces/inner_api/native/include/
Ddisplay_power_info.h25 DISPLAY_OFF = 0, enumerator
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_display_test.cpp44 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 …]
/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_st_mock_test.cpp187 .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));
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_state_machine_info.h107 DISPLAY_OFF = 0, enumerator
/base/powermgr/power_manager/services/native/src/
Dpower_state_machine.cpp128 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()
/base/theme/screenlock_mgr/test/unittest/
Dscreenlock_service_test.cpp183 DisplayPowerEvent event = DisplayPowerEvent::DISPLAY_OFF;
271 DisplayPowerEvent event = DisplayPowerEvent::DISPLAY_OFF;
/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_controller.cpp170 …deviceStateAction_->SetDisplayState(DisplayState::DISPLAY_OFF, StateChangeReason::STATE_CHANGE_REA… in TurnOffScreen()
/base/theme/screenlock_mgr/services/src/
Dscreenlock_system_ability.cpp197 } else if (event == DisplayPowerEvent::DISPLAY_OFF) { in OnDisplayPowerEvent()
209 } else if (event == DisplayPowerEvent::DISPLAY_OFF) { in OnDisplayPowerEvent()
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/
Dpower_fuzzer.cpp63 return DisplayState::DISPLAY_OFF; in GetDisplayState()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_listener.cpp457 case DisplayPowerMgr::DisplayState::DISPLAY_OFF: in ProcessDispalyEvent()
/base/powermgr/battery_statistics/test/systemtest/src/
Dbatterystats_sys_test.cpp159 int32_t stateOff = static_cast<int32_t>(DisplayPowerMgr::DisplayState::DISPLAY_OFF);