Searched refs:g_stateAction (Results 1 – 3 of 3) sorted by relevance
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mgr_fail_check_test.cpp | 26 static MockStateAction* g_stateAction; variable 33 g_stateAction = new MockStateAction(); in ResetMockAction() 36 service->EnableMock(g_powerState, g_stateAction, g_powerAction, g_lockAction); in ResetMockAction() 52 delete g_stateAction; in TearDownTestCase() 78 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_OFF, ::testing::_)) 111 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_ON, ::testing::_))
|
D | power_mgr_mock_test.cpp | 27 static MockStateAction* g_stateAction; variable 34 g_stateAction = new MockStateAction(); in ResetMockAction() 38 g_service->EnableMock(g_stateAction, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction()
|
/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_st_mock_test.cpp | 27 static MockStateAction* g_stateAction; variable 34 g_stateAction = new MockStateAction(); in ResetMockAction() 38 g_service->EnableMock(g_stateAction, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction() 131 …EXPECT_CALL(*g_stateAction, GoToSleep(_, _, true)).Times(1).WillOnce(::testing::Return(ActionResul… 185 EXPECT_CALL(*g_stateAction, GetDisplayState()) 188 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_ON, ::testing::_)) 198 EXPECT_CALL(*g_stateAction, GetDisplayState()) 201 EXPECT_CALL(*g_stateAction, SetDisplayState(DisplayState::DISPLAY_ON, ::testing::_)) 231 EXPECT_CALL(*g_stateAction, GoToSleep(_, _, _)) 265 …EXPECT_CALL(*g_stateAction, GoToSleep(_, _, true)).Times(1).WillOnce(::testing::Return(ActionResul… [all …]
|