Home
last modified time | relevance | path

Searched refs:tcpDevice (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java854 IManagedTestDevice tcpDevice = mManagedDeviceList.findOrCreate(new StubDevice(ipAndPort)); in connectToTcpDevice() local
855 if (tcpDevice == null) { in connectToTcpDevice()
858 DeviceEventResponse r = tcpDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in connectToTcpDevice()
861 tcpDevice.getMonitor().waitForDeviceBootloaderStateUpdate(); in connectToTcpDevice()
867 tcpDevice.setRecovery(new WaitDeviceRecovery()); in connectToTcpDevice()
868 tcpDevice.waitForDeviceOnline(); in connectToTcpDevice()
869 return tcpDevice; in connectToTcpDevice()
874 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in connectToTcpDevice()
885 ITestDevice tcpDevice = null; in reconnectDeviceToTcp() local
892 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()
[all …]
DIDeviceManager.java150 public boolean disconnectFromTcpDevice(ITestDevice tcpDevice); in disconnectFromTcpDevice() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerFuncTest.java47 ITestDevice tcpDevice = deviceManager.reconnectDeviceToTcp(mUsbDevice); in testReconnectDeviceToTcp_backUsb() local
48 assertNotNull(tcpDevice); in testReconnectDeviceToTcp_backUsb()
50 assertTrue(tcpDevice.isAdbTcp()); in testReconnectDeviceToTcp_backUsb()
54 assertTrue(deviceManager.disconnectFromTcpDevice(tcpDevice)); in testReconnectDeviceToTcp_backUsb()
58 deviceManager.disconnectFromTcpDevice(tcpDevice); in testReconnectDeviceToTcp_backUsb()
81 ITestDevice tcpDevice = deviceManager.reconnectDeviceToTcp(mUsbDevice); in testReconnectDeviceToTcp_reboot() local
82 assertNotNull(tcpDevice); in testReconnectDeviceToTcp_reboot()
85 tcpDevice.reboot(); in testReconnectDeviceToTcp_reboot()
93 deviceManager.disconnectFromTcpDevice(tcpDevice); in testReconnectDeviceToTcp_reboot()
DDeviceManagerTest.java968 IManagedTestDevice tcpDevice = in testFreeDevice_tcpDevice() local
970 assertNotNull(tcpDevice); in testFreeDevice_tcpDevice()
973 manager.freeDevice(tcpDevice, FreeDeviceState.UNAVAILABLE); in testFreeDevice_tcpDevice()
DMockDeviceManager.java336 public boolean disconnectFromTcpDevice(ITestDevice tcpDevice) { in disconnectFromTcpDevice() argument