Searched refs:LONG_TIMEOUT_MS (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 36 private static final long LONG_TIMEOUT_MS = 5000l; field in RunUtilFuncTest 102 RunUtil.getDefault().runTimedCmd(LONG_TIMEOUT_MS, "echo", "hello"); in testRunTimedCmd_repeatedOutput() 142 .runTimedCmd(3 * LONG_TIMEOUT_MS, "cat", f.getAbsolutePath()); in testRunTimedCmd_largeOutput()
|
D | RunUtilTest.java | 46 private static final long LONG_TIMEOUT_MS = 1000L; field in RunUtilTest 308 spyUtil.runTimedCmd(LONG_TIMEOUT_MS, stdoutStream, stderrStream, command); in testRuntimedCmd_withFileOutputStream() 335 CommandResult result = spyUtil.runTimedCmd(LONG_TIMEOUT_MS, null, null, command); in testRuntimedCmd_regularOutput_fileNull() 424 mRunUtil.setInterruptibleInFuture(Thread.currentThread(), LONG_TIMEOUT_MS); in testSetInterruptibleInFuture_beforeTimeout() local 459 testRunUtil.runTimedCmd(LONG_TIMEOUT_MS, "/bin/bash", "-c", "echo $" + ENV_NAME); in testUnsetPriority_inverted()
|