Home
last modified time | relevance | path

Searched refs:SetDisplayOffTime (Results 1 – 9 of 9) sorted by relevance

/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_st_mock_test.cpp155 pms->SetDisplayOffTime(SET_DISPLAY_OFF_TIME_MS);
164 pms->SetDisplayOffTime(DEFAULT_DISPLAY_OFF_TIME);
293 pms->SetDisplayOffTime(SET_DISPLAY_OFF_TIME_MS);
319 pms->SetDisplayOffTime(DEFAULT_DISPLAY_OFF_TIME);
340 pms->SetDisplayOffTime(SET_DISPLAY_OFF_TIME_MS);
360 pms->SetDisplayOffTime(DEFAULT_DISPLAY_OFF_TIME);
439 pms->SetDisplayOffTime(ASYNC_WAIT_TIME_S * TEST_TIMES);
454 pms->SetDisplayOffTime(DEFAULT_DISPLAY_OFF_TIME);
Dpower_mgr_st_suspend_test.cpp95 powerStateMachine->SetDisplayOffTime(SET_DISPLAY_OFF_TIME, false);
109 powerStateMachine->SetDisplayOffTime(DEFAULT_DISPLAY_OFF_TIME, false);
/base/powermgr/power_manager/services/native/include/
Dpower_mode_module.h68 static void SetDisplayOffTime(bool isBoot);
Dpower_mgr_service.h131 void SetDisplayOffTime(int64_t time) in SetDisplayOffTime() function
133 powerStateMachine_->SetDisplayOffTime(time); in SetDisplayOffTime()
Dpower_state_machine.h137 void SetDisplayOffTime(int64_t time, bool needUpdateSetting = true);
/base/powermgr/power_manager/services/native/src/
Dpower_mode_module.cpp38 …PowerModePolicy::ModeAction displayOffTimeAction = [&](bool isInit) { SetDisplayOffTime(isInit); }; in PowerModeModule()
230 void PowerModeModule::SetDisplayOffTime(bool isBoot) in SetDisplayOffTime() function in OHOS::PowerMgr::PowerModeModule
239 pms->GetPowerStateMachine()->SetDisplayOffTime(static_cast<int64_t>(time)); in SetDisplayOffTime()
Dpower_state_machine.cpp309 this->SetDisplayOffTime(timeout, false); in OverrideScreenOffTimeInner()
320 this->SetDisplayOffTime(beforeOverrideTime_, false); in RestoreScreenOffTimeInner()
756 void PowerStateMachine::SetDisplayOffTime(int64_t time, bool needUpdateSetting) in SetDisplayOffTime() function in OHOS::PowerMgr::PowerStateMachine
779 stateMachine->SetDisplayOffTime(settingTime, false); in DisplayOffTimeUpdateFunc()
/base/powermgr/power_manager/test/unittest/src/
Dpower_getcontroller_mock_test.cpp142 void SetDisplayOffTime(int64_t time) in SetDisplayOffTime() function in OHOS::PowerMgr::PowerMgrService
144 powerStateMachine_->SetDisplayOffTime(time); in SetDisplayOffTime()
Dnative_power_state_machine_test.cpp65 stateMachine->SetDisplayOffTime(TIME, true);
239 stateMachine->SetDisplayOffTime(TIME, false);