Home
last modified time | relevance | path

Searched refs:cmdArgs (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasher.java160 List<String> cmdArgs = new ArrayList<>(); in buildFastbootCommand() local
162 cmdArgs.addAll(mFlashOptions); in buildFastbootCommand()
164 cmdArgs.add(action); in buildFastbootCommand()
165 cmdArgs.addAll(Arrays.asList(args)); in buildFastbootCommand()
166 return cmdArgs.toArray(new String[cmdArgs.size()]); in buildFastbootCommand()
741 protected String executeFastbootCmd(ITestDevice device, String... cmdArgs) in executeFastbootCmd() argument
743 CLog.v("Executing short fastboot command %s", java.util.Arrays.toString(cmdArgs)); in executeFastbootCmd()
744 CommandResult result = device.executeFastbootCommand(cmdArgs); in executeFastbootCmd()
745 return handleFastbootResult(device, result, cmdArgs); in executeFastbootCmd()
763 protected String executeLongFastbootCmd(ITestDevice device, String... cmdArgs) in executeLongFastbootCmd() argument
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1604 public String executeAdbCommand(String... cmdArgs) throws DeviceNotAvailableException { in executeAdbCommand() argument
1605 final String[] fullCmd = buildAdbCommand(cmdArgs); in executeAdbCommand()
1607 performDeviceAction(String.format("adb %s", cmdArgs[0]), adbAction, MAX_RETRY_ATTEMPTS); in executeAdbCommand()
1616 public CommandResult executeFastbootCommand(String... cmdArgs) in executeFastbootCommand() argument
1618 return doFastbootCommand(getCommandTimeout(), cmdArgs); in executeFastbootCommand()
1625 public CommandResult executeFastbootCommand(long timeout, String... cmdArgs) in executeFastbootCommand() argument
1627 return doFastbootCommand(timeout, cmdArgs); in executeFastbootCommand()
1634 public CommandResult executeLongFastbootCommand(String... cmdArgs) in executeLongFastbootCommand() argument
1636 return doFastbootCommand(getLongCommandTimeout(), cmdArgs); in executeLongFastbootCommand()
1643 private CommandResult doFastbootCommand(final long timeout, String... cmdArgs) in doFastbootCommand() argument
[all …]
DDeviceManager.java806 public String executeGlobalAdbCommand(String... cmdArgs) { in executeGlobalAdbCommand() argument
807 String[] fullCmd = ArrayUtil.buildArray(new String[] {"adb"}, cmdArgs); in executeGlobalAdbCommand()
812 CLog.w("adb %s failed", cmdArgs[0]); in executeGlobalAdbCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java1547 public CommandResult executeFastbootCommand(String... cmdArgs) in testDoReboot_fastboot()