Home
last modified time | relevance | path

Searched refs:setStderr (Results 1 – 25 of 38) sorted by relevance

12

/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java167 fastbootResult.setStderr("version-bootloader: 1.0.1\nfinished. total time: 0.001s"); in testGetImageVersion()
183 fastbootResult.setStderr("current-slot: _a\nfinished. total time 0.001s"); in testGetCurrentSlot_fastboot()
225 fastbootInValidResult.setStderr(""); in testRetryGetVersionCommand()
231 fastbootValidResult.setStderr("version-baseband: 1.0.1\nfinished. total time: 0.001s"); in testRetryGetVersionCommand()
325 fastbootOutput.setStderr( in testWipeCache_exists()
338 fastbootOutput.setStderr( in testWipeCache_exists()
375 fastbootOutput.setStderr( in testWipeCache_not_exists()
401 fastbootOutput.setStderr( in testWipeCache_not_exists_error()
421 result.setStderr(""); in doTestFlashWithWipe()
559 res.setStderr("flashing"); in testCheckAndFlashBootloader()
[all …]
DGsiDeviceFlashPreparerTest.java110 mSuccessResult.setStderr("OKAY [ 0.043s]"); in setUp()
113 mFailureResult.setStderr("FAILED (remote: 'Partition error')"); in setUp()
140 fastbootResult.setStderr("current-slot: _a\nfinished. total time 0.001s"); in doGetSlotExpectation()
150 fastbootResult.setStderr("current-slot: \nfinished. total time 0.001s"); in doGetEmptySlotExpectation()
DGkiDeviceFlashPreparerTest.java179 mSuccessResult.setStderr("OKAY [ 0.043s]"); in setUp()
182 mFailureResult.setStderr("FAILED (remote: 'Partition error')"); in setUp()
269 cmdResult.setStderr("error"); in testValidateGkiBootImg_FailToGenerateBootImg()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DFastbootHelperTest.java140 fakeRes.setStderr("Help doesn't exists. usage: fastboot"); in testIsFastbootAvailable_oldVersion()
152 fakeRes.setStderr("No command 'fastboot' found"); in testIsFastbootAvailable_noBinary()
165 fakeRes.setStderr(""); in testGetDevice_fail()
194 fakeRes.setStderr("error"); in testExecuteCommand_fail()
210 fakeRes.setStderr(""); in testGetBootloaderAndFastbootdDevices()
DAndroidDebugBridgeWrapperTest.java87 res.setStderr(""); in testAdbVersionParse_runFail()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java127 cr.setStderr(this.getStderr()); in getCommandResult()
146 c.setStderr("Python 2.7.6"); in testCheckPythonVersion_276given270min()
153 c.setStderr("Python 2.7.6"); in testCheckPythonVersion_276given331min()
166 c.setStderr("Python 3.0.0"); in testCheckPythonVersion_300given276min()
/tools/tradefederation/core/javatests/com/android/tradefed/util/statsd/
DConfigUtilTest.java69 mockResult.setStderr(""); in testPushDeviceConfig()
93 mockResult.setStderr(PARSING_ERROR_MSG); in testPushInvalidDeviceConfig()
119 mockResult.setStderr(""); in testPushBinaryDeviceConfig()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java139 res.setStderr(FileUtil.readStringFromFile(mOutputFile)); in testRun()
194 res.setStderr(FileUtil.readStringFromFile(mOutputFile)); in testRun_failWithIncludeFilters()
251 res.setStderr(output); in testRun_withIncludeFilters()
320 res.setStderr(output); in testRun_withExcludeFilters()
383 res.setStderr(FileUtil.readStringFromFile(mOutputFile)); in testRun_withAdbPath()
441 res.setStderr(FileUtil.readStringFromFile(mOutputFile)); in testRun_withSharedLibInHostTestsDir()
505 res.setStderr(FileUtil.readStringFromFile(mOutputFile)); in testRun_withSharedLib()
562 res.setStderr("Could not execute."); in testRunFail_exception()
564 res.setStderr(output); in testRunFail_exception()
623 res.setStderr(FileUtil.readStringFromFile(mOutputFile)); in testRunFail_failureOnly()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DOxygenClientTest.java185 res.setStderr(EXPECTED_OUTPUT); in testLease()
241 res.setStderr(EXPECTED_OUTPUT); in testLeaseWithoutBuildId()
285 res.setStderr(EXPECTED_OUTPUT); in testLeaseMultipleDevice()
414 res.setStderr(EXPECTED_OUTPUT); in testLeaseWithBootImageAndBootArtifact()
476 res.setStderr(EXPECTED_OUTPUT); in testLeaseWithBootloader()
536 res.setStderr(EXPECTED_OUTPUT); in testLeaseWithHostPackage()
DRemoteFileUtilTest.java99 res.setStderr("Failed to fetch file."); in testFetchRemoteFile_fail()
204 res.setStderr("failed to push to remote."); in testPushFileToRemote_fail()
DHostOrchestratorUtilTest.java162 cvdCommandRes.setStderr("some error"); in testPullCvdHostLogs_Oxygenation_CurlFailed()
246 cvdCommandRes.setStderr("some error"); in testPullCvdHostLogs_Oxygenation_404()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DCommandResult.java89 public void setStderr(String stderr) { in setStderr() method in CommandResult
DRunUtil.java819 result.setStderr(StreamUtil.getStackTrace(e)); in backFillException()
1007 mCommandResult.setStderr(FileUtil.readStringFromFile(stderrFile)); in run()
1013 mCommandResult.setStderr("redirected to " + stderrDest); in run()
1195 commandResult.setStderr(""); in newCommandResult()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DAtraceCollectorTest.java358 commandResult.setStderr("stderr"); in testExecutesPostProcessPar()
403 commandResult.setStderr("stderr"); in testExecutesPostProcessParDifferentFormat()
486 commandResult.setStderr("stderr"); in testExecutesPostProcessParFailed()
574 commandResult.setStderr("stderr"); in testProcessesMetricOutput()
608 commandResult.setStderr("stderr"); in testProcessesMetricOutputWithMalformedRegex()
669 commandResult.setStderr("stderr"); in testProcessesMetricOutputTwoKeys()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteFileUtil.java204 resSsh.setStderr("Failed to establish an ssh tunnel via LHP."); in doesRemoteFileExist()
290 resScp.setStderr("Failed to establish an ssh tunnel via LHP."); in internalScpExec()
DRemoteSshUtil.java71 resSsh.setStderr("Failed to establish an ssh tunnel via LHP."); in remoteSshCommandExec()
DHostOrchestratorUtil.java119 curlRes.setStderr(msg); in powerwashGce()
/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DDeviceSnapshotFeature.java230 res.setStderr("Incorrect connection type while attempting device snapshot"); in snapshotGce()
241 res.setStderr("Incorrect connection type while attempting device restore"); in restoreSnapshotGce()
/tools/tradefederation/core/javatests/com/android/tradefed/sandbox/
DSandboxConfigUtilTest.java90 result.setStderr("Ouch I failed"); in testDumpVersion_failed()
DTradefedSandboxTest.java174 result.setStderr("Ouch I failed."); in testPrepareEnvironment_dumpConfigFail()
218 result.setStderr("Could not find configuration 'empty'"); in testPrepareEnvironment_dumpConfigFail_fallback_fail()
/tools/tradefederation/core/javatests/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java147 result.setStderr("couldn't find the file"); in testDeleteFile_fail()
444 result.setStderr(""); in mockSuccess()
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DFilesystemRootCheckerTest.java49 defaultResult.setStderr(""); in setup()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java795 result.setStderr( in executeCmdOnAvailableDevice()
806 result.setStderr("Can not find the device with serial " + serial); in executeCmdOnAvailableDevice()
812 result.setStderr( in executeCmdOnAvailableDevice()
819 result.setStderr( in executeCmdOnAvailableDevice()
828 result.setStderr(e.getMessage()); in executeCmdOnAvailableDevice()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java135 results.setStderr("I failed"); in testCreateConfigurationFromArgs_fail()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java271 failure.setStderr("stderr"); in setUpDeviceWithSuper()
280 success.setStderr("stderr"); in setUpDeviceWithSuper()

12