Home
last modified time | relevance | path

Searched refs:setStdout (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DAndroidDebugBridgeWrapperTest.java54 res.setStdout("Android Debug Bridge version 1.0.36\nRevision 0e7324e9095a-android\n"); in testAdbVersionParsing()
70 res.setStdout( in testAdbVersionParsing_altFormat()
89 res.setStdout(""); in testAdbVersionParse_runFail()
105 res.setStdout("Android Debug Bridge version 1.0.36\n"); in testAdbVersionParsing_partial()
121 res.setStdout("This is probably not the right output\n"); in testAdbVersionParsing_parseFail()
DRemoteAndroidDeviceTest.java78 adbResult.setStdout("connected to"); in testAdbConnect()
81 adbResultConfirmation.setStdout("already connected to localhost:1234"); in testAdbConnect()
98 adbResult.setStdout("cannot connect"); in testAdbConnect_fails()
116 adbResult.setStdout("connected to"); in testAdbConnect_fails_confirmation()
DFastbootHelperTest.java139 fakeRes.setStdout(""); in testGetDevice_fail()
158 fakeRes.setStdout(expectedStdout); in testExecuteCommand()
DDeviceManagerTest.java400 fastbootResult.setStdout("serial fastboot\n"); in testAllocateDevice_fastboot()
704 connectResult.setStdout(String.format("failed to connect to %s", ipAndPort)); in testConnectToTcpDevice_connectFailed()
824 connectResult.setStdout(String.format("connected to %s", ipAndPort)); in setConnectToTcpDeviceExpectations()
926 stubAdbDevices.setStdout("List of devices attached\nserial\tdevice\n"); in testFreeDevice_unavailable()
990 stubAdbDevices.setStdout("List of devices attached\n"); in testFreeDevice_unknown()
1054 stubAdbDevices.setStdout("List of devices attached\n2serial\tdevice\n"); in testFreeDevice_unknown_subName()
DTestDeviceTest.java220 adbResult.setStdout("restarting adbd as non root"); in testDisableAdbRoot_unroot()
239 adbResult.setStdout("restarting adbd as root"); in setEnableAdbRootExpectations()
268 adbBadResult.setStdout(""); in testEnableAdbRoot_rootRetry()
271 adbResult.setStdout("restarting adbd as root"); in testEnableAdbRoot_rootRetry()
308 fastbootResult.setStdout(""); in testGetProductType_fastboot()
329 fastbootResult.setStdout(""); in testGetProductType_fastbootNonalpha()
350 fastbootResult.setStdout(""); in testGetProductType_fastbootFail()
1002 successResult.setStdout(""); in testExecuteFastbootCommand_recovery()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java134 fastbootResult.setStdout(""); in testGetImageVersion()
150 fastbootResult.setStdout(""); in testGetCurrentSlot_fastboot()
194 fastbootInValidResult.setStdout(""); in testRetryGetVersionCommand()
200 fastbootValidResult.setStdout(""); in testRetryGetVersionCommand()
295 fastbootOutput.setStdout(""); in testWipeCache_exists()
342 fastbootOutput.setStdout(""); in testWipeCache_not_exists()
363 fastbootOutput.setStdout(""); in testWipeCache_not_exists_error()
381 result.setStdout(""); in doTestFlashWithWipe()
650 result.setStdout(""); in setFastbootResponseExpectations()
667 result.setStdout(""); in setFastbootFlashExpectations()
DRunHostCommandTargetPreparerTest.java79 result.setStdout(""); in testSetUp()
100 result.setStdout(""); in testTearDown()
DSdkAvdPreparerTest.java206 result.setStdout(""); in testSetUp_failedCreateAvd()
228 result.setStdout(stdout); in setGetTargetsResponse()
240 result.setStdout(String.format("Created AVD '%s'", avdName)); in setCreateAvdResponse()
DRunCommandTargetPreparerTest.java73 res.setStdout(""); in testSetUp()
93 res.setStdout(""); in testSetUp_withTimeout()
/tools/tradefederation/core/src/com/android/tradefed/util/
DCommandResult.java65 public void setStdout(String stdout) { in setStdout() method in CommandResult
DRunUtil.java603 mCommandResult.setStdout(""); in RunnableResult()
681 mCommandResult.setStdout(((ByteArrayOutputStream)stdOut).toString("UTF-8")); in run()
683 mCommandResult.setStdout("redirected to " + in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DSdkBuildInfoTest.java55 result.setStdout("android-1\nandroid-2\n"); in testGetSdkTargets()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DAtraceCollectorTest.java384 commandResult.setStdout("stdout"); in testExecutesPostProcessPar()
426 commandResult.setStdout("stdout"); in testExecutesPostProcessParDifferentFormat()
465 commandResult.setStdout("stdout"); in testExecutesPostProcessParNoStderr()