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()
DDeviceManagerTest.java966 IManagedTestDevice tcpDevice = in testFreeDevice_tcpDevice() local
968 assertNotNull(tcpDevice); in testFreeDevice_tcpDevice()
971 manager.freeDevice(tcpDevice, FreeDeviceState.UNAVAILABLE); in testFreeDevice_tcpDevice()
DMockDeviceManager.java336 public boolean disconnectFromTcpDevice(ITestDevice tcpDevice) { in disconnectFromTcpDevice() argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java801 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort); in connectToTcpDevice() local
802 if (tcpDevice == null) { in connectToTcpDevice()
807 tcpDevice.setRecovery(new WaitDeviceRecovery()); in connectToTcpDevice()
808 tcpDevice.waitForDeviceOnline(); in connectToTcpDevice()
809 return tcpDevice; in connectToTcpDevice()
814 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in connectToTcpDevice()
825 ITestDevice tcpDevice = null; in reconnectDeviceToTcp() local
832 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()
833 if (tcpDevice == null) { in reconnectDeviceToTcp()
842 return tcpDevice; in reconnectDeviceToTcp()
[all …]
DIDeviceManager.java150 public boolean disconnectFromTcpDevice(ITestDevice tcpDevice); in disconnectFromTcpDevice() argument