/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 503 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/ |
D | CommandSchedulerTest.java | 597 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/ |
D | apollo_lib.py | 227 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/ |
D | CommandScheduler.java | 2019 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/ |
D | CommandRunner.java | 58 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/ |
D | HostGTest.java | 79 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/ |
D | suite_plan_test_runner.py | 114 cmds = [] 123 cmds.append(self._RUN_CMD.format(**cmd_dict)) 124 return cmds
|
D | vts_tf_test_runner.py | 118 cmds = [] 127 cmds.append(self._RUN_CMD.format(**cmd_dict)) 128 return cmds
|
/tools/tradefederation/core/atest/test_runners/ |
D | suite_plan_test_runner.py | 115 cmds = [] 124 cmds.append(self._RUN_CMD.format(**cmd_dict)) 125 return cmds
|
D | vts_tf_test_runner.py | 119 cmds = [] 128 cmds.append(self._RUN_CMD.format(**cmd_dict)) 129 return cmds
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_test_utils.py | 4507 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/ |
D | utils.py | 385 def exe_cmd(*cmds): argument 397 cmd = ' '.join(cmds)
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 400 cmds = ("echo restart > /sys/kernel/debug/msm_subsys/modem", 402 for cmd in cmds:
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/ |
D | MCAP_PTS_INSTRUCTIONS | 37 Available cmds:
|