Searched refs:commandResult (Results 1 – 4 of 4) sorted by relevance
119 protected void packResponseIntoJson(CommandResult commandResult, JSONObject json) in packResponseIntoJson() argument121 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()
383 CommandResult commandResult = new CommandResult(CommandStatus.SUCCESS); in testExecutesPostProcessPar() local384 commandResult.setStdout("stdout"); in testExecutesPostProcessPar()385 commandResult.setStderr("stderr"); in testExecutesPostProcessPar()393 .andReturn(commandResult) in testExecutesPostProcessPar()425 CommandResult commandResult = new CommandResult(CommandStatus.SUCCESS); in testExecutesPostProcessParDifferentFormat() local426 commandResult.setStdout("stdout"); in testExecutesPostProcessParDifferentFormat()427 commandResult.setStderr("stderr"); in testExecutesPostProcessParDifferentFormat()434 .andReturn(commandResult) in testExecutesPostProcessParDifferentFormat()464 CommandResult commandResult = new CommandResult(CommandStatus.SUCCESS); in testExecutesPostProcessParNoStderr() local465 commandResult.setStdout("stdout"); in testExecutesPostProcessParNoStderr()[all …]
64 call:commandResult "hostname" HOST_NAME65 call:commandResult "findstr /i /b "%HOST_NAME%" "%TRADEFED_OPTS_FILE%"" TRADEFED_OPTS92 :: usage: call:commandResult "command" result93 :commandResult label
425 ExecCommandTracker commandResult = in processExecCommand() local427 if (commandResult != null && in processExecCommand()428 commandResult.getCommandResult().getStatus() == Status.EXECUTING) { in processExecCommand()