Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java351 final List<String> cmdArgs = new ArrayList<>(); in buildJavaCommandArgs() local
354 cmdArgs.add(new File(javaPath).getAbsolutePath()); in buildJavaCommandArgs()
355 cmdArgs.add("-cp"); in buildJavaCommandArgs()
356 cmdArgs.add(classpath); in buildJavaCommandArgs()
357 cmdArgs.addAll(mJvmOptions); in buildJavaCommandArgs()
362 cmdArgs.add("-Djava.io.tmpdir=" + tmpDir.getAbsolutePath()); in buildJavaCommandArgs()
366 cmdArgs.add( in buildJavaCommandArgs()
371 cmdArgs.add("com.android.tradefed.command.CommandRunner"); in buildJavaCommandArgs()
373 cmdArgs.addAll(StringEscapeUtils.paramsToArgs(ArrayUtil.list(tfCommandLine))); in buildJavaCommandArgs()
379 cmdArgs.add("--shard-count"); in buildJavaCommandArgs()
[all …]
DTestResourceDownloader.java52 final List<String> cmdArgs = buildDownloadCommandArgs(url, dest); in download() local
59 cmdArgs.toArray(new String[0])); in download()
DTestOutputUploader.java106 private void executeUploadCommand(File file, String... cmdArgs) { in executeUploadCommand() argument
110 UPLOAD_TIMEOUT_MS, RETRY_INTERVAL_MS, MAX_RETRY_COUNT, cmdArgs); in executeUploadCommand()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasher.java222 List<String> cmdArgs = new ArrayList<>(); in buildFastbootCommand() local
227 cmdArgs.add(SKIP_REBOOT_PARAM); in buildFastbootCommand()
229 cmdArgs.addAll(mFlashOptions); in buildFastbootCommand()
231 cmdArgs.add(action); in buildFastbootCommand()
232 cmdArgs.addAll(Arrays.asList(args)); in buildFastbootCommand()
233 return cmdArgs.toArray(new String[cmdArgs.size()]); in buildFastbootCommand()
1026 protected String executeFastbootCmd(ITestDevice device, String... cmdArgs) in executeFastbootCmd() argument
1028 CLog.v("Executing short fastboot command %s", java.util.Arrays.toString(cmdArgs)); in executeFastbootCmd()
1029 CommandResult result = device.executeFastbootCommand(cmdArgs); in executeFastbootCmd()
1030 return handleFastbootResult(device, result, cmdArgs); in executeFastbootCmd()
[all …]
DGsiDeviceFlashPreparer.java360 private String executeFastbootCmd(ITestDevice device, String... cmdArgs) in executeFastbootCmd() argument
364 Arrays.toString(cmdArgs), device.getSerialNumber()); in executeFastbootCmd()
365 CommandResult result = device.executeLongFastbootCommand(cmdArgs); in executeFastbootCmd()
378 Arrays.toString(cmdArgs), in executeFastbootCmd()
DGkiDeviceFlashPreparer.java833 private String executeFastbootCmd(ITestDevice device, String... cmdArgs) in executeFastbootCmd() argument
837 Arrays.toString(cmdArgs), device.getSerialNumber()); in executeFastbootCmd()
838 CommandResult result = device.executeLongFastbootCommand(cmdArgs); in executeFastbootCmd()
851 Arrays.toString(cmdArgs), in executeFastbootCmd()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java222 List<String> cmdArgs = this.compileCommandArgs(classpath, artifactsDir); in run() local
223 CLog.v(String.join(" ", cmdArgs)); in run()
242 isolationRunner = runner.runCmdInBackground(Redirect.to(mSubprocessLog), cmdArgs); in run()
337 List<String> cmdArgs = new ArrayList<>(); in compileCommandArgs() local
340 cmdArgs.add(SystemUtil.getRunningJavaBinaryPath().getAbsolutePath()); in compileCommandArgs()
351 cmdArgs.add(javaPath); in compileCommandArgs()
366 cmdArgs.add(javaAgent); in compileCommandArgs()
375 cmdArgs.add("-cp"); in compileCommandArgs()
376 cmdArgs.add(classpath); in compileCommandArgs()
378 cmdArgs.addAll(mJavaFlags); in compileCommandArgs()
[all …]
/tools/treble/build/treble_build/local/
Dgit.go234 cmdArgs := []string{"-c", "core.quotepath=off", "ls-tree", "--full-name", revision, "-r", "-t"}
235 return git.runDirCmd(ctx, gitDir, workDir, cmdArgs)
238 cmdArgs := []string{"diff-tree", "-r", "-m", "--name-status", "--root", sha}
239 return git.runDirCmd(ctx, gitDir, workDir, cmdArgs)
242 cmdArgs := []string{"diff", "--numstat", fmt.Sprintf("%s...%s", upstream, sha)}
243 return git.runDirCmd(ctx, gitDir, workDir, cmdArgs)
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2385 public String executeAdbCommand(String... cmdArgs) throws DeviceNotAvailableException { in executeAdbCommand() argument
2386 return executeAdbCommand(getCommandTimeout(), cmdArgs); in executeAdbCommand()
2391 public String executeAdbCommand(long timeout, String... cmdArgs) in executeAdbCommand() argument
2393 return executeAdbCommand(getCommandTimeout(), new HashMap<>(), cmdArgs); in executeAdbCommand()
2398 public String executeAdbCommand(long timeout, Map<String, String> envMap, String... cmdArgs) in executeAdbCommand() argument
2400 final String[] fullCmd = buildAdbCommand(cmdArgs); in executeAdbCommand()
2401 AdbAction adbAction = new AdbAction(timeout, fullCmd, "shell".equals(cmdArgs[0]), envMap); in executeAdbCommand()
2402 performDeviceAction(String.format("adb %s", cmdArgs[0]), adbAction, MAX_RETRY_ATTEMPTS); in executeAdbCommand()
2410 public CommandResult executeFastbootCommand(String... cmdArgs) in executeFastbootCommand() argument
2413 return doFastbootCommand(getCommandTimeout(), cmdArgs); in executeFastbootCommand()
[all …]
DDeviceManager.java1042 public String executeGlobalAdbCommand(String... cmdArgs) { in executeGlobalAdbCommand() argument
1043 String[] fullCmd = ArrayUtil.buildArray(new String[] {getAdbPath()}, cmdArgs); in executeGlobalAdbCommand()
1048 CLog.w("adb %s failed", cmdArgs[0]); in executeGlobalAdbCommand()
DTestDevice.java3209 String cmdFormat, Object... cmdArgs) { in executeShellV2CommandThatReturnsBooleanSafe() argument
3211 return executeShellV2CommandThatReturnsBoolean(cmdFormat, cmdArgs); in executeShellV2CommandThatReturnsBooleanSafe()
3218 private boolean executeShellV2CommandThatReturnsBoolean(String cmdFormat, Object... cmdArgs) in executeShellV2CommandThatReturnsBoolean() argument
3220 String cmd = String.format(cmdFormat, cmdArgs); in executeShellV2CommandThatReturnsBoolean()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java1528 public CommandResult executeFastbootCommand(String... cmdArgs) in testDoReboot_fastboot()
1600 public CommandResult executeFastbootCommand(String... cmdArgs) in testRebootIntoBootloader_forceFastboot()
1602 if (cmdArgs[0].equals("reboot-bootloader")) { in testRebootIntoBootloader_forceFastboot()
1666 public CommandResult executeFastbootCommand(String... cmdArgs) in testRebootIntoFastbootd_forceFastboot()
1668 if (cmdArgs[0].equals("reboot-fastboot")) { in testRebootIntoFastbootd_forceFastboot()