Home
last modified time | relevance | path

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

/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()
DMockDeviceManager.java330 public boolean disconnectFromTcpDevice(ITestDevice tcpDevice) { in disconnectFromTcpDevice() argument
DDeviceManagerTest.java902 IManagedTestDevice tcpDevice = (IManagedTestDevice) manager.allocateDevice(options); in testFreeDevice_tcpDevice() local
903 assertNotNull(tcpDevice); in testFreeDevice_tcpDevice()
906 manager.freeDevice(tcpDevice, FreeDeviceState.UNAVAILABLE); in testFreeDevice_tcpDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java727 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort); in connectToTcpDevice() local
728 if (tcpDevice == null) { in connectToTcpDevice()
733 tcpDevice.setRecovery(new WaitDeviceRecovery()); in connectToTcpDevice()
734 tcpDevice.waitForDeviceOnline(); in connectToTcpDevice()
735 return tcpDevice; in connectToTcpDevice()
740 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in connectToTcpDevice()
751 ITestDevice tcpDevice = null; in reconnectDeviceToTcp() local
758 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()
759 if (tcpDevice == null) { in reconnectDeviceToTcp()
768 return tcpDevice; in reconnectDeviceToTcp()
[all …]
DIDeviceManager.java141 public boolean disconnectFromTcpDevice(ITestDevice tcpDevice); in disconnectFromTcpDevice() argument