Home
last modified time | relevance | path

Searched refs:SLEEP (Results 1 – 10 of 10) sorted by relevance

/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_st_suspend_test.cpp45 PowerState::SLEEP, stateMachine_->GetReasionBySuspendType(reason)); in HandleAutoSleep()
73 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
107 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
138 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
144 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
174 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
Dpower_mgr_st_mock_test.cpp236 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
271 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
353 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
484 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
542 EXPECT_TRUE(pms->GetState() == PowerState::INACTIVE || pms->GetState() == PowerState::SLEEP);
553 EXPECT_TRUE(pms->GetState() == PowerState::INACTIVE || pms->GetState() == PowerState::SLEEP);
/base/powermgr/power_manager/test/unittest/src/
Dpower_state_level_framework_test.cpp60 EXPECT_TRUE(static_cast<uint32_t>(PowerState::SLEEP) == SLEEP) << "PowerState SLEEP correct";
150 …auto ret = g_stateMachineTest->SetState(PowerState::SLEEP, StateChangeReason::STATE_CHANGE_REASON_…
152 EXPECT_TRUE(g_stateMachineTest->GetState() == PowerState::SLEEP);
Dpower_suspend_test.cpp328 EXPECT_TRUE(pmsTest_->suspendController_->stateMachine_->GetState() == PowerState::SLEEP);
351 EXPECT_TRUE(pmsTest_->suspendController_->stateMachine_->GetState() == PowerState::SLEEP);
/base/powermgr/power_manager/test/unittest/include/
Dpower_state_level_framework_test.h28 constexpr uint32_t SLEEP = 5; variable
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_state_machine_info.h85 SLEEP, enumerator
/base/powermgr/power_manager/services/native/src/
Dpower_state_machine.cpp62 … lockMap_.emplace(PowerState::SLEEP, std::make_shared<std::vector<RunningLockType>>(sleepBlocker)); in PowerStateMachine()
167 controllerMap_.emplace(PowerState::SLEEP, in EmplaceSleep()
168 …std::make_shared<StateController>(PowerState::SLEEP, shared_from_this(), [this](StateChangeReason … in EmplaceSleep()
331 currentState_ = PowerState::SLEEP; in ForceSuspendDeviceInner()
458 case PowerState::SLEEP: in GetPowerStateString()
700 if (!this->CheckRunningLock(PowerState::SLEEP)) { in HandleActivitySleepTimeout()
706 SetState(PowerState::SLEEP, StateChangeReason::STATE_CHANGE_REASON_TIMEOUT); in HandleActivitySleepTimeout()
1088 …if (GetState() == PowerState::SLEEP || currentState == PowerState::SLEEP || GetState() == PowerSta… in MatchState()
/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_controller.cpp309 PowerState::SLEEP, stateMachine_->GetReasionBySuspendType(reason)); in HandleAutoSleep()
326 PowerState::SLEEP, stateMachine_->GetReasionBySuspendType(reason), true); in HandleForceSleep()
/base/theme/screenlock_mgr/test/unittest/
Dscreenlock_service_test.cpp139 DisplayPowerEvent event = DisplayPowerEvent::SLEEP;
227 DisplayPowerEvent event = DisplayPowerEvent::SLEEP;
/base/theme/screenlock_mgr/services/src/
Dscreenlock_system_ability.cpp193 } else if (event == DisplayPowerEvent::SLEEP) { in OnDisplayPowerEvent()
205 } else if (event == DisplayPowerEvent::SLEEP) { in OnDisplayPowerEvent()