Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java55 String classpath, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion() argument
61 runUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in dumpConfigForVersion()
66 runUtil.setEnvVariable( in dumpConfigForVersion()
68 runUtil.setEnvVariablePriority(EnvPriority.SET); in dumpConfigForVersion()
85 CommandResult result = runUtil.runTimedCmd(DUMP_TIMEOUT, mCmdArgs.toArray(new String[0])); in dumpConfigForVersion()
107 File rootDir, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion() argument
113 return dumpConfigForVersion(classpath, runUtil, args, dump, globalConfig); in dumpConfigForVersion()
DISandbox.java93 String[] args, IKeyStoreClient keyStoreClient, IRunUtil runUtil, File globalConfig); in createThinLauncherConfig() argument
DTradefedSandbox.java271 String[] args, IKeyStoreClient keyStoreClient, IRunUtil runUtil, File globalConfig) { in createThinLauncherConfig() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilFuncTest.java160 RunUtil runUtil = new RunUtil(); in testUnsetEnvVariable() local
161 runUtil.setEnvVariable("bar", "foo"); in testUnsetEnvVariable()
165 runUtil.runTimedCmdRetry(SHORT_TIMEOUT_MS, SHORT_TIMEOUT_MS, 3, "printenv", "bar"); in testUnsetEnvVariable()
175 runUtil.unsetEnvVariable("bar"); in testUnsetEnvVariable()
177 result = runUtil.runTimedCmd(SHORT_TIMEOUT_MS, "printenv", "bar"); in testUnsetEnvVariable()
187 RunUtil runUtil = new RunUtil(); in testRunTimedCmd_timeout() local
189 CommandResult result = runUtil.runTimedCmd(VERY_SHORT_TIMEOUT_MS, command); in testRunTimedCmd_timeout()
DRunUtilTest.java202 RunUtil runUtil = new RunUtil() { in testRunEscalatingTimedRetry_timeout() local
231 assertFalse(runUtil.runEscalatingTimedRetry(1, 1, 512, maxTime, mockRunnable)); in testRunEscalatingTimedRetry_timeout()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DPythonUnitTestRunner.java89 IRunUtil runUtil = getRunUtil(); in run() local
90 runUtil.setEnvVariable(PYTHONPATH, mPythonPath); in run()
92 doRunTest(listener, runUtil, module); in run()
115 IRunUtil runUtil = RunUtil.getDefault(); in getPythonBinary() local
116 CommandResult c = runUtil.runTimedCmd(1000, "which", "python"); in getPythonBinary()
121 c = runUtil.runTimedCmd(1000, pythonBin, "--version"); in getPythonBinary()
189 void doRunTest(ITestInvocationListener listener, IRunUtil runUtil, String pyModule) { in doRunTest() argument
198 CommandResult c = runUtil.runTimedCmd(mTestTimeout, cmd); in doRunTest()
/tools/tradefederation/core/src/com/android/tradefed/config/
DSandboxConfigurationFactory.java67 String[] args, IKeyStoreClient keyStoreClient, ISandbox sandbox, IRunUtil runUtil) in createConfigurationFromArgs() argument
73 runUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in createConfigurationFromArgs()
80 runUtil, in createConfigurationFromArgs()
94 config = sandbox.createThinLauncherConfig(args, keyStoreClient, runUtil, globalConfig); in createConfigurationFromArgs()
/tools/tradefederation/core/src/com/android/tradefed/device/
DFastbootHelper.java45 public FastbootHelper(final IRunUtil runUtil, final String fastbootPath) { in FastbootHelper() argument
46 if (runUtil == null) { in FastbootHelper()
52 mRunUtil = runUtil; in FastbootHelper()
DIDeviceManager.java102 void launchEmulator(ITestDevice device, long bootTimeout, IRunUtil runUtil, in launchEmulator() argument
DNativeDevice.java1653 IRunUtil runUtil = null; in doFastbootCommand() local
1655 runUtil = new RunUtil(); in doFastbootCommand()
1656 runUtil.setEnvVariable("TMPDIR", fastbootTmpDir.getAbsolutePath()); in doFastbootCommand()
1658 runUtil = getRunUtil(); in doFastbootCommand()
1665 result = runUtil.runTimedCmd(timeout, fullCmd); in doFastbootCommand()
DDeviceManager.java602 public void launchEmulator(ITestDevice device, long bootTimeout, IRunUtil runUtil, in launchEmulator() argument
620 Process p = runUtil.runCmdInBackground(fullArgs, emulatorOutput); in launchEmulator()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DSdkAvdPreparer.java139 SdkAvdPreparer(IRunUtil runUtil, IDeviceManager deviceManager) { in SdkAvdPreparer() argument
140 mRunUtil = runUtil; in SdkAvdPreparer()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java338 public void launchEmulator(ITestDevice device, long bootTimeout, IRunUtil runUtil, in launchEmulator() argument