Searched refs:mCmdUtil (Results 1 – 3 of 3) sorted by relevance
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
D | VtsHalAdapterPreparer.java | 74 private CmdUtil mCmdUtil = null; field in VtsHalAdapterPreparer 101 mCmdUtil = mCmdUtil != null ? mCmdUtil : new CmdUtil(); in setUp() 102 mCmdUtil.setSystemProperty(device, ADAPTER_SYSPROP, "false"); in setUp() 130 if (!mCmdUtil.retry( in setUp() 135 mCmdUtil.restartFramework(device); in setUp() 136 if (!mCmdUtil.waitCmdResultWithDelay( in setUp() 151 mCmdUtil = mCmdUtil != null ? mCmdUtil : new CmdUtil(); in tearDown() 152 if (!mCmdUtil.retry(device, command, String.format(LIST_HAL_CMD, mPackageName), in tearDown() 153 mCheckNonEmpty, mCommands.size() + mCmdUtil.MAX_RETRY_COUNT)) { in tearDown() 157 mCmdUtil.restartFramework(device); in tearDown() [all …]
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/ |
D | CmdUtilTest.java | 51 CmdUtil mCmdUtil = null; field in CmdUtilTest 64 mCmdUtil = new CmdUtil(); in setUp() 65 mCmdUtil.setSleeper(msleeper); in setUp() 71 assertTrue(mCmdUtil.waitCmdResultWithDelay(mDevice, TEST_CMD, mCheckEmpty)); in testWaitCmdSuccess() 77 assertTrue(mCmdUtil.waitCmdResultWithDelay(mDevice, TEST_CMD, mCheckEmpty)); in testWaitCmdSuccessWithRetry() 83 assertFalse(mCmdUtil.waitCmdResultWithDelay(mDevice, TEST_CMD, mCheckEmpty)); in testWaitCmdSuccessFail() 89 assertTrue(mCmdUtil.retry(mDevice, RUN_CMD, TEST_CMD, mCheckEmpty)); in testRetrySuccess() 96 assertTrue(mCmdUtil.retry(mDevice, RUN_CMD, TEST_CMD, mCheckEmpty)); in testRetrySuccessWithRetry() 103 assertFalse(mCmdUtil.retry(mDevice, RUN_CMD, TEST_CMD, mCheckEmpty)); in testRetryFail() 115 assertTrue(mCmdUtil.retry(mDevice, cmds, TEST_CMD, mCheckEmpty)); in testRetryMultipleCommandsSuccess()
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/ |
D | VtsHalAdapterPreparerTest.java | 94 private TestCmdUtil mCmdUtil = new TestCmdUtil(); field in VtsHalAdapterPreparerTest 121 mPreparer.setCmdUtil(mCmdUtil); in setUp() 200 mCmdUtil.mCmdSuccess = false; in testOnSetUpAdapterFailed() 212 mCmdUtil.mCmdSuccess = false; in testOnTearDownRestoreFailed() 213 mPreparer.setCmdUtil(mCmdUtil); in testOnTearDownRestoreFailed()
|