Home
last modified time | relevance | path

Searched refs:freeDevice (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java115 getDeviceManager().freeDevice(device, FreeDeviceState.UNAVAILABLE); in recoverDevices()
167 mDeviceManager.freeDevice(device, devicesStates.get(device)); in invocationComplete()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java318 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testAllocateDevice_match_temporary()
395 manager.freeDevice(emulator, FreeDeviceState.UNAVAILABLE); in testFreeDevice_emulator()
469 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testFreeDevice()
487 manager.freeDevice(testDevice, FreeDeviceState.AVAILABLE); in testFreeDevice_noop()
876 manager.freeDevice(tcpDevice, FreeDeviceState.UNAVAILABLE); in testFreeDevice_tcpDevice()
936 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_unavailable()
994 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_recovery()
1056 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_unknown()
1118 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_unknown_subName()
DMockDeviceManager.java220 public void freeDevice(ITestDevice device, FreeDeviceState state) { in freeDevice() method in MockDeviceManager
/tools/tradefederation/core/javatests/com/android/tradefed/service/management/
DDeviceManagementGrpcServerTest.java172 verify(mMockDeviceManager).freeDevice(mockedDevice, FreeDeviceState.AVAILABLE); in testReserveAndRelease_freeDevice()
204 verify(mMockDeviceManager, never()).freeDevice(mockedDevice, FreeDeviceState.AVAILABLE); in testReserveAndRelease_notFreeDevice()
274 verify(mMockDeviceManager).freeDevice(mockedDevice, FreeDeviceState.AVAILABLE); in testReserve_cancelledAfterReserved()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java91 getDeviceManager().freeDevice(companion, deviceState); in freeCompanionDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceManager.java100 public void freeDevice(ITestDevice device, FreeDeviceState state); in freeDevice() method
DDeviceManager.java707 public void freeDevice(ITestDevice device, FreeDeviceState deviceState) { in freeDevice() method in DeviceManager
976 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in connectToTcpDevice()
1017 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in disconnectFromTcpDevice()
DTestDevice.java3196 .freeDevice(microdroidDevice, FreeDeviceState.AVAILABLE); in shutdownMicrodroid()
/tools/tradefederation/core/src/com/android/tradefed/service/management/
DDeviceManagementGrpcServer.java255 mDeviceManager.freeDevice(entry.getValue().device, FreeDeviceState.AVAILABLE); in releaseReservationInternal()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java509 mDeviceManager.freeDevice(device, devicesStates.get(device)); in releaseDevices()
555 mDeviceManager.freeDevice(device, devicesStates.get(device)); in releaseDevices()
1997 manager.freeDevice(allocatedDevice, deviceState); in allocateDevices()
2033 getDeviceManager().freeDevice(device, FreeDeviceState.AVAILABLE); in startInvocation()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java458 mFakeDeviceManager.freeDevice(dev, FreeDeviceState.AVAILABLE);
495 mFakeDeviceManager.freeDevice(dev, FreeDeviceState.AVAILABLE);
496 mFakeDeviceManager.freeDevice(expectedDevice, FreeDeviceState.AVAILABLE);