Home
last modified time | relevance | path

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

/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_mock_test.cpp28 static MockPowerAction* g_powerAction; variable
36 g_powerAction = new MockPowerAction(); in ResetMockAction()
38 g_service->EnableMock(g_stateAction, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction()
80 EXPECT_CALL(*g_powerAction, Reboot(std::string("test"))).Times(1);
Dpower_mgr_fail_check_test.cpp27 static MockPowerAction* g_powerAction; variable
34 g_powerAction = new MockPowerAction(); in ResetMockAction()
36 service->EnableMock(g_powerState, g_stateAction, g_powerAction, g_lockAction); in ResetMockAction()
53 delete g_powerAction; in TearDownTestCase()
Drunning_lock_mock_test.cpp37 static MockPowerAction* g_powerAction; variable
44 g_powerAction = new MockPowerAction(); in ResetMockAction()
46 …g_powerService->EnableMock(g_powerStateAction, g_shutdownStateAction, g_powerAction, g_lockAction); in ResetMockAction()
/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_mock_system_test.cpp27 static MockPowerAction* g_powerAction; variable
35 g_powerAction = new MockPowerAction(); in ResetMockAction()
37 g_service->EnableMock(g_powerState, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction()
Dpower_mgr_st_mock_test.cpp28 static MockPowerAction* g_powerAction; variable
36 g_powerAction = new MockPowerAction(); in ResetMockAction()
38 g_service->EnableMock(g_stateAction, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction()
83 EXPECT_CALL(*g_powerAction, Reboot(std::string("test"))).Times(1);
107 EXPECT_CALL(*g_powerAction, Shutdown(std::string("test"))).Times(1);