Home
last modified time | relevance | path

Searched refs:commandResult (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DAtraceCollectorTest.java387 CommandResult commandResult = new CommandResult(CommandStatus.SUCCESS); in testExecutesPostProcessPar() local
388 commandResult.setStdout("stdout"); in testExecutesPostProcessPar()
389 commandResult.setStderr("stderr"); in testExecutesPostProcessPar()
397 .andReturn(commandResult) in testExecutesPostProcessPar()
429 CommandResult commandResult = new CommandResult(CommandStatus.SUCCESS); in testExecutesPostProcessParDifferentFormat() local
430 commandResult.setStdout("stdout"); in testExecutesPostProcessParDifferentFormat()
431 commandResult.setStderr("stderr"); in testExecutesPostProcessParDifferentFormat()
438 .andReturn(commandResult) in testExecutesPostProcessParDifferentFormat()
468 CommandResult commandResult = new CommandResult(CommandStatus.SUCCESS); in testExecutesPostProcessParNoStderr() local
469 commandResult.setStdout("stdout"); in testExecutesPostProcessParNoStderr()
[all …]
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DGetLastCommandResultOp.java119 protected void packResponseIntoJson(CommandResult commandResult, JSONObject json) in packResponseIntoJson() argument
121 json.put(STATUS, commandResult.getStatus().name()); in packResponseIntoJson()
122 if (commandResult.getInvocationErrorDetails() != null) { in packResponseIntoJson()
123 json.put(INVOCATION_ERROR, commandResult.getInvocationErrorDetails()); in packResponseIntoJson()
125 if (commandResult.getFreeDeviceState() != null) { in packResponseIntoJson()
126 json.put(FREE_DEVICE_STATE, commandResult.getFreeDeviceState().name()); in packResponseIntoJson()
128 Map<String, String> runMetrics = commandResult.getRunMetrics(); in packResponseIntoJson()
/tools/tradefederation/core/
Dtradefed_win.bat64 call:commandResult "hostname" HOST_NAME
65 call:commandResult "findstr /i /b "%HOST_NAME%" "%TRADEFED_OPTS_FILE%"" TRADEFED_OPTS
92 :: usage: call:commandResult "command" result
93 :commandResult label
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DAbiUtils.java286 CommandResult commandResult = RunUtil.getDefault().runTimedCmd(5000L, "uname", "-m"); in getHostAbi() local
287 String mainAbi = commandResult.getStdout().trim(); in getHostAbi()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java425 ExecCommandTracker commandResult = in processExecCommand() local
427 if (commandResult != null && in processExecCommand()
428 commandResult.getCommandResult().getStatus() == Status.EXECUTING) { in processExecCommand()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...