Home
last modified time | relevance | path

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

/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/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/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/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java2019 List<CommandTracker> cmds = getCommandTrackers(); in displayCommandsInfo() local
2020 Collections.sort(cmds, new CommandTrackerIdComparator()); in displayCommandsInfo()
2021 for (CommandTracker cmd : cmds) { in displayCommandsInfo()
2339 List<ExecutableCommandState> cmds = new ArrayList<>(getAllCommandsSize()); in getAllCommands() local
2341 cmds.add(new ExecutableCommandState(cmd, CommandState.EXECUTING)); in getAllCommands()
2344 cmds.add(new ExecutableCommandState(cmd, CommandState.WAITING_FOR_DEVICE)); in getAllCommands()
2347 cmds.add(new ExecutableCommandState(cmd, CommandState.SLEEPING)); in getAllCommands()
2349 return cmds; in getAllCommands()
/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/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/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
Dvts_tf_test_runner.py119 cmds = []
128 cmds.append(self._RUN_CMD.format(**cmd_dict))
129 return cmds
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py4507 cmds = ('am instrument -w -e request "WriteEFS" -e item '
4515 for cmd in cmds:
7979 cmds = []
7988 cmds.append(
7992 cmds.append("adb -s %s shell tcpdump -i %s -s0 -w %s" %
7994 for cmd in cmds:
8000 if cmds:
8418 cmds = [
8429 for cmd in cmds:
9029 cmds = ('rm -rf /data/data/com.google.android.configupdater/shared_prefs',
[all …]
/tools/test/connectivity/acts/framework/acts/
Dutils.py385 def exe_cmd(*cmds): argument
397 cmd = ' '.join(cmds)
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_test_utils.py400 cmds = ("echo restart > /sys/kernel/debug/msm_subsys/modem",
402 for cmd in cmds:
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS37 Available cmds: