Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java641 Map<ITestDevice, FreeDeviceState> deviceStates = in run() local
645 listener.invocationComplete(mInvocationContext, deviceStates); in run()
803 Map<ITestDevice, FreeDeviceState> deviceStates = new LinkedHashMap<>(); in createReleaseMap() local
805 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
812 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
820 deviceStates.put(device, FreeDeviceState.UNAVAILABLE); in createReleaseMap()
823 deviceStates.put(device, FreeDeviceState.UNAVAILABLE); in createReleaseMap()
834 deviceStates.put(badDevice, FreeDeviceState.UNRESPONSIVE); in createReleaseMap()
840 deviceStates.put(badDevice, FreeDeviceState.UNAVAILABLE); in createReleaseMap()
843 return deviceStates; in createReleaseMap()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java784 Map<ITestDevice, FreeDeviceState> deviceStates = new HashMap<>(); in testDeviceReleasedEarly()
786 deviceStates.put(device, FreeDeviceState.AVAILABLE); in testDeviceReleasedEarly()
789 listener.releaseDevices(context, deviceStates); in testDeviceReleasedEarly()
837 Map<ITestDevice, FreeDeviceState> deviceStates = new HashMap<>(); in testDeviceReleasedEarly_conflict()
839 deviceStates.put(device, FreeDeviceState.AVAILABLE); in testDeviceReleasedEarly_conflict()
843 listener.releaseDevices(context, deviceStates); in testDeviceReleasedEarly_conflict()