Lines Matching refs:command
109 pb.command("adb", "devices"); in setup()
184 public ExecutionResult executeCommand(String command, boolean captureOutput) { in executeCommand() argument
186 return executeCommand(command, captureOutput, null, null); in executeCommand()
189 public ExecutionResult executeCommand(String command, boolean captureOutput, in executeCommand() argument
194 Log.info("Executing: " + command); in executeCommand()
197 ProcessBuilder processBuilder = new ProcessBuilder(splitCommand(command)); in executeCommand()
243 private List<String> splitCommand(String command) { in splitCommand() argument
245 Matcher m = Pattern.compile("(\'[^\']+\'| *[^ ]+ *)").matcher(command); in splitCommand()
251 private String getExecutionPrefixWithAdb(String command) { in getExecutionPrefixWithAdb() argument
253 return String.format("adb -s %s %s ", deviceName, command); in getExecutionPrefixWithAdb()
255 return String.format("adb %s ", command); in getExecutionPrefixWithAdb()
275 String command = getExecutionPrefixWithAdb("shell") + "rm -f " + getCacheLocation(architecture) in cleanCodeCache() local
277 executeCommand(command, false); in cleanCodeCache()
283 String command = getExecutionPrefixWithAdb("push") + programName + " " + testLocation; in pushProgramToDevice() local
284 ExecutionResult result = executeCommand(command, false); in pushProgramToDevice()