Home
last modified time | relevance | path

Searched refs:getQueueOfAvailableDeviceSize (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java731 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 1); in testDeviceReleased()
751 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 1); in testDeviceReleased()
762 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 1); in testDeviceReleasedEarly()
806 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 1); in testDeviceReleasedEarly()
818 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 1); in testDeviceReleasedEarly_conflict()
858 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 1); in testDeviceReleasedEarly_conflict()
873 assertEquals(1, mFakeDeviceManager.getQueueOfAvailableDeviceSize()); in testDeviceReleased_unavailable()
888 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 0); in testDeviceReleased_unavailable()
898 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 2); in testDeviceReleased_unavailableMulti()
913 assertTrue(mFakeDeviceManager.getQueueOfAvailableDeviceSize() == 1); in testDeviceReleased_unavailableMulti()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DMockDeviceManager.java170 public int getQueueOfAvailableDeviceSize() { in getQueueOfAvailableDeviceSize() method in MockDeviceManager
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java1000 assertEquals(0, ((MockDeviceManager) m).getQueueOfAvailableDeviceSize());
1009 assertEquals(1, ((MockDeviceManager) m).getQueueOfAvailableDeviceSize());
1042 assertEquals(0, ((MockDeviceManager) m).getQueueOfAvailableDeviceSize());
1048 assertEquals(1, ((MockDeviceManager) m).getQueueOfAvailableDeviceSize());