Home
last modified time | relevance | path

Searched refs:FREEZE (Results 1 – 7 of 7) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/
Dpower_state_level_framework_test.cpp56 EXPECT_TRUE(static_cast<uint32_t>(PowerState::FREEZE) == FREEZE) << "PowerState FREEZE correct";
90 …auto ret = g_stateMachineTest->SetState(PowerState::FREEZE, StateChangeReason::STATE_CHANGE_REASON…
92 EXPECT_TRUE(g_stateMachineTest->GetState() == PowerState::FREEZE);
Dpower_suspend_test.cpp295 PowerState::FREEZE, StateChangeReason::STATE_CHANGE_REASON_TIMEOUT);
302 EXPECT_TRUE(pmsTest_->suspendController_->stateMachine_->GetState() == PowerState::FREEZE);
Drunning_lock_native_test.cpp330 …pmsTest_->powerStateMachine_->SetState(PowerState::FREEZE, StateChangeReason::STATE_CHANGE_REASON_…
/base/powermgr/power_manager/test/unittest/include/
Dpower_state_level_framework_test.h24 constexpr uint32_t FREEZE = 1; variable
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_state_machine_info.h65 FREEZE, enumerator
/base/powermgr/power_manager/services/native/src/
Dpower_state_machine.cpp58 …lockMap_.emplace(PowerState::FREEZE, std::make_shared<std::vector<RunningLockType>>(freezeBlocker)… in PowerStateMachine()
114 controllerMap_.emplace(PowerState::FREEZE, in EmplaceFreeze()
115 …std::make_shared<StateController>(PowerState::FREEZE, shared_from_this(), [this](StateChangeReason… in EmplaceFreeze()
450 case PowerState::FREEZE: in GetPowerStateString()
1097 if (currentState == PowerState::AWAKE || currentState == PowerState::FREEZE) { in MatchState()
/base/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_controller.cpp231 if (state == PowerState::AWAKE || state == PowerState::FREEZE) { in OnInputEvent()
269 if (state == PowerState::AWAKE || state == PowerState::FREEZE) { in OnInputEvent()