Home
last modified time | relevance | path

Searched defs:command (Results 1 – 25 of 82) sorted by relevance

1234

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DIRunUtil.java107 public CommandResult runTimedCmd(final long timeout, final String... command); in runTimedCmd()
121 final long timeout, OutputStream stdout, OutputStream stderr, final String... command); in runTimedCmd()
134 int attempts, final String... command); in runTimedCmdRetry()
145 public CommandResult runTimedCmdSilently(final long timeout, final String... command); in runTimedCmdSilently()
159 int attempts, final String... command); in runTimedCmdSilentlyRetry()
170 CommandResult runTimedCmdWithInput(long timeout, String input, String... command); in runTimedCmdWithInput()
181 CommandResult runTimedCmdWithInput(long timeout, String input, List<String> command); in runTimedCmdWithInput()
194 long timeout, @Nullable File inputRedirect, String... command); in runTimedCmdWithInputRedirect()
205 public Process runCmdInBackground(String... command) throws IOException; in runCmdInBackground()
217 public Process runCmdInBackground(Redirect redirect, final String... command) in runCmdInBackground()
[all …]
DRunUtil.java145 public CommandResult runTimedCmd(final long timeout, final String... command) { in runTimedCmd()
154 OutputStream stderr, final String... command) { in runTimedCmd()
168 OutputStream stdout, OutputStream stderr, String... command) { in createRunnableResult()
181 long timeout, long retryInterval, int attempts, String... command) { in runTimedCmdRetry()
195 private synchronized ProcessBuilder createProcessBuilder(String... command) { in createProcessBuilder()
199 private synchronized ProcessBuilder createProcessBuilder(Redirect redirect, String... command) { in createProcessBuilder()
245 final String... command) { in runTimedCmdWithInput()
254 final List<String> command) { in runTimedCmdWithInput()
265 final long timeout, @Nullable File inputRedirect, final String... command) { in runTimedCmdWithInputRedirect()
284 public CommandResult runTimedCmdSilently(final long timeout, final String... command) { in runTimedCmdSilently()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java71 final String command = "mkdir test"; in testSetUp() local
89 final String command = "mkdir test"; in testSetUp_withTimeout() local
115 final String command = "mkdir test"; in testDisabled() local
130 final String command = "mkdir test"; in testTearDown() local
147 final String command = "mkdir test"; in testBgCmd() local
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandTest.java42 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_withAssignedAttemptId() local
55 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_withoutAssignedAttemptId() local
72 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_extraOptions() local
/tools/tradefederation/core/src/com/android/tradefed/util/
DSimplePerfUtil.java93 public SimplePerfResult executeCommand(String command) throws DeviceNotAvailableException { in executeCommand()
109 public void executeCommand(String command, IShellOutputReceiver receiver) in executeCommand()
131 public void executeCommand(String command, IShellOutputReceiver receiver, in executeCommand()
138 protected String commandStringPreparer(String command) { in commandStringPreparer()
DCircularAtraceUtil.java70 String command = String.format(ATRACE_START_CMD, bufferSizeMB * KB_IN_MB, tagsString); in startTrace() local
91 String command = String.format(ATRACE_STOP_CMD, bufferSizeKB, DEVICE_FILE); in endTrace() local
DGCSBucketUtil.java161 List<String> command = new ArrayList<>(); in copy() local
271 List<String> command = new ArrayList<>(); in makeBucket() local
310 List<String> command = new ArrayList<>(); in ls() local
405 List<String> command = new ArrayList<>(); in stat() local
453 List<String> command = new ArrayList<>(); in md5Hash() local
573 List<String> command = new ArrayList<>(); in remove() local
641 String[] command = { in removeBucket() local
DDeviceConcurrentUtil.java94 public ShellCommandCallable(ITestDevice device, String command, long timeout) { in ShellCommandCallable()
101 public ShellCommandCallable<V> setCommand(String command) { in setCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSimplePerfUtilTest.java46 String command = "ls -l"; in testCommandStringPreparerWithoutParams() local
53 String command = "sleep 10"; in testCommandStringPreparerWithParams() local
DRunUtilTest.java86 OutputStream stdout, OutputStream stderr, String... command) { in createRunnableResult()
187 String[] command = {"sleep", "10000"}; in testRunTimedCmd_timeout() local
346 String[] command = {"unused", "cmd"}; in testRuntimedCmd_withFileOutputStream() local
375 String[] command = {"unused", "cmd"}; in testRuntimedCmd_regularOutput_fileNull() local
403 String[] command = {"unused", "cmd"}; in testRuntimedCmd_notWritable() local
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py76 command=[], argument
112 def run(command, argument
179 def run_async(command, env=None): argument
Dprocess.py50 def __init__(self, command, **kwargs): argument
222 def __start_process(command, **kwargs): argument
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteSshUtil.java48 String... command) { in remoteSshCommandExec()
75 String... command) { in remoteSshCommandExec()
DLaunchCvdHelper.java46 List<String> command = new ArrayList<>(); in createSimpleDeviceCommand() local
/tools/tradefederation/contrib/src/com/android/performance/tests/
DEmmcPerformanceTest.java146 String command = in runSequentialRead() local
156 String command = in runSequentialWrite() local
167 String command = in runRandomRead() local
180 String command = in runRandomWrite() local
203 String command, in runTest()
265 private Double runDdIteration(String command, Map<String, SimpleStats> simpleperfMetricsMap) in runDdIteration() argument
296 private Double runRandomIteration(String command, Map<String, SimpleStats> simpleperfMetricsMap) in runRandomIteration() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DConsoleTest.java217 String[] command = new String[] {"run", "command", "--arg", "value", "config.xml"}; in testRunCommand() local
237 String[] command = new String[] {"run", "--arg", "value", "config.xml"}; in testRunCommand_shortcut() local
260 String[] command = new String[] {"run", "command", "command", "--arg", "value", in testRunCommand_startsWithCommand() local
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/
Dota_tool_factory.py27 def create(ota_tool_class, command): argument
Dota_tool.py25 def __init__(self, command): argument
Dupdate_device_ota_tool.py34 def __init__(self, command): argument
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dformatter.py164 def format_remote_command(self, command, env): argument
189 def format_command(self, argument
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java258 public void executeShellCommand(String command, IShellOutputReceiver receiver) in executeShellCommand()
277 public void executeShellCommand(String command, IShellOutputReceiver receiver, in executeShellCommand()
300 String command, in executeShellCommand()
316 public String executeShellCommand(String command) throws DeviceNotAvailableException; in executeShellCommand()
327 public CommandResult executeShellV2Command(String command) throws DeviceNotAvailableException; in executeShellV2Command()
339 public CommandResult executeShellV2Command(String command, File pipeAsInput) in executeShellV2Command()
352 public CommandResult executeShellV2Command(String command, OutputStream pipeToOutput) in executeShellV2Command()
368 String command, final long maxTimeoutForCommand, final TimeUnit timeUnit) in executeShellV2Command()
387 String command, in executeShellV2Command()
411 String command, in executeShellV2Command()
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/
Dota_tool_factory_test.py22 def __init__(self, command): argument
/tools/tradefederation/core/src/com/android/tradefed/config/
DSandboxConfigurationFactory.java93 public IConfiguration createConfigurationFromArgs(String[] arrayArgs, DumpCmd command) in createConfigurationFromArgs()
194 RunSandboxConfigurationFactory(DumpCmd command) { in RunSandboxConfigurationFactory()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DClangCodeCoverageListenerTest.java187 List<String> command = mCommandArgumentCaptor.getCommand(); in testRun_logsCoverageFile() local
224 List<String> command = mCommandArgumentCaptor.getCommand(); in testOtherFileTypes_ignored() local
275 List<String> command = mCommandArgumentCaptor.getCommand(); in testProfileToolInConfiguration_notFromBuild() local
/tools/asuite/asuite_plugin/src/test/unittests/
DCommandRunnerTest.java41 ArrayList<String> command = new ArrayList<String>(); in testCommandRunnerByLs() local

1234