Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DEarlyDeviceReleaseFeature.java70 Map<ITestDevice, FreeDeviceState> deviceStates = new LinkedHashMap<>(); in execute() local
77 deviceStates.put(device, FreeDeviceState.valueOf(entry.getValue())); in execute()
82 listener.releaseDevices(mTestInformation.getContext(), deviceStates); in execute() local
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java733 Map<ITestDevice, FreeDeviceState> deviceStates = in run() local
737 listener.invocationComplete(mInvocationContext, deviceStates); in run()
988 Map<ITestDevice, FreeDeviceState> deviceStates = new LinkedHashMap<>(); in createReleaseMap() local
990 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
994 return deviceStates; in createReleaseMap()
1003 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
1011 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
1014 deviceStates.put(device, FreeDeviceState.UNAVAILABLE); in createReleaseMap()
1017 deviceStates.put(device, FreeDeviceState.UNAVAILABLE); in createReleaseMap()
1043 deviceStates.put(badDevice, unavailable); in createReleaseMap()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java771 Map<ITestDevice, FreeDeviceState> deviceStates = new HashMap<>(); in testDeviceReleasedEarly()
773 deviceStates.put(device, FreeDeviceState.AVAILABLE); in testDeviceReleasedEarly()
776 listener.releaseDevices(context, deviceStates); in testDeviceReleasedEarly()
828 Map<ITestDevice, FreeDeviceState> deviceStates = new HashMap<>(); in testDeviceReleasedEarly_conflict()
830 deviceStates.put(device, FreeDeviceState.AVAILABLE); in testDeviceReleasedEarly_conflict()
834 listener.releaseDevices(context, deviceStates); in testDeviceReleasedEarly_conflict()