Searched refs:addCommand (Results 1 – 11 of 11) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerTest.java | 239 mScheduler.addCommand(args); in testAddConfig_configHelp() 253 mScheduler.addCommand(args); in testAddConfig_configJsonHelp() 267 mScheduler.addCommand(args); in testRun_oneConfig() 285 mScheduler.addCommand(args); in testRemoveAllCommands() 309 assertFalse(mScheduler.addCommand(dryRunArgs)); in testRun_dryRun() 312 assertTrue(mScheduler.addCommand(args2)); in testRun_dryRun() 339 assertFalse(mScheduler.addCommand(dryRunArgs)); in testRun_dryRun_keystore() 439 mScheduler.addCommand(args); in testRun_oneConfigLoop() 489 mScheduler.addCommand(args); in testRun_fatalError() 520 mScheduler.addCommand(args); in testRun_configSerial() [all …]
|
D | CommandSchedulerFuncTest.java | 197 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()
|
D | ConsoleTest.java | 222 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()
|
D | CommandSchedulerStressApp.java | 88 mCommandScheduler.addCommand(configArgs); in testRunLoad()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerTest.java | 111 doReturn(true).when(mMockScheduler).addCommand(Mockito.any(), Mockito.anyLong()); in testProcessClientOperations_addCommand() 121 verify(mMockScheduler).addCommand(Mockito.any(), Mockito.eq(5l)); in testProcessClientOperations_addCommand() 127 doReturn(false).when(mMockScheduler).addCommand(Mockito.any(), Mockito.anyLong()); in testProcessClientOperations_addCommand_fail() 137 verify(mMockScheduler).addCommand(Mockito.any(), Mockito.eq(5l)); in testProcessClientOperations_addCommand_fail() 145 .addCommand(Mockito.any(), Mockito.anyLong()); in testProcessClientOperations_addCommand_config() 158 verify(mMockScheduler).addCommand(Mockito.any(), Mockito.eq(5l)); in testProcessClientOperations_addCommand_config()
|
D | RemoteManagerFuncTest.java | 96 EasyMock.expect(mMockScheduler.addCommand(EasyMock.aryEq(new String[] { in testAddCommand()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | ICommandScheduler.java | 77 public boolean addCommand(String[] args) throws ConfigurationException; in addCommand() method 102 public boolean addCommand(String[] args, long totalExecTime) throws ConfigurationException; in addCommand() method
|
D | CommandRunner.java | 90 mScheduler.addCommand(args); in run()
|
D | Console.java | 704 mScheduler.addCommand(flatArgs); in addDefaultCommands() 736 if (mScheduler.addCommand(flatArgs)) { in addDefaultCommands()
|
D | CommandScheduler.java | 1137 public boolean addCommand(String[] args) throws ConfigurationException { in addCommand() method in CommandScheduler 1138 return addCommand(args, 0); in addCommand() 1145 public boolean addCommand(String[] args, long totalExecTime) throws ConfigurationException { in addCommand() method in CommandScheduler
|
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
D | RemoteManager.java | 394 if (!mScheduler.addCommand(c.getCommandArgs(), c.getTotalTime())) { in processAdd()
|