Searched refs:freeDevice (Results 1 – 10 of 10) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
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()
|
D | RemoteManagerFuncTest.java | 78 mMockDeviceManager.freeDevice(EasyMock.eq(device), in testAllocateFree() 137 mMockDeviceManager.freeDevice(EasyMock.eq(device), in testAllocateClose() 161 mMockDeviceManager.freeDevice(EasyMock.eq(device), in testAllocateFreeAll() 255 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testExecCommand() 281 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testConsecutiveExecCommand() 412 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_noActiveCommand() 437 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_executing() 469 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_notAvail()
|
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
D | DeviceTracker.java | 68 public ITestDevice freeDevice(String serial) { in freeDevice() method in DeviceTracker
|
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()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | IDeviceManager.java | 89 public void freeDevice(ITestDevice device, FreeDeviceState state); in freeDevice() method
|
D | DeviceManager.java | 530 public void freeDevice(ITestDevice device, FreeDeviceState deviceState) { in freeDevice() method in DeviceManager 740 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in connectToTcpDevice() 781 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in disconnectFromTcpDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/ |
D | CompanionDeviceTracker.java | 91 getDeviceManager().freeDevice(companion, deviceState); in freeCompanionDevice()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 359 manager.freeDevice(emulator, FreeDeviceState.UNAVAILABLE); in testFreeDevice_emulator() 476 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testFreeDevice() 493 manager.freeDevice(testDevice, FreeDeviceState.AVAILABLE); in testFreeDevice_noop() 906 manager.freeDevice(tcpDevice, FreeDeviceState.UNAVAILABLE); in testFreeDevice_tcpDevice() 968 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_unavailable() 1032 manager.freeDevice(device, FreeDeviceState.UNAVAILABLE); in testFreeDevice_unknown() 1096 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/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerTest.java | 505 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configSerial() 533 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial() 534 mMockManager.freeDevice(expectedDevice, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial()
|