Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1801 IScheduledInvocationListener listener, List<ITestDevice> reservedDevices, String[] args) in execCommand() argument
1803 return execCommand(null, listener, reservedDevices, args); in execCommand()
1831 List<ITestDevice> reservedDevices, in execCommand() argument
1856 if (!reservedDevices.isEmpty()) { in execCommand()
1857 allocatedDevices = getAllocatedDevices(config.getDeviceConfig(), reservedDevices); in execCommand()
1859 if (reservedDevices.size() < config.getDeviceConfig().size()) { in execCommand()
1862 reservedDevices.size(), config.getDeviceConfig().size()); in execCommand()
1900 if (reservedDevices.isEmpty()) { in execCommand()
1911 List<IDeviceConfiguration> deviceConfig, List<ITestDevice> reservedDevices) { in getAllocatedDevices() argument
1916 if (iReserved >= reservedDevices.size()) { in getAllocatedDevices()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java1330 List<ITestDevice> reservedDevices = Arrays.asList(mock(ITestDevice.class)); in testExecCommand_reservedDevice() local
1355 mScheduler.execCommand(mockListener, reservedDevices, args); in testExecCommand_reservedDevice()
1374 List<ITestDevice> reservedDevices = in testExecCommand_reservedAndNullDevices() local
1405 mScheduler.execCommand(spyContext, mockListener, reservedDevices, args); in testExecCommand_reservedAndNullDevices()
1430 List<ITestDevice> reservedDevices = in testExecCommand_reservedTooManyDevices() local
1461 mScheduler.execCommand(mockListener, reservedDevices, args); in testExecCommand_reservedTooManyDevices()
1483 List<ITestDevice> reservedDevices = Arrays.asList(mock(ITestDevice.class)); in testExecCommand_reservedTooFewDevices() local
1514 mScheduler.execCommand(mockListener, reservedDevices, args); in testExecCommand_reservedTooFewDevices()