/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | RunConfigDeviceRecovery.java | 115 getDeviceManager().freeDevice(device, FreeDeviceState.UNAVAILABLE); in recoverDevices() 167 mDeviceManager.freeDevice(device, devicesStates.get(device)); in invocationComplete()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 318 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()
|
D | MockDeviceManager.java | 220 public void freeDevice(ITestDevice device, FreeDeviceState state) { in freeDevice() method in MockDeviceManager
|
/tools/tradefederation/core/javatests/com/android/tradefed/service/management/ |
D | DeviceManagementGrpcServerTest.java | 172 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/ |
D | CompanionDeviceTracker.java | 91 getDeviceManager().freeDevice(companion, deviceState); in freeCompanionDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | IDeviceManager.java | 100 public void freeDevice(ITestDevice device, FreeDeviceState state); in freeDevice() method
|
D | DeviceManager.java | 707 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()
|
D | TestDevice.java | 3196 .freeDevice(microdroidDevice, FreeDeviceState.AVAILABLE); in shutdownMicrodroid()
|
/tools/tradefederation/core/src/com/android/tradefed/service/management/ |
D | DeviceManagementGrpcServer.java | 255 mDeviceManager.freeDevice(entry.getValue().device, FreeDeviceState.AVAILABLE); in releaseReservationInternal()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 509 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/ |
D | CommandSchedulerTest.java | 458 mFakeDeviceManager.freeDevice(dev, FreeDeviceState.AVAILABLE); 495 mFakeDeviceManager.freeDevice(dev, FreeDeviceState.AVAILABLE); 496 mFakeDeviceManager.freeDevice(expectedDevice, FreeDeviceState.AVAILABLE);
|