Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java68 final String command = "mkdir test"; in testSetUp() local
86 final String command = "mkdir test"; in testSetUp_withTimeout() local
112 final String command = "mkdir test"; in testDisabled() local
128 final String command = "mkdir test"; in testTearDown() local
147 final String command = "mkdir test"; in testBgCmd() local
DRunHostCommandTargetPreparerTest.java71 final String command = "command \t\t\t \t argument " + DEVICE_SERIAL_PLACEHOLDER; in testSetUp() local
93 final String command = "command \t\t\t \t argument " + DEVICE_SERIAL_PLACEHOLDER; in testSetUp_withWorkDir() local
116 final String command = "command \t\t\t \t argument " + DEVICE_SERIAL_PLACEHOLDER; in testTearDown() local
137 final String command = "command \t\t\t \t argument " + DEVICE_SERIAL; in testBgCommand() local
DPreloadedClassesPreparerTest.java78 String[] command = String.format(WRITE_COMMAND, FAKE_TOOL_PATH, FAKE_FILE_PATH).split(" "); in testSetUp_RemoteSuccess() local
106 String[] command = String.format(WRITE_COMMAND, FAKE_TOOL_PATH, FAKE_FILE_PATH).split(" "); in testSetUp_LocalSuccess() local
126 String[] command = String.format(WRITE_COMMAND, FAKE_TOOL_PATH, FAKE_FILE_PATH).split(" "); in testSetUp_WriteFailure() local
/tools/tradefederation/core/src/com/android/tradefed/util/
DIRunUtil.java102 public CommandResult runTimedCmd(final long timeout, final String... command); in runTimedCmd()
116 final long timeout, OutputStream stdout, OutputStream stderr, final String... command); in runTimedCmd()
129 int attempts, final String... command); in runTimedCmdRetry()
140 public CommandResult runTimedCmdSilently(final long timeout, final String... command); in runTimedCmdSilently()
154 int attempts, final String... command); in runTimedCmdSilentlyRetry()
165 CommandResult runTimedCmdWithInput(long timeout, String input, String... command); in runTimedCmdWithInput()
176 CommandResult runTimedCmdWithInput(long timeout, String input, List<String> command); in runTimedCmdWithInput()
189 long timeout, @Nullable File inputRedirect, String... command); in runTimedCmdWithInputRedirect()
200 public Process runCmdInBackground(String... command) throws IOException; in runCmdInBackground()
211 public Process runCmdInBackground(List<String> command) throws IOException; in runCmdInBackground()
[all …]
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()
DRunUtil.java143 public CommandResult runTimedCmd(final long timeout, final String... command) { in runTimedCmd()
152 OutputStream stderr, final String... command) { in runTimedCmd()
166 OutputStream stdout, OutputStream stderr, String... command) { in createRunnableResult()
179 long timeout, long retryInterval, int attempts, String... command) { in runTimedCmdRetry()
193 private synchronized ProcessBuilder createProcessBuilder(String... command) { in createProcessBuilder()
230 final String... command) { in runTimedCmdWithInput()
239 final List<String> command) { in runTimedCmdWithInput()
250 final long timeout, @Nullable File inputRedirect, final String... command) { in runTimedCmdWithInputRedirect()
269 public CommandResult runTimedCmdSilently(final long timeout, final String... command) { in runTimedCmdSilently()
282 String... command) { in runTimedCmdSilentlyRetry()
[all …]
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()
184 String[] command = {"sleep", "10000"}; in testRunTimedCmd_timeout() local
343 String[] command = {"unused", "cmd"}; in testRuntimedCmd_withFileOutputStream() local
372 String[] command = {"unused", "cmd"}; in testRuntimedCmd_regularOutput_fileNull() local
400 String[] command = {"unused", "cmd"}; in testRuntimedCmd_notWritable() local
/tools/test/connectivity/tools/lab/utils/
Djob.py74 command=[], argument
110 def run(command, argument
177 def run_async(command, env=None): argument
/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.py35 def __init__(self, command): argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DINativeDevice.java219 public void executeShellCommand(String command, IShellOutputReceiver receiver) in executeShellCommand()
238 public void executeShellCommand(String command, IShellOutputReceiver receiver, in executeShellCommand()
261 String command, in executeShellCommand()
277 public String executeShellCommand(String command) throws DeviceNotAvailableException; in executeShellCommand()
288 public CommandResult executeShellV2Command(String command) throws DeviceNotAvailableException; in executeShellV2Command()
300 public CommandResult executeShellV2Command(String command, File pipeAsInput) in executeShellV2Command()
313 public CommandResult executeShellV2Command(String command, OutputStream pipeToOutput) in executeShellV2Command()
329 String command, final long maxTimeoutForCommand, final TimeUnit timeUnit) in executeShellV2Command()
348 String command, in executeShellV2Command()
372 String command, in executeShellV2Command()
/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/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()

123