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.java239 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 …]
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(), 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()
DRemoteManagerFuncTest.java96 EasyMock.expect(mMockScheduler.addCommand(EasyMock.aryEq(new String[] { in testAddCommand()
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandScheduler.java77 public boolean addCommand(String[] args) throws ConfigurationException; in addCommand() method
102 public boolean addCommand(String[] args, long totalExecTime) throws ConfigurationException; in addCommand() method
DCommandRunner.java90 mScheduler.addCommand(args); in run()
DConsole.java704 mScheduler.addCommand(flatArgs); in addDefaultCommands()
736 if (mScheduler.addCommand(flatArgs)) { in addDefaultCommands()
DCommandScheduler.java1137 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/
DRemoteManager.java394 if (!mScheduler.addCommand(c.getCommandArgs(), c.getTotalTime())) { in processAdd()