Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java221 mScheduler.addCommand(args); in testAddConfig_configHelp()
236 mScheduler.addCommand(args); in testAddConfig_configJsonHelp()
251 mScheduler.addCommand(args); in testRun_oneConfig()
268 mScheduler.addCommand(args); in testRemoveAllCommands()
293 assertFalse(mScheduler.addCommand(dryRunArgs)); in testRun_dryRun()
296 assertTrue(mScheduler.addCommand(args2)); in testRun_dryRun()
322 assertFalse(mScheduler.addCommand(dryRunArgs)); in testRun_dryRun_keystore()
422 mScheduler.addCommand(args); in testRun_oneConfigLoop()
473 mScheduler.addCommand(args); in testRun_fatalError()
503 mScheduler.addCommand(args); in testRun_configSerial()
[all …]
DCommandSchedulerFuncTest.java184 mCommandScheduler.addCommand(fastConfigArgs); in testRun_scheduling()
185 mCommandScheduler.addCommand(slowConfigArgs); in testRun_scheduling()
285 mCommandScheduler.addCommand(slowConfigArgs); in testBatteryLowLevel()
335 mCommandScheduler.addCommand(slowConfigArgs); in testBatteryLowLevel_interruptible()
362 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_interruptible()
438 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_notInterruptible()
553 mCommandScheduler.addCommand(slowConfigArgs); in testShutdown_notInterruptible_timeout()
617 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.java76 public boolean addCommand(String[] args) throws ConfigurationException; in addCommand() method
101 public boolean addCommand(String[] args, long totalExecTime) throws ConfigurationException; in addCommand() method
DCommandRunner.java81 mScheduler.addCommand(args); in run()
DConsole.java661 mScheduler.addCommand(flatArgs); in addDefaultCommands()
690 if (mScheduler.addCommand(flatArgs)) { in addDefaultCommands()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java394 if (!mScheduler.addCommand(c.getCommandArgs(), c.getTotalTime())) { in processAdd()