/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerFuncTest.java | 78 mMockDeviceManager.freeDevice(EasyMock.eq(device), in testAllocateFree() 136 mMockDeviceManager.freeDevice(EasyMock.eq(device), in testAllocateClose() 160 mMockDeviceManager.freeDevice(EasyMock.eq(device), in testAllocateFreeAll() 254 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testExecCommand() 280 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testConsecutiveExecCommand() 411 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_noActiveCommand() 436 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_executing() 468 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_notAvail()
|
D | RemoteManagerTest.java | 206 verify(mMockDeviceTracker).freeDevice(Mockito.eq("testserial")); in testProcessClientOperations_processFree_notFound() 208 verify(mMockDeviceManager, Mockito.times(0)).freeDevice(Mockito.any(), Mockito.any()); in testProcessClientOperations_processFree_notFound() 218 doReturn(stub).when(mMockDeviceTracker).freeDevice(Mockito.eq("testserial")); in testProcessClientOperations_processFree() 227 verify(mMockDeviceTracker).freeDevice(Mockito.eq("testserial")); in testProcessClientOperations_processFree() 229 .freeDevice(Mockito.eq(stub), Mockito.eq(FreeDeviceState.AVAILABLE)); in testProcessClientOperations_processFree() 252 .freeDevice(Mockito.any(), Mockito.eq(FreeDeviceState.AVAILABLE)); in testProcessClientOperations_processFree_wildcard()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 362 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testAllocateDevice_match_temporary() 443 manager.freeDevice(emulator, FreeDeviceState.UNAVAILABLE); in testFreeDevice_emulator() 551 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testFreeDevice() 569 manager.freeDevice(testDevice, FreeDeviceState.AVAILABLE); in testFreeDevice_noop() 973 manager.freeDevice(tcpDevice, FreeDeviceState.UNAVAILABLE); in testFreeDevice_tcpDevice() 1036 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_unavailable() 1097 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_recovery() 1162 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_unknown() 1227 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_unknown_subName()
|
D | MockDeviceManager.java | 201 public void freeDevice(ITestDevice device, FreeDeviceState state) { in freeDevice() method in MockDeviceManager
|
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
D | RemoteManager.java | 376 ITestDevice d = getDeviceTracker().freeDevice(c.getDeviceSerial()); in processFree() 381 mDeviceManager.freeDevice(d, FreeDeviceState.AVAILABLE); in processFree() 471 mDeviceManager.freeDevice(d, FreeDeviceState.AVAILABLE); in freeAllDevices()
|
D | DeviceTracker.java | 68 public ITestDevice freeDevice(String serial) { in freeDevice() method in DeviceTracker
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceManager.java | 659 public void freeDevice(ITestDevice device, FreeDeviceState deviceState) { in freeDevice() method in DeviceManager 874 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in connectToTcpDevice() 915 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in disconnectFromTcpDevice()
|
D | IDeviceManager.java | 98 public void freeDevice(ITestDevice device, FreeDeviceState state); in freeDevice() method
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | RunConfigDeviceRecovery.java | 114 getDeviceManager().freeDevice(device, FreeDeviceState.UNAVAILABLE); in recoverDevices() 166 mDeviceManager.freeDevice(device, devicesStates.get(device)); in invocationComplete()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerTest.java | 494 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configSerial() 523 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial() 524 mMockManager.freeDevice(expectedDevice, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 492 mDeviceManager.freeDevice(device, devicesStates.get(device)); in releaseDevices() 1619 manager.freeDevice(allocatedDevice, deviceState); in allocateDevices() 1654 getDeviceManager().freeDevice(device, FreeDeviceState.AVAILABLE); in startInvocation()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/ |
D | CompanionDeviceTracker.java | 91 getDeviceManager().freeDevice(companion, deviceState); in freeCompanionDevice()
|