/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | IRunUtil.java | 121 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 …]
|
D | RunUtil.java | 171 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/ |
D | ClusterCommandTest.java | 42 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/ |
D | MetalavaCommandTest.kt | 47 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/ |
D | UpdateBaselineCommandTest.kt | 33 val command = UpdateBaselineCommand() in Test help() constant 130 val command = UpdateBaselineCommand() in Test update file() constant
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | ProfileTargetPreparer.java | 145 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/ |
D | SimplePerfUtil.java | 93 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()
|
D | CircularAtraceUtil.java | 70 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
|
D | GCSBucketUtil.java | 161 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
|
D | DeviceConcurrentUtil.java | 94 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/ |
D | ExecutableAction.java | 45 Command command = in create() local 82 public abstract Command command(); in command() method in ExecutableAction
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | RunCommandTargetPreparerTest.java | 83 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/ |
D | SimplePerfUtilTest.java | 49 String command = "ls -l"; in testCommandStringPreparerWithoutParams() local 57 String command = "sleep 10"; in testCommandStringPreparerWithParams() local
|
D | ClangProfileIndexerTest.java | 69 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
|
D | RunUtilTest.java | 258 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/ |
D | job.py | 72 command=[], argument 108 def run(command, argument 172 def run_async(command, env=None): argument
|
/tools/netsim/rust/cli/src/ |
D | requests.rs | 90 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/ |
D | EmmcPerformanceTest.java | 146 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/ |
D | ClangCodeCoverageCollectorTest.java | 256 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/ |
D | RemoteSshUtil.java | 50 String... command) { in remoteSshCommandExec() 110 String... command) { in remoteSshCommandExec()
|
/tools/tradefederation/core/javatests/com/android/tradefed/command/ |
D | ConsoleTest.java | 217 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/ |
D | ota_tool_factory.py | 27 def create(ota_tool_class, command): argument
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/ |
D | EarlyOptions.kt | 74 val command = EarlyOptionCommand() in parse() constant
|
/tools/asuite/atest/bazel/runner/tests/src/com/android/tradefed/testtype/bazel/ |
D | BazelTestTest.java | 284 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/ |
D | stress_test.py | 199 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
|