/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 105 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()
|
D | RunUtilTest.java | 140 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()
|
D | FileUtilFuncTest.java | 402 return result.getStdout(); in ls()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | RemoteAndroidDevice.java | 127 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()
|
D | AndroidDebugBridgeWrapper.java | 93 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()
|
D | FastbootHelper.java | 73 fastbootResult.getStdout(), fastbootResult.getStderr()); in isFastbootAvailable() 88 fastbootResult.getStdout()); in getDevices() 89 return parseDevices(fastbootResult.getStdout()); in getDevices() 129 return fastbootResult.getStdout(); in executeCommand()
|
D | NativeDevice.java | 249 mOutput = result.getStdout(); in run() 546 String resultText = result.getStdout(); in getFastbootVariable() 1675 result.getStdout(), result.getStderr()); in doFastbootCommand()
|
D | DeviceManager.java | 810 return result.getStdout(); in executeGlobalAdbCommand()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | VideoMultimeterTest.java | 183 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 …]
|
D | VideoMultimeterRunner.java | 104 CLog.v(cr.getStdout()); in moveArm()
|
D | AdbScreenrecordTest.java | 377 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/ |
D | SdkAvdPreparer.java | 312 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()
|
D | RunCommandTargetPreparer.java | 118 cmd, result.getStdout(), result.getStderr()), in setUp() 121 CLog.v("cmd: '%s', returned:\n%s", cmd, result.getStdout()); in setUp()
|
D | RunHostCommandTargetPreparer.java | 192 command, result.getStdout()); in runCommandList() 197 command, result.getStdout(), result.getStderr()); in runCommandList()
|
D | FastbootDeviceFlasher.java | 780 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/ |
D | CommandResult.java | 61 public String getStdout() { in getStdout() method in CommandResult
|
D | AaptParser.java | 124 if (p.parse(result.getStdout())) in parse() 130 apkFile.getAbsoluteFile(), result.getStdout()); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | AtraceRunMetricCollector.java | 124 CLog.i(cr.getStdout()); in processTraceFiles() 125 output.add(cr.getStdout()); in processTraceFiles()
|
D | AtraceCollector.java | 191 result.getStatus(), result.getStdout(), result.getStderr()); in postProcess()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | PythonUnitTestRunner.java | 117 String pythonBin = c.getStdout().trim(); in getPythonBinary() 203 CLog.e("Stdout: %s", c.getStdout()); in doRunTest()
|
D | TfTestLauncher.java | 295 CLog.d(result.getStdout()); in processExecData()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | SdkBuildInfo.java | 165 return result.getStdout().split("\n"); in getSdkTargets()
|