Searched refs:g_powerAction (Results 1 - 5 of 5) sorted by relevance
/base/powermgr/power_manager/test/unittest/src/ |
H A 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); in HWTEST_F()
|
H A 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()
|
H A 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/ |
H A 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()
|
H A 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() 84 EXPECT_CALL(*g_powerAction, Reboot(std::string("test"))).Times(1); in HWTEST_F() 108 EXPECT_CALL(*g_powerAction, Shutdown(std::string("test"))).Times(1); in HWTEST_F()
|
Completed in 5 milliseconds