Home
last modified time | relevance | path

Searched refs:runUtil (Results 1 – 4 of 4) sorted by relevance

/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/
DVtsPythonRunnerHelperTest.java55 IRunUtil runUtil = new RunUtil() { in createMockRunUtil() local
82 return runUtil; in createMockRunUtil()
89 IRunUtil runUtil = EasyMock.createMock(IRunUtil.class); in createMockRunUtil() local
90 EasyMock.expect(runUtil.runTimedCmd(EasyMock.anyLong(), EasyMock.anyObject(), in createMockRunUtil()
93 runUtil.setWorkingDir(null); in createMockRunUtil()
94 return runUtil; in createMockRunUtil()
99 IRunUtil runUtil = createMockRunUtil(CommandStatus.SUCCESS); in testProcessRunSuccess() local
100 EasyMock.replay(runUtil); in testProcessRunSuccess()
102 new VtsPythonRunnerHelper(new File(mVirtualenvPath), null, runUtil); in testProcessRunSuccess()
108 EasyMock.verify(runUtil); in testProcessRunSuccess()
[all …]
DProcessHelperTest.java162 IRunUtil runUtil = RunUtil.getDefault(); in testInterrupt() local
173 runUtil.interrupt(testThread, "unit test"); in testInterrupt()
177 runUtil.allowInterrupt(true); in testInterrupt()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsPythonRunnerHelper.java55 public VtsPythonRunnerHelper(File virtualEnvPath, File workingDir, IRunUtil runUtil) { in VtsPythonRunnerHelper() argument
57 mRunUtil = runUtil; in VtsPythonRunnerHelper()
153 public static void activateVirtualenv(IRunUtil runUtil, String virtualenvPath) { in activateVirtualenv() argument
159 runUtil.setEnvVariable(PATH, pythonBinDir + separater + System.getenv().get(PATH)); in activateVirtualenv()
160 runUtil.setEnvVariable(VtsPythonVirtualenvPreparer.VIRTUAL_ENV, virtualenvPath); in activateVirtualenv()
161 runUtil.unsetEnvVariable(PYTHONHOME); in activateVirtualenv()
/test/vts/testcases/host/firmware_dtbo_test/src/com/android/tests/firmwaredtbo/
DFirmwareDtboVerification.java115 RunUtil runUtil = new RunUtil(); in testCheckDTBOPartition() local
119 CommandResult result = runUtil.runTimedCmd(timeoutMs, cmds); in testCheckDTBOPartition()