Home
last modified time | relevance | path

Searched refs:addCommand (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java258 mScheduler.addCommand(args); in testAddConfig_configHelp()
277 mScheduler.addCommand(args); in testRun_oneConfig()
306 mScheduler.addCommand(args); in testRemoveAllCommands()
332 Pair<Boolean, Integer> addCommandReturn = mScheduler.addCommand(dryRunArgs); in testRun_dryRun()
338 addCommandReturn = mScheduler.addCommand(args2); in testRun_dryRun()
376 assertFalse(mScheduler.addCommand(dryRunArgs).first); in testRun_dryRun_keystore()
377 assertTrue(mScheduler.addCommand(dryRunArgs).second < 0); in testRun_dryRun_keystore()
456 mScheduler.addCommand(args);
457 mScheduler.addCommand(args);
493 mScheduler.addCommand(args);
[all …]
DCommandSchedulerFuncTest.java207 mCommandScheduler.addCommand(fastConfigArgs); in testRun_scheduling()
208 mCommandScheduler.addCommand(slowConfigArgs); in testRun_scheduling()
314 mCommandScheduler.addCommand(slowConfigArgs); in testBatteryLowLevel()
355 mCommandScheduler.addCommand(slowConfigArgs); in testBatteryLowLevel_interruptible()
383 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_interruptible()
461 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_notInterruptible()
589 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_notInterruptible_timeout()
655 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_invocation_timeout()
DConsoleTest.java222 when(mMockScheduler.addCommand(AdditionalMatchers.aryEq(expected))) in testRunCommand()
240 when(mMockScheduler.addCommand(AdditionalMatchers.aryEq(expected))) in testRunCommand_shortcut()
262 when(mMockScheduler.addCommand(AdditionalMatchers.aryEq(expected))) in testRunCommand_startsWithCommand()
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandScheduler.java90 public Pair<Boolean, Integer> addCommand(String[] args) throws ConfigurationException; in addCommand() method
DCommandRunner.java146 mScheduler.addCommand(args); in run()
DConsole.java853 mScheduler.addCommand(flatArgs); in addDefaultCommands()
888 if (mScheduler.addCommand(flatArgs).first) { in addDefaultCommands()
DCommandScheduler.java1412 public Pair<Boolean, Integer> addCommand(String[] args) throws ConfigurationException { in addCommand() method in CommandScheduler