Home
last modified time | relevance | path

Searched refs:commandArgs (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DExecCommandOp.java33 ExecCommandOp(String serial, String... commandArgs) { in ExecCommandOp() argument
35 mCommandArgs = commandArgs; in ExecCommandOp()
48 String[] commandArgs = new String[jsonArgs.length()]; in createFromJson() local
49 for (int i = 0; i < commandArgs.length; i++) { in createFromJson()
50 commandArgs[i] = jsonArgs.getString(i); in createFromJson()
52 return new ExecCommandOp(serial, commandArgs); in createFromJson()
DAddCommandOp.java32 AddCommandOp(long totalTime, String... commandArgs) { in AddCommandOp() argument
34 mCommandArgs = commandArgs; in AddCommandOp()
47 String[] commandArgs = new String[jsonArgs.length()]; in createFromJson() local
48 for (int i = 0; i < commandArgs.length; i++) { in createFromJson()
49 commandArgs[i] = jsonArgs.getString(i); in createFromJson()
51 return new AddCommandOp(totalTime, commandArgs); in createFromJson()
DRemoteClient.java156 public void sendAddCommand(long totalTime, String... commandArgs) throws RemoteException { in sendAddCommand() argument
157 sendOperation(new AddCommandOp(totalTime, commandArgs)); in sendAddCommand()
214 public void sendExecCommand(String serial, String[] commandArgs) throws RemoteException { in sendExecCommand() argument
215 sendOperation(new ExecCommandOp(serial, commandArgs)); in sendExecCommand()
DIRemoteClient.java62 public void sendAddCommand(long elapsedTimeMs, String... commandArgs) throws RemoteException; in sendAddCommand() argument
89 public void sendExecCommand(String serial, String[] commandArgs) throws RemoteException; in sendExecCommand() argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DINativeDevice.java391 public String executeAdbCommand(String... commandArgs) throws DeviceNotAvailableException; in executeAdbCommand() argument
404 public CommandResult executeFastbootCommand(String... commandArgs) in executeFastbootCommand() argument
418 public CommandResult executeFastbootCommand(long timeout, String... commandArgs) in executeFastbootCommand() argument
431 public CommandResult executeLongFastbootCommand(String... commandArgs) in executeLongFastbootCommand() argument
DNativeDevice.java1939 private String[] buildAdbCommand(String... commandArgs) { in buildAdbCommand() argument
1941 commandArgs); in buildAdbCommand()
1947 String[] commandArgs = in buildAdbShellCommand() local
1953 new String[] {"adb", "-s", getSerialNumber(), "shell"}, commandArgs); in buildAdbShellCommand()
1959 private String[] buildFastbootCommand(String... commandArgs) { in buildFastbootCommand() argument
1961 commandArgs); in buildFastbootCommand()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollector.java167 protected CommandResult runHostCommand(String[] commandArgs) { in runHostCommand() argument
168 return RunUtil.getDefault().runTimedCmd(mScriptTimeoutMs, commandArgs); in runHostCommand()