Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java242 mScheduler.addCommand(args); in testAddConfig_configHelp()
256 mScheduler.addCommand(args); in testRun_oneConfig()
274 mScheduler.addCommand(args); in testRemoveAllCommands()
298 assertFalse(mScheduler.addCommand(dryRunArgs)); in testRun_dryRun()
301 assertTrue(mScheduler.addCommand(args2)); in testRun_dryRun()
328 assertFalse(mScheduler.addCommand(dryRunArgs)); in testRun_dryRun_keystore()
445 mScheduler.addCommand(args); in testRun_oneConfigLoop()
492 mScheduler.addCommand(args); in testRun_configSerial()
493 mScheduler.addCommand(args); in testRun_configSerial()
521 mScheduler.addCommand(args); in testRun_configExcludeSerial()
[all …]
DCommandSchedulerFuncTest.java197 mCommandScheduler.addCommand(fastConfigArgs); in testRun_scheduling()
198 mCommandScheduler.addCommand(slowConfigArgs); in testRun_scheduling()
298 mCommandScheduler.addCommand(slowConfigArgs); in testBatteryLowLevel()
341 mCommandScheduler.addCommand(slowConfigArgs); in testBatteryLowLevel_interruptible()
368 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_interruptible()
444 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_notInterruptible()
559 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_notInterruptible_timeout()
623 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_invocation_timeout()
DConsoleTest.java222 EasyMock.expect(mMockScheduler.addCommand(EasyMock.aryEq(expected))).andReturn( in testRunCommand()
242 EasyMock.expect(mMockScheduler.addCommand(EasyMock.aryEq(expected))).andReturn( in testRunCommand_shortcut()
266 EasyMock.expect(mMockScheduler.addCommand(EasyMock.aryEq(expected))).andReturn( in testRunCommand_startsWithCommand()
DCommandSchedulerStressApp.java88 mCommandScheduler.addCommand(configArgs); in testRunLoad()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java111 doReturn(true).when(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand()
121 verify(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand()
127 doReturn(false).when(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand_fail()
137 verify(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand_fail()
145 .addCommand(Mockito.any()); in testProcessClientOperations_addCommand_config()
158 verify(mMockScheduler).addCommand(Mockito.any()); in testProcessClientOperations_addCommand_config()
DRemoteManagerFuncTest.java96 EasyMock.expect(mMockScheduler.addCommand(EasyMock.aryEq(new String[] {"arg1", "arg2"}))) in testAddCommand()
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java704 mScheduler.addCommand(flatArgs); in addDefaultCommands()
736 if (mScheduler.addCommand(flatArgs)) { in addDefaultCommands()
DICommandScheduler.java87 public boolean addCommand(String[] args) throws ConfigurationException; in addCommand() method
DCommandRunner.java109 mScheduler.addCommand(args); in run()
DCommandScheduler.java1169 public boolean addCommand(String[] args) throws ConfigurationException { in addCommand() method in CommandScheduler
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java394 if (!mScheduler.addCommand(c.getCommandArgs())) { in processAdd()