Home
last modified time | relevance | path

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

/base/powermgr/power_manager/test/unittest/src/
Dpower_state_level_framework_test.cpp34 std::shared_ptr<PowerStateMachine> g_stateMachineTest; variable
42 g_stateMachineTest = g_pmsTest->GetPowerStateMachine(); in SetUpTestCase()
75 …auto ret = g_stateMachineTest->SetState(PowerState::AWAKE, StateChangeReason::STATE_CHANGE_REASON_…
77 EXPECT_TRUE(g_stateMachineTest->GetState() == PowerState::AWAKE);
90 …auto ret = g_stateMachineTest->SetState(PowerState::FREEZE, StateChangeReason::STATE_CHANGE_REASON…
92 EXPECT_TRUE(g_stateMachineTest->GetState() == PowerState::FREEZE);
105 …auto ret = g_stateMachineTest->SetState(PowerState::INACTIVE, StateChangeReason::STATE_CHANGE_REAS…
107 EXPECT_TRUE(g_stateMachineTest->GetState() == PowerState::INACTIVE);
120 …auto ret = g_stateMachineTest->SetState(PowerState::STAND_BY, StateChangeReason::STATE_CHANGE_REAS…
122 EXPECT_TRUE(g_stateMachineTest->GetState() == PowerState::STAND_BY);
[all …]