Home
last modified time | relevance | path

Searched refs:stdoutFile (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java416 long timeout, String input, File stdoutFile, File stderrFile, String... command) { in runTimedCmdWithInput() argument
418 pb.redirectOutput(ProcessBuilder.Redirect.to(stdoutFile)); in runTimedCmdWithInput()
905 File stdoutFile = mProcessBuilder.redirectOutput().file(); in run() local
918 if (stdoutFile == null && mStdOut == null) { in run()
920 stdoutFile = in run()
926 stdoutFile.deleteOnExit(); in run()
927 mProcessBuilder.redirectOutput(Redirect.appendTo(stdoutFile)); in run()
941 mOutputMonitorStdoutFile = stdoutFile; in run()
949 FileUtil.deleteFile(stdoutFile); in run()
998 mCommandResult.setStdout(FileUtil.readStringFromFile(stdoutFile)); in run()
[all …]
DIRunUtil.java286 long timeout, String input, File stdoutFile, File stderrFile, final String... command); in runTimedCmdWithInput() argument
/tools/tradefederation/core/javatests/com/android/tradefed/cache/remote/
DRemoteCacheClientTest.java143 File stdoutFile = FileUtil.createTempFile("stdout-", ".txt", mWorkFolder); in uploadCache_works() local
145 FileUtil.writeToFile(stdout, stdoutFile); in uploadCache_works()
146 ExecutableActionResult result = ExecutableActionResult.create(exitCode, stdoutFile, null); in uploadCache_works()
151 .setStdoutDigest(DigestCalculator.compute(stdoutFile)) in uploadCache_works()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java172 File stdoutFile = new File(logDir, "stdout.txt"); in run() local
176 runSetupScripts(runUtil, stdoutFile, stderrFile); in run()
178 FileIdleMonitor monitor = createFileMonitor(stdoutFile, stderrFile); in run()
209 stdoutFile, in run()
250 final IRunUtil runUtil, final File stdoutFile, final File stderrFile) { in runSetupScripts() argument
266 stdoutFile, in runSetupScripts()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java368 File stdoutFile = null; in run() local
380 stdoutFile = FileUtil.createTempFile("stdout_subprocess_", ".log"); in run()
383 stdout = new FileOutputStream(stdoutFile); in run()
460 logAndCleanFile(stdoutFile, listener); in run()