Searched refs:g_lockAction (Results 1 – 5 of 5) sorted by relevance
/base/powermgr/power_manager/test/unittest/src/ |
D | running_lock_mock_test.cpp | 38 static MockLockAction* g_lockAction; variable 45 g_lockAction = new MockLockAction(); in ResetMockAction() 46 …g_powerService->EnableMock(g_powerStateAction, g_shutdownStateAction, g_powerAction, g_lockAction); in ResetMockAction() 77 ASSERT_NE(g_lockAction, nullptr); 88 EXPECT_CALL(*g_lockAction, Lock(_)).WillRepeatedly([&](const RunningLockParam& param) { in __anon5abd24c10302() 95 EXPECT_CALL(*g_lockAction, Unlock(_)).WillRepeatedly([&](const RunningLockParam& param) { in __anon5abd24c10402() 133 ASSERT_NE(g_lockAction, nullptr); 142 EXPECT_CALL(*g_lockAction, Lock(_)).WillRepeatedly([&](const RunningLockParam& param) { in __anon5abd24c10502() 149 EXPECT_CALL(*g_lockAction, Unlock(_)).WillRepeatedly([&](const RunningLockParam& param) { in __anon5abd24c10602() 176 ASSERT_NE(g_lockAction, nullptr); [all …]
|
D | power_mgr_mock_test.cpp | 29 static MockLockAction* g_lockAction; variable 37 g_lockAction = new MockLockAction(); in ResetMockAction() 38 g_service->EnableMock(g_stateAction, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction()
|
D | power_mgr_fail_check_test.cpp | 28 static MockLockAction* g_lockAction; variable 35 g_lockAction = new MockLockAction(); in ResetMockAction() 36 service->EnableMock(g_powerState, g_stateAction, g_powerAction, g_lockAction); in ResetMockAction() 54 delete g_lockAction; in TearDownTestCase()
|
/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_mock_system_test.cpp | 28 static MockLockAction* g_lockAction; variable 36 g_lockAction = new MockLockAction(); in ResetMockAction() 37 g_service->EnableMock(g_powerState, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction()
|
D | power_mgr_st_mock_test.cpp | 29 static MockLockAction* g_lockAction; variable 37 g_lockAction = new MockLockAction(); in ResetMockAction() 38 g_service->EnableMock(g_stateAction, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction() 195 EXPECT_CALL(*g_lockAction, Lock(_)).Times(1); 206 EXPECT_CALL(*g_lockAction, Unlock(_)).Times(1); 385 EXPECT_CALL(*g_lockAction, Lock(_)).Times(1); 478 EXPECT_CALL(*g_lockAction, Lock(_)).Times(1); 486 EXPECT_CALL(*g_lockAction, Unlock(_)).Times(1); 515 EXPECT_CALL(*g_lockAction, Lock(_)).Times(1);
|