Home
last modified time | relevance | path

Searched refs:cmds (Results 1 – 16 of 16) sorted by relevance

/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/
Dinstrumentation_base_test.py188 def adb_run(self, cmds): argument
196 if isinstance(cmds, str):
197 cmds = [cmds]
199 for cmd in cmds:
203 def adb_run_async(self, cmds): argument
212 if isinstance(cmds, str):
213 cmds = [cmds]
215 for cmd in cmds:
/tools/asuite/atest/test_runners/
Dsuite_plan_test_runner.py114 cmds = []
123 cmds.append(self._RUN_CMD.format(**cmd_dict))
124 return cmds
Dvts_tf_test_runner.py118 cmds = []
127 cmds.append(self._RUN_CMD.format(**cmd_dict))
128 return cmds
/tools/tradefederation/core/atest/test_runners/
Dsuite_plan_test_runner.py115 cmds = []
124 cmds.append(self._RUN_CMD.format(**cmd_dict))
125 return cmds
/tools/asuite/asuite_plugin/src/java/com/android/atest/commandAdapter/
DCommandRunner.java58 public CommandRunner(ArrayList<String> cmds, String workPath) { in CommandRunner() argument
59 mCommand = new PtyCommandLine(cmds); in CommandRunner()
94 ArrayList<String> cmds = new ArrayList<>(Arrays.asList(commandArray)); in CommandRunner() local
95 mCommand = new PtyCommandLine(cmds); in CommandRunner()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java597 List<CommandTracker> cmds = mScheduler.getCommandTrackers(); in testAddCommandFile() local
598 assertEquals(1, cmds.size()); in testAddCommandFile()
599 assertEquals("foo", cmds.get(0).getArgs()[0]); in testAddCommandFile()
600 assertEquals("--bar", cmds.get(0).getArgs()[1]); in testAddCommandFile()
645 List<CommandTracker> cmds = mScheduler.getCommandTrackers(); in testAddCommandFile_reload() local
646 assertEquals(2, cmds.size()); in testAddCommandFile_reload()
647 Collections.sort(cmds, new CommandTrackerIdComparator()); in testAddCommandFile_reload()
648 Assert.assertArrayEquals(addCommandArgs, cmds.get(0).getArgs()); in testAddCommandFile_reload()
649 Assert.assertArrayEquals(cmdFile1Args, cmds.get(1).getArgs()); in testAddCommandFile_reload()
654 cmds = mScheduler.getCommandTrackers(); in testAddCommandFile_reload()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostGTest.java79 String[] cmds = cmd.split("\\s+"); in executeHostCommand() local
80 return RunUtil.getDefault().runTimedCmd(timeoutMs, cmds); in executeHostCommand()
92 String[] cmds = cmd.split("\\s+"); in executeHostGTestCommand() local
112 result = runUtil.runTimedCmd(timeoutMs, stream, null, cmds); in executeHostGTestCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java503 List<ClusterCommand> cmds = new ArrayList<>();
505 cmds.add(cmd);
506 mScheduler.execCommands(cmds);
507 assertEquals(CMD_LINE, cmds.get(0).getCommandLine());
514 List<ClusterCommand> cmds = new ArrayList<>();
517 cmds.add(cmd);
518 mScheduler.execCommands(cmds);
519 assertEquals(CMD_LINE, cmds.get(0).getCommandLine());
527 List<ClusterCommand> cmds = new ArrayList<>();
531 cmds.add(cmd);
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py227 def cmd(self, cmds, wait=None): argument
241 if isinstance(cmds, str):
242 cmds = [cmds]
244 for cmd in cmds:
621 cmds = ['ButtonSwipe ' + updown[key]] * times
622 logging.info(cmds)
624 self.cmd(cmds)
/tools/asuite/asuite_plugin/prebuilt/
Dasuite_plugin-1.0.jar ... .lang.String) java.util.ArrayList cmds String workPath public void <init> (java. ...
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1938 List<CommandTracker> cmds = getCommandTrackers(); in displayCommandsInfo() local
1939 Collections.sort(cmds, new CommandTrackerIdComparator()); in displayCommandsInfo()
1940 for (CommandTracker cmd : cmds) { in displayCommandsInfo()
2258 List<ExecutableCommandState> cmds = new ArrayList<>(getAllCommandsSize()); in getAllCommands() local
2260 cmds.add(new ExecutableCommandState(cmd, CommandState.EXECUTING)); in getAllCommands()
2263 cmds.add(new ExecutableCommandState(cmd, CommandState.WAITING_FOR_DEVICE)); in getAllCommands()
2266 cmds.add(new ExecutableCommandState(cmd, CommandState.SLEEPING)); in getAllCommands()
2268 return cmds; in getAllCommands()
/tools/test/connectivity/acts/framework/acts/
Dutils.py384 def exe_cmd(*cmds): argument
396 cmd = ' '.join(cmds)
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS37 Available cmds:
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py3911 cmds = ('am instrument -w -e request "WriteEFS" -e item '
3919 for cmd in cmds:
7345 cmds = []
7354 cmds.append(
7358 cmds.append("adb -s %s shell tcpdump -i %s -s0 -w %s" %
7360 for cmd in cmds:
7366 if cmds:
7770 cmds = [
7781 for cmd in cmds:
8344 cmds = ('rm -rf /data/data/com.google.android.configupdater/shared_prefs',
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_test_utils.py376 cmds = ("echo restart > /sys/kernel/debug/msm_subsys/modem",
378 for cmd in cmds:
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...