/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 106 CLog.d(result.getStdout()); in testRunTimedCmd_repeatedOutput() 107 assertTrue(result.getStdout().trim().equals("hello")); in testRunTimedCmd_repeatedOutput() 119 assertTrue(result.getStdout().isEmpty()); in testRunTimedCmd_noTimeout() 147 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_largeOutput() 150 assertTrue(result.getStdout().length() == dataSize); in testRunTimedCmd_largeOutput() 170 result.getStatus(), result.getStdout(), result.getStderr()), in testUnsetEnvVariable() 173 assertEquals("foo", result.getStdout().trim()); in testUnsetEnvVariable() 180 assertEquals("", result.getStdout().trim()); in testUnsetEnvVariable() 194 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_timeout() 197 assertEquals("", result.getStdout()); in testRunTimedCmd_timeout() [all …]
|
D | RunUtilTest.java | 177 assertEquals("", result.getStdout()); in testRunTimedCmd_failed() 190 assertEquals("", result.getStdout()); in testRunTimedCmd_timeout() 350 assertEquals(result.getStdout(), in testRuntimedCmd_withFileOutputStream() 378 assertEquals(result.getStdout(), "TEST STDOUT\n"); in testRuntimedCmd_regularOutput_fileNull() 409 result.getStdout(), "redirected to " + stdoutStream.getClass().getSimpleName()); in testRuntimedCmd_notWritable() 455 assertNotNull(result.getStdout()); in testUnsetPriority() 457 assertEquals("\n", result.getStdout()); in testUnsetPriority() 472 assertNotNull(result.getStdout()); in testUnsetPriority_inverted() 474 assertEquals(expected + "\n", result.getStdout()); in testUnsetPriority_inverted() 482 assertEquals("", result.getStdout()); in testGotExitCodeFromCommand() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | FastbootHelper.java | 76 fastbootResult.getStdout(), fastbootResult.getStderr()); in isFastbootAvailable() 90 fastbootResult.getStdout()); in getDevices() 91 return parseDevices(fastbootResult.getStdout(), false); in getDevices() 108 CLog.v("fastboot devices returned\n %s", fastbootResult.getStdout()); in getBootloaderAndFastbootdDevices() 109 Set<String> fastboot = parseDevices(fastbootResult.getStdout(), false); in getBootloaderAndFastbootdDevices() 110 Set<String> fastbootd = parseDevices(fastbootResult.getStdout(), true); in getBootloaderAndFastbootdDevices() 164 return fastbootResult.getStdout(); in executeCommand()
|
D | RemoteAndroidDevice.java | 190 result.getStdout().contains(ADB_SUCCESS_CONNECT_TAG)) { in adbTcpConnect() 193 result.getStatus(), result.getStdout()); in adbTcpConnect() 201 result.getStdout().contains(ADB_CONN_REFUSED)) { in adbTcpConnect() 206 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect() 215 && resultConfirmation.getStdout().contains(ADB_ALREADY_CONNECTED_TAG)) { in confirmAdbTcpConnect() 216 CLog.d("adb connect confirmed:\nstdout: %s\n", resultConfirmation.getStdout()); in confirmAdbTcpConnect() 220 resultConfirmation.getStatus(), resultConfirmation.getStdout(), in confirmAdbTcpConnect()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
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()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSBucketUtil.java | 193 res.getStdout(), in copy() 292 res.getStdout(), in makeBucket() 331 res.getStdout(), in ls() 334 return Arrays.asList(res.getStdout().split("\n")); in ls() 438 res.getStdout(), in stat() 441 return GCSFileMetadata.parseStat(res.getStdout()); in stat() 477 Matcher matcher = md5Pattern.matcher(res.getStdout()); in md5Hash() 487 res.getStdout(), in md5Hash() 520 return res.getStdout(); in pullContents() 597 res.getStdout(), in remove() [all …]
|
D | AaptParser.java | 149 if (!CommandStatus.SUCCESS.equals(result.getStatus()) || !p.parse(result.getStdout())) { in parse() 152 apkFile.getAbsoluteFile(), result.getStdout()); in parse() 173 || !p.parseXmlTree(result.getStdout())) { in parse() 176 apkFile.getAbsoluteFile(), result.getStdout()); in parse()
|
/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 …]
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | RunCommandTargetPreparer.java | 98 cmd, result.getStdout(), result.getStderr()), in setUp() 104 cmd, result.getStdout(), result.getStderr()); in setUp() 135 cmd, result.getStdout(), result.getStderr()); in tearDown()
|
D | GkiDeviceFlashPreparer.java | 296 command, result.getStdout()); in executeHostCommand() 302 command, result.getStdout(), result.getStderr()), in executeHostCommand() 372 CLog.v("fastboot stdout: " + result.getStdout()); in executeFastbootCmd() 386 result.getStdout(), in executeFastbootCmd() 393 return result.getStdout(); in executeFastbootCmd()
|
D | GsiDeviceFlashPreparer.java | 333 CLog.v("fastboot stdout: " + result.getStdout()); in executeFastbootCmd() 347 result.getStdout(), in executeFastbootCmd() 354 return result.getStdout(); in executeFastbootCmd()
|
/tools/tradefederation/contrib/src/com/android/build/tests/ |
D | KernelImageCheck.java | 135 String vmlinuxStrings = result.getStdout(); in test_stable_abi() 143 String repoRootDir = result.getStdout(); in test_stable_abi() 176 CLog.i("Result stdout: %s", result.getStdout()); in test_stable_abi() 212 CLog.i("Result stdout: %s", result.getStdout()); in test_stable_abi()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | RunHostScriptTargetPreparer.java | 90 CLog.i("Script executed successfully, stdout = [%s].", result.getStdout()); in setUp() 96 result.getStdout(), result.getStderr()), in setUp() 105 result.getStdout(), result.getStderr()), in setUp()
|
D | DisableSELinuxTargetPreparer.java | 43 mWasPermissive = result.getStdout().contains(PERMISSIVE); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | RemoteInvocationExecution.java | 199 CLog.d("stdout: %s", listRemoteDir.getStdout()); in runTests() 338 CLog.e("Error running the remote command: %s", resultRemoteExecution.getStdout()); in runRemote() 480 CLog.d("ps -ef: stdout: %s\nstderr: %s\n", psRes.getStdout(), psRes.getStderr()); in isStillRunning() 481 stillRunning = psRes.getStdout().contains(configFile.getName()); in isStillRunning() 535 CLog.d("remote adb prob: %s", probAdb.getStdout()); in resetAdb() 541 CLog.d("version adb: %s", versionAdb.getStdout()); in resetAdb() 554 String folder = tmpDirFolder.getStdout().trim(); in collectAdbLogs() 563 String uidString = uid.getStdout().trim(); in collectAdbLogs()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustBinaryHostTest.java | 148 testCount = parseTestListCount(listResult.getStdout().split("\n")); in runSingleRustFile() 169 result.getStdout(), result.getStderr()); in runSingleRustFile() 180 String[] lines = result.getStdout().split("\n"); in runSingleRustFile()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceCollector.java | 213 result.getStatus(), result.getStdout(), result.getStderr()); in postProcess() 214 if (result.getStdout() == null) { in postProcess() 220 for (String line : result.getStdout().split("\n")) { in postProcess()
|
D | AtraceRunMetricCollector.java | 124 CLog.i(cr.getStdout()); in processTraceFiles() 125 output.add(cr.getStdout()); in processTraceFiles()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | CommandResult.java | 62 public String getStdout() { in getStdout() method in CommandResult
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparer.java | 110 result.getStdout(), result.getStderr()), in setUp() 129 CLog.d("Restart adb - stdout: %s\nstderr: %s", restart.getStdout(), restart.getStderr()); in tearDown()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTest.java | 195 result.getStdout(), result.getStderr(), result.getStatus()); in runSingleParFile() 222 pathResult.getStdout(), in updateAdb() 230 pathResult.getStdout().trim()); in updateAdb() 235 CLog.d("%s", versionRes.getStdout()); in updateAdb()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTest.java | 290 pathResult.getStdout(), in runSinglePythonFile() 298 pathResult.getStdout().trim()); in runSinglePythonFile() 303 CLog.d("%s", versionRes.getStdout()); in runSinglePythonFile() 317 result.getStdout(), result.getStderr()); in runSinglePythonFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | NestedRemoteDevice.java | 101 CLog.e("%s\n%s", printAdbDevices.getStdout(), printAdbDevices.getStderr()); in resetVirtualDevice() 200 String content = readLauncherLogRes.getStdout(); in captureLauncherLog()
|
D | NestedDeviceStateMonitor.java | 64 && !res.getStdout().contains(DUMPSYS_ERROR)) { in nestedWaitForDeviceOnline()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | PythonUnitTestRunner.java | 121 String pythonBin = c.getStdout().trim(); in getPythonBinary() 207 CLog.e("Stdout: %s", c.getStdout()); in doRunTest()
|