Home
last modified time | relevance | path

Searched refs:getStderr (Results 1 – 25 of 29) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/device/
DFastbootHelper.java66 if (fastbootResult.getStderr() != null && in isFastbootAvailable()
67 fastbootResult.getStderr().indexOf("usage: fastboot") >= 0) { in isFastbootAvailable()
73 fastbootResult.getStdout(), fastbootResult.getStderr()); in isFastbootAvailable()
92 fastbootResult.getStderr()); in getDevices()
126 fastbootResult.getStatus(), fastbootResult.getStderr()); in executeCommand()
DRemoteAndroidDevice.java129 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
142 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
155 resultConfirmation.getStdout(), resultConfirmation.getStderr()); in confirmAdbTcpConnect()
160 resultConfirmation.getStderr()); in confirmAdbTcpConnect()
DAndroidDebugBridgeWrapper.java122 res.getStdout(), res.getStderr()); in getAdbVersion()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DPythonUnitTestRunner.java123 CLog.i("Found python version: %s", c.getStderr()); in getPythonBinary()
148 Matcher versionParts = Pattern.compile(VERSION_REGEX).matcher(c.getStderr()); in checkPythonVersion()
160 String.format("Could not parse the current version: '%s'", c.getStderr())); in checkPythonVersion()
184 c.getStderr(), mMinPyVersion)); in checkPythonVersion()
202 CLog.e("Stderr: %s", c.getStderr()); in doRunTest()
211 CLog.i("Parsing test result: %s", c.getStderr()); in doRunTest()
214 parser.processNewLines(c.getStderr().split("\n")); in doRunTest()
DJacocoCodeCoverageTest.java213 throw new IOException(result.getStderr()); in runAntBuild()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java58 PROJECT_ID, sBucketName, cr.getStderr()), in setUpBeforeClass()
72 "Filed to create file %s %s: %s", sBucketName, FILE_NAME, cr.getStderr()), in setUpBeforeClass()
84 String.format("Filed to clear bucket %s: %s", sBucketName, cr.getStderr()), in tearDownAfterClass()
89 String.format("Filed to delete bucket %s: %s", sBucketName, cr.getStderr()), in tearDownAfterClass()
DRunUtilFuncTest.java146 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_largeOutput()
169 result.getStatus(), result.getStdout(), result.getStderr()), in testUnsetEnvVariable()
193 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_timeout()
197 assertEquals("", result.getStderr()); in testRunTimedCmd_timeout()
DRunUtilTest.java141 assertEquals("", result.getStderr()); in testRunTimedCmd_failed()
153 assertEquals("", result.getStderr()); in testRunTimedCmd_timeout()
312 assertEquals(result.getStderr(), in testRuntimedCmd_withFileOutputStream()
338 assertEquals(result.getStderr(), ""); in testRuntimedCmd_regularOutput_fileNull()
367 assertEquals(result.getStderr(), in testRuntimedCmd_notWritable()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceWiper.java57 throw new TargetSetupError(String.format("fastboot wiping failed: %s", r.getStderr()), in doFormat()
73 r.getStderr()), device.getDeviceDescriptor()); in performFastbootOp()
DFastbootDeviceFlasher.java239 || result.getStderr().contains("FAILED")) { in hasPartition()
244 return regex.matcher(result.getStderr()).find(); in hasPartition()
781 CLog.v("fastboot stderr: " + result.getStderr()); in handleFastbootResult()
783 if (result.getStderr().contains("FAILED")) { in handleFastbootResult()
790 device.getSerialNumber(), result.getStdout(), result.getStderr()), in handleFastbootResult()
793 if (result.getStderr().length() > 0) { in handleFastbootResult()
794 return result.getStderr(); in handleFastbootResult()
DPreloadedClassesPreparer.java100 String.format("Error writing: %s", result.getStderr()), in setUp()
DSdkAvdPreparer.java313 result.getStderr()), mTestDevice.getDeviceDescriptor()); in getSdkTargets()
417 result.getStderr()), mTestDevice.getDeviceDescriptor()); in createAvdForTarget()
462 "Unable to add hardware option to AVD. stderr: '%s'", result.getStderr()), in addHardwareOptions()
DRunCommandTargetPreparer.java118 cmd, result.getStdout(), result.getStderr()), in setUp()
DRunHostCommandTargetPreparer.java197 command, result.getStdout(), result.getStderr()); in runCommandList()
/tools/tradefederation/core/src/com/android/tradefed/util/
DCommandResult.java74 public String getStderr() { in getStderr() method in CommandResult
DAaptParser.java117 String stderr = result.getStderr(); in parse()
/tools/tradefederation/core/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java155 if (!result.getStderr().contains("TEST_RUN_STARTED")) { in runSinglePythonFile()
159 result.getStderr())); in runSinglePythonFile()
166 FileUtil.writeToFile(result.getStderr(), resultFile); in runSinglePythonFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java90 private String getStderr() { in getStderr() method in PythonUnitTestRunnerTest.UnitTestResult
121 cr.setStderr(this.getStderr()); in getCommandResult()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPreloadedClassesTest.java190 CLog.e("Error scanning: %s", result.getStderr()); in scanAndExportClasses()
224 CLog.e("Error computing classes: %s", result.getStderr()); in writePreloadedClasses()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxInvocationRunner.java54 handleStderrException(result.getStderr()); in prepareAndRun()
DSandboxConfigUtil.java91 throw new SandboxConfigurationException(result.getStderr()); in dumpConfigForVersion()
/tools/tradefederation/core/src/com/android/tradefed/build/
DSdkBuildInfo.java162 getAndroidToolPath(), result.getStatus(), result.getStderr())); in getSdkTargets()
/tools/tradefederation/core/prod-tests/src/com/android/monkey/
DAnrReportGenerator.java166 CLog.w(cr.getStderr()); in genereateAnrReport()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAtraceCollector.java191 result.getStatus(), result.getStdout(), result.getStderr()); in postProcess()
DAtraceRunMetricCollector.java128 traceFile.getName(), cr.getStderr(), cr.getStatus()); in processTraceFiles()

12