Home
last modified time | relevance | path

Searched refs:getAllCommandsSize (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1717 return mCommandTimer.isShutdown() || (mShutdownOnEmpty && getAllCommandsSize() == 0); in isShutdown()
2334 synchronized int getAllCommandsSize() { in getAllCommandsSize() method in CommandScheduler
2339 List<ExecutableCommandState> cmds = new ArrayList<>(getAllCommandsSize()); in getAllCommands()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java275 assertEquals(1, mScheduler.getAllCommandsSize()); in testRemoveAllCommands()
277 assertEquals(0, mScheduler.getAllCommandsSize()); in testRemoveAllCommands()