Home
last modified time | relevance | path

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

12345

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DIRunUtil.java121 public CommandResult runTimedCmd(final long timeout, final String... command); in runTimedCmd()
135 final long timeout, final long idleOutputTimeout, final String... command); in runTimedCmdWithOutputMonitor()
154 final String... command); in runTimedCmdWithOutputMonitor()
178 final String... command); in runTimedCmdWithOutputMonitor()
192 final long timeout, OutputStream stdout, OutputStream stderr, final String... command); in runTimedCmd()
205 int attempts, final String... command); in runTimedCmdRetry()
225 final String... command); in runTimedCmdRetryWithOutputMonitor()
236 public CommandResult runTimedCmdSilently(final long timeout, final String... command); in runTimedCmdSilently()
250 int attempts, final String... command); in runTimedCmdSilentlyRetry()
261 CommandResult runTimedCmdWithInput(long timeout, String input, String... command); in runTimedCmdWithInput()
[all …]
DRunUtil.java171 public CommandResult runTimedCmd(final long timeout, final String... command) { in runTimedCmd()
178 final long timeout, final long idleOutputTimeout, final String... command) { in runTimedCmdWithOutputMonitor()
189 final String... command) { in runTimedCmd()
200 final String... command) { in runTimedCmdWithOutputMonitor()
213 final String... command) { in runTimedCmdWithOutputMonitor()
321 long timeout, long retryInterval, int attempts, String... command) { in runTimedCmdRetry()
332 String... command) { in runTimedCmdRetryWithOutputMonitor()
346 private synchronized ProcessBuilder createProcessBuilder(String... command) { in createProcessBuilder()
350 private synchronized ProcessBuilder createProcessBuilder(Redirect redirect, String... command) { in createProcessBuilder()
396 final String... command) { in runTimedCmdWithInput()
[all …]
/tools/tradefederation/core/javatests/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/metalava/metalava/src/test/java/com/android/tools/metalava/cli/common/
DMetalavaCommandTest.kt47 val command = in Test error handling when invalid command line() constant
96 val command = in Test error handling when invalid option in an argument file() constant
128 val command = in Test print stack trace() constant
/tools/metalava/metalava-model-testsuite-cli/src/test/java/com/android/tools/metalava/model/testsuite/cli/
DUpdateBaselineCommandTest.kt33 val command = UpdateBaselineCommand() in Test help() constant
130 val command = UpdateBaselineCommand() in Test update file() constant
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DProfileTargetPreparer.java145 String command = "dumpsys user"; in isPrivateProfileSupported() local
162 String command = "dumpsys user"; in isCloneProfileEnabled() local
199 String command = ""; in createProfile() local
248 String command = "dumpsys device_policy"; in getDeviceOwner() local
275 String command = in removeDeviceOwner() local
336 …private static RuntimeException commandError(String error, String command, String commandOutput, E… in commandError()
341 …String error, String command, String commandOutput, Exception exception, ErrorIdentifier errorIden… in commandError()
/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/common_util/com/android/tradefed/cache/
DExecutableAction.java45 Command command = in create() local
82 public abstract Command command(); in command() method in ExecutableAction
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java83 final String command = "mkdir test"; in testSetUp() local
103 final String command = "mkdir test"; in testSetUp_withTimeout() local
127 final String command = "mkdir test"; in testDisabled() local
141 final String command = "mkdir test"; in testTearDown() local
156 final String command = "mkdir test"; in testTeardown_withTimeout() local
214 final String command = "mkdir test"; in testBgCmd() local
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSimplePerfUtilTest.java49 String command = "ls -l"; in testCommandStringPreparerWithoutParams() local
57 String command = "sleep 10"; in testCommandStringPreparerWithParams() local
DClangProfileIndexerTest.java69 List<String> command = mCommandArgumentCaptor.getCommand(); in testProfileFiles_includesFiles() local
89 List<String> command = mCommandArgumentCaptor.getCommand(); in testLargeProfileCount_usesFile() local
105 List<String> command = mCommandArgumentCaptor.getCommand(); in testSingleFailure_usesFailureMode() local
DRunUtilTest.java258 String[] command = {"unused", "cmd"}; in runTimedCmdWithOutputMonitor_cache_same_run() local
310 String[] command = {"/bin/bash", "-c", "for i in {1..5}; do echo hello; sleep 1; done"}; in testRunTimed_output_monitor() local
325 String[] command = {"sleep", String.valueOf(VERY_LONG_TIMEOUT_MS * 5)}; in testRunTimed_output_monitor_failed() local
340 String[] command = {"sleep", String.valueOf(VERY_LONG_TIMEOUT_MS * 5)}; in testRunTimed_output_monitor_timeout() local
381 String[] command = {"sleep", "10000"}; in testRunTimedCmd_timeout() local
544 String[] command = {"unused", "cmd"}; in testRuntimedCmd_withFileOutputStream() local
572 String[] command = {"echo", "TEST STDOUT"}; in testRuntimedCmd_regularOutput_fileNull() local
600 String[] command = {"unused", "cmd"}; in testRuntimedCmd_notWritable() local
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py72 command=[], argument
108 def run(command, argument
172 def run_async(command, env=None): argument
/tools/netsim/rust/cli/src/
Drequests.rs90 let command = NetsimArgs::parse_from(command.split_whitespace()).command; in test_command() localVariable
624 let command = String::from("netsim-cli beacon create ble --timeout -1234"); in test_beacon_negative_timeout_fails() localVariable
630 let command = in test_create_beacon_large_tx_power_fails() localVariable
637 let command = String::from("netsim-cli beacon create ble --advertise-mode not-a-mode"); in test_create_beacon_unknown_mode_fails() localVariable
643 let command = String::from("netsim-cli beacon patch ble --timeout -1234"); in test_patch_beacon_negative_timeout_fails() localVariable
649 let command = in test_patch_beacon_large_tx_power_fails() localVariable
656 let command = String::from("netsim-cli beacon patch ble --advertise-mode not-a-mode"); in test_patch_beacon_unknown_mode_fails() localVariable
662 let command = String::from("netsim-cli beacon create ble --manufacturer-data not-a-number"); in test_create_beacon_mfg_data_fails() localVariable
668 let command = String::from("netsim-cli beacon patch ble --manufacturer-data not-a-number"); in test_patch_beacon_mfg_data_fails() localVariable
/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/javatests/com/android/tradefed/device/metric/
DClangCodeCoverageCollectorTest.java256 List<String> command = mCommandArgumentCaptor.getCommand(); in testRun_misc_trace_only_logsCoverageFile() local
306 List<String> command = mCommandArgumentCaptor.getCommand(); in testRun_local_tmp_only_logsCoverageFile() local
359 List<String> command = mCommandArgumentCaptor.getCommand(); in testRun_both_locations_logsCoverageFile() local
401 List<String> command = mCommandArgumentCaptor.getCommand(); in testRun_noModuleName_logsCoverageFile() local
444 List<String> command = mCommandArgumentCaptor.getCommand(); in testRun_profraw_filter_option() local
482 List<String> command = mCommandArgumentCaptor.getCommand(); in testOtherFileTypes_ignored() local
539 List<String> command = mCommandArgumentCaptor.getCommand(); in testProfileToolInConfiguration_notFromBuild() local
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteSshUtil.java50 String... command) { in remoteSshCommandExec()
110 String... command) { in remoteSshCommandExec()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DConsoleTest.java217 String[] command = new String[] {"run", "command", "--arg", "value", "config.xml"}; in testRunCommand() local
235 String[] command = new String[] {"run", "--arg", "value", "config.xml"}; in testRunCommand_shortcut() local
256 String[] command = 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
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DEarlyOptions.kt74 val command = EarlyOptionCommand() in parse() constant
/tools/asuite/atest/bazel/runner/tests/src/com/android/tradefed/testtype/bazel/
DBazelTestTest.java284 List<String> command = new ArrayList<>(); in targetsNotSet_testsAllTargets() local
418 List<String> command = new ArrayList<>(); in includeTestModule_runsOnlyThatModule() local
448 List<String> command = new ArrayList<>(); in excludeTestModule_doesNotRunTestModule() local
478 List<String> command = new ArrayList<>(); in excludeTestFunction_generatesExcludeFilter() local
625 List<String> command = new ArrayList<>(); in bazelQuery_default() local
642 List<String> command = new ArrayList<>(); in bazelQuery_optionOverride() local
/tools/test/openhst/
Dstress_test.py199 def __init__(self, name, command, output, events, argument
633 def AsyncCommand(self, command, log_output=False): argument
637 def __AsyncCommand(self, command, log_output=False): argument
646 def Command(self, command): argument
729 def RunAsyncCommand(devices, command): argument

12345