/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | FastbootDeviceFlasher.java | 170 List<String> cmdArgs = new ArrayList<>(); in buildFastbootCommand() local 175 cmdArgs.add(SKIP_REBOOT_PARAM); in buildFastbootCommand() 177 cmdArgs.addAll(mFlashOptions); in buildFastbootCommand() 179 cmdArgs.add(action); in buildFastbootCommand() 180 cmdArgs.addAll(Arrays.asList(args)); in buildFastbootCommand() 181 return cmdArgs.toArray(new String[cmdArgs.size()]); in buildFastbootCommand() 777 protected String executeFastbootCmd(ITestDevice device, String... cmdArgs) in executeFastbootCmd() argument 779 CLog.v("Executing short fastboot command %s", java.util.Arrays.toString(cmdArgs)); in executeFastbootCmd() 780 CommandResult result = device.executeFastbootCommand(cmdArgs); in executeFastbootCmd() 781 return handleFastbootResult(device, result, cmdArgs); in executeFastbootCmd() [all …]
|
D | GkiDeviceFlashPreparer.java | 336 private String executeFastbootCmd(ITestDevice device, String... cmdArgs) in executeFastbootCmd() argument 338 CLog.i("Execute fastboot command %s on %s", cmdArgs, device.getSerialNumber()); in executeFastbootCmd() 339 CommandResult result = device.executeLongFastbootCommand(cmdArgs); in executeFastbootCmd() 352 cmdArgs[0], in executeFastbootCmd()
|
D | GsiDeviceFlashPreparer.java | 330 private String executeFastbootCmd(ITestDevice device, String... cmdArgs) in executeFastbootCmd() argument 332 CLog.i("Execute fastboot command %s on %s", cmdArgs, device.getSerialNumber()); in executeFastbootCmd() 333 CommandResult result = device.executeLongFastbootCommand(cmdArgs); in executeFastbootCmd() 346 cmdArgs[0], in executeFastbootCmd()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandLauncher.java | 288 final List<String> cmdArgs = new ArrayList<>(); in buildJavaCommandArgs() local 289 cmdArgs.add(SystemUtil.getRunningJavaBinaryPath().getAbsolutePath()); in buildJavaCommandArgs() 290 cmdArgs.add("-cp"); in buildJavaCommandArgs() 291 cmdArgs.add(classpath); in buildJavaCommandArgs() 292 cmdArgs.addAll(mJvmOptions); in buildJavaCommandArgs() 296 cmdArgs.add( in buildJavaCommandArgs() 301 cmdArgs.add("com.android.tradefed.command.CommandRunner"); in buildJavaCommandArgs() 303 cmdArgs.addAll(StringEscapeUtils.paramsToArgs(ArrayUtil.list(tfCommandLine))); in buildJavaCommandArgs() 308 cmdArgs.add("--shard-count"); in buildJavaCommandArgs() 309 cmdArgs.add(Integer.toString(shardCount)); in buildJavaCommandArgs() [all …]
|
D | TestResourceDownloader.java | 58 final List<String> cmdArgs = buildDownloadCommandArgs(url, dest); in download() local 65 cmdArgs.toArray(new String[0])); in download()
|
D | TestOutputUploader.java | 72 final List<String> cmdArgs = buildUploadCommandArgs(file, uploadUrl); in uploadFile() local 79 cmdArgs.toArray(new String[0])); in uploadFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1866 public String executeAdbCommand(String... cmdArgs) throws DeviceNotAvailableException { in executeAdbCommand() argument 1867 return executeAdbCommand(getCommandTimeout(), cmdArgs); in executeAdbCommand() 1872 public String executeAdbCommand(long timeout, String... cmdArgs) in executeAdbCommand() argument 1874 final String[] fullCmd = buildAdbCommand(cmdArgs); in executeAdbCommand() 1875 AdbAction adbAction = new AdbAction(timeout, fullCmd, "shell".equals(cmdArgs[0])); in executeAdbCommand() 1876 performDeviceAction(String.format("adb %s", cmdArgs[0]), adbAction, MAX_RETRY_ATTEMPTS); in executeAdbCommand() 1884 public CommandResult executeFastbootCommand(String... cmdArgs) in executeFastbootCommand() argument 1886 return doFastbootCommand(getCommandTimeout(), cmdArgs); in executeFastbootCommand() 1893 public CommandResult executeFastbootCommand(long timeout, String... cmdArgs) in executeFastbootCommand() argument 1895 return doFastbootCommand(timeout, cmdArgs); in executeFastbootCommand() [all …]
|
D | DeviceManager.java | 940 public String executeGlobalAdbCommand(String... cmdArgs) { in executeGlobalAdbCommand() argument 941 String[] fullCmd = ArrayUtil.buildArray(new String[] {getAdbPath()}, cmdArgs); in executeGlobalAdbCommand() 946 CLog.w("adb %s failed", cmdArgs[0]); in executeGlobalAdbCommand()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | IsolatedHostTest.java | 142 ArrayList<String> cmdArgs = in run() local 148 cmdArgs.addAll(mJavaFlags); in run() 149 cmdArgs.addAll( in run() 160 CLog.v(String.join(" ", cmdArgs)); in run() 162 Process isolationRunner = runner.runCmdInBackground(Redirect.INHERIT, cmdArgs); in run()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 1648 public CommandResult executeFastbootCommand(String... cmdArgs) in testDoReboot_fastboot() 1714 public CommandResult executeFastbootCommand(String... cmdArgs) in testRebootIntoBootloader_forceFastboot() 1716 if (cmdArgs[0].equals("reboot-bootloader")) { in testRebootIntoBootloader_forceFastboot() 1764 public CommandResult executeFastbootCommand(String... cmdArgs) in testRebootIntoFastbootd_forceFastboot() 1766 if (cmdArgs[0].equals("reboot-fastboot")) { in testRebootIntoFastbootd_forceFastboot()
|