Home
last modified time | relevance | path

Searched refs:getStdout (Results 1 – 22 of 22) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilFuncTest.java105 CLog.d(result.getStdout()); in testRunTimedCmd_repeatedOutput()
106 assertTrue(result.getStdout().trim().equals("hello")); in testRunTimedCmd_repeatedOutput()
118 assertTrue(result.getStdout().isEmpty()); in testRunTimedCmd_noTimeout()
146 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_largeOutput()
149 assertTrue(result.getStdout().length() == dataSize); in testRunTimedCmd_largeOutput()
169 result.getStatus(), result.getStdout(), result.getStderr()), in testUnsetEnvVariable()
172 assertEquals("foo", result.getStdout().trim()); in testUnsetEnvVariable()
179 assertEquals("", result.getStdout().trim()); in testUnsetEnvVariable()
193 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_timeout()
196 assertEquals("", result.getStdout()); in testRunTimedCmd_timeout()
DRunUtilTest.java140 assertEquals("", result.getStdout()); in testRunTimedCmd_failed()
152 assertEquals("", result.getStdout()); in testRunTimedCmd_timeout()
310 assertEquals(result.getStdout(), in testRuntimedCmd_withFileOutputStream()
337 assertEquals(result.getStdout(), "TEST\n"); in testRuntimedCmd_regularOutput_fileNull()
365 assertEquals(result.getStdout(), in testRuntimedCmd_notWritable()
443 assertNotNull(result.getStdout()); in testUnsetPriority()
445 assertEquals("\n", result.getStdout()); in testUnsetPriority()
460 assertNotNull(result.getStdout()); in testUnsetPriority_inverted()
462 assertEquals(expected + "\n", result.getStdout()); in testUnsetPriority_inverted()
DFileUtilFuncTest.java402 return result.getStdout(); in ls()
/tools/tradefederation/core/src/com/android/tradefed/device/
DRemoteAndroidDevice.java127 result.getStdout().contains(ADB_SUCCESS_CONNECT_TAG)) { in adbTcpConnect()
129 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
137 result.getStdout().contains(ADB_CONN_REFUSED)) { in adbTcpConnect()
142 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
153 resultConfirmation.getStdout().contains(ADB_ALREADY_CONNECTED_TAG)) { in confirmAdbTcpConnect()
155 resultConfirmation.getStdout(), resultConfirmation.getStderr()); in confirmAdbTcpConnect()
159 resultConfirmation.getStatus(), resultConfirmation.getStdout(), in confirmAdbTcpConnect()
DAndroidDebugBridgeWrapper.java93 Matcher m = VERSION_PATTERN.matcher(res.getStdout()); in getAdbVersion()
103 Matcher revision = REVISION_PATTERN.matcher(res.getStdout()); in getAdbVersion()
108 Matcher subVersion = SUB_VERSION_PATTERN.matcher(res.getStdout()); in getAdbVersion()
113 Matcher installPath = PATH_PATTERN.matcher(res.getStdout()); in getAdbVersion()
122 res.getStdout(), res.getStderr()); in getAdbVersion()
DFastbootHelper.java73 fastbootResult.getStdout(), fastbootResult.getStderr()); in isFastbootAvailable()
88 fastbootResult.getStdout()); in getDevices()
89 return parseDevices(fastbootResult.getStdout()); in getDevices()
129 return fastbootResult.getStdout(); in executeCommand()
DNativeDevice.java249 mOutput = result.getStdout(); in run()
546 String resultText = result.getStdout(); in getFastbootVariable()
1675 result.getStdout(), result.getStderr()); in doFastbootCommand()
DDeviceManager.java810 return result.getStdout(); in executeGlobalAdbCommand()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoMultimeterTest.java183 CLog.i("Starting calibration: " + cr.getStdout()); in doCalibration()
191 if (cr.getStdout().contains("calib0")) { in doCalibration()
222 CLog.i("Stopping measurement: " + cr.getStdout()); in setupTestEnv()
230 final String response = mDebugWithoutHardware ? "OK" : cr.getStdout(); in setupTestEnv()
235 CLog.e("Failed to set calibration values: " + cr.getStdout()); in setupTestEnv()
255 CLog.i("Starting measurement: " + cr.getStdout()); in doMeasurement()
261 CLog.i("Stopping measurement: " + cr.getStdout()); in doMeasurement()
262 if (cr == null || !cr.getStdout().contains("OK")) { in doMeasurement()
265 CLog.i("Retry - Stopping measurement: " + cr.getStdout()); in doMeasurement()
279 String frameNum = cr.getStdout(); in getResult()
[all …]
DVideoMultimeterRunner.java104 CLog.v(cr.getStdout()); in moveArm()
DAdbScreenrecordTest.java377 String output = result.getStdout(); in verifyRequiredSoftwareIsInstalled()
385 String hostname = RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT_MS, "hostname").getStdout(); in verifyRequiredSoftwareIsInstalled()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DSdkAvdPreparer.java312 sdkBuild.getAndroidToolPath(), result.getStatus(), result.getStdout(), in getSdkTargets()
315 String[] targets = result.getStdout().split("\n"); in getSdkTargets()
316 if (result.getStdout().trim().isEmpty() || targets.length == 0) { in getSdkTargets()
407 if (!result.getStatus().equals(CommandStatus.SUCCESS) || result.getStdout() == null || in createAvdForTarget()
408 !result.getStdout().contains(successPattern)) { in createAvdForTarget()
413 result.getStdout()); in createAvdForTarget()
459 result.getStdout()); in addHardwareOptions()
DRunCommandTargetPreparer.java118 cmd, result.getStdout(), result.getStderr()), in setUp()
121 CLog.v("cmd: '%s', returned:\n%s", cmd, result.getStdout()); in setUp()
DRunHostCommandTargetPreparer.java192 command, result.getStdout()); in runCommandList()
197 command, result.getStdout(), result.getStderr()); in runCommandList()
DFastbootDeviceFlasher.java780 CLog.v("fastboot stdout: " + result.getStdout()); in handleFastbootResult()
790 device.getSerialNumber(), result.getStdout(), result.getStderr()), in handleFastbootResult()
796 return result.getStdout(); in handleFastbootResult()
/tools/tradefederation/core/src/com/android/tradefed/util/
DCommandResult.java61 public String getStdout() { in getStdout() method in CommandResult
DAaptParser.java124 if (p.parse(result.getStdout())) in parse()
130 apkFile.getAbsoluteFile(), result.getStdout()); in parse()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java124 CLog.i(cr.getStdout()); in processTraceFiles()
125 output.add(cr.getStdout()); in processTraceFiles()
DAtraceCollector.java191 result.getStatus(), result.getStdout(), result.getStderr()); in postProcess()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DPythonUnitTestRunner.java117 String pythonBin = c.getStdout().trim(); in getPythonBinary()
203 CLog.e("Stdout: %s", c.getStdout()); in doRunTest()
DTfTestLauncher.java295 CLog.d(result.getStdout()); in processExecData()
/tools/tradefederation/core/src/com/android/tradefed/build/
DSdkBuildInfo.java165 return result.getStdout().split("\n"); in getSdkTargets()