Lines Matching defs:command
242 * @throws IOException if adb shell command failed
255 * @throws IOException if adb shell command failed
268 * @throws IOException if adb shell command failed
280 * @throws IOException if adb shell command failed
291 * @throws IOException if adb shell command failed
302 * @throws IOException if adb shell command failed
397 * Helper method which executes a adb shell command and returns output as a {@link String}
398 * @return the output of the command
401 public String executeShellCommand(String command) throws IOException {
402 Log.i(LOG_TAG, String.format("adb shell %s", command));
404 mDevice.executeShellCommand(command, receiver);
437 String command = "reboot"; // no need for -s since mDevice is already tied to a device
438 Log.i(LOG_TAG, command);
440 mDevice.executeShellCommand(command, receiver);
548 * Output receiver for "pm install package.apk" command line.
593 * @throws IOException if adb shell command failed
624 * @throws IOException if adb shell command failed
655 * @throws IOException if adb shell command failed
684 * @throws IOException if adb shell command failed
700 * @throws IOException if adb shell command failed
731 String command = "pm setInstallLocation %d";
744 executeShellCommand(String.format(command, locValue));