Searched refs:g_powerAction (Results 1 – 5 of 5) sorted by relevance
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mgr_mock_test.cpp | 28 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);
|
D | power_mgr_fail_check_test.cpp | 27 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()
|
D | running_lock_mock_test.cpp | 37 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/ |
D | power_mgr_mock_system_test.cpp | 27 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()
|
D | power_mgr_st_mock_test.cpp | 28 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);
|