Home
last modified time | relevance | path

Searched refs:ipAndPort (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java712 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice() local
713 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice()
717 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice()
728 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_alreadyAllocated() local
729 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_alreadyAllocated()
737 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice_alreadyAllocated()
740 assertNull(manager.connectToTcpDevice(ipAndPort)); in testConnectToTcpDevice_alreadyAllocated()
747 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_notOnline() local
748 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_notOnline()
756 assertNull(manager.connectToTcpDevice(ipAndPort)); in testConnectToTcpDevice_notOnline()
[all …]
DMockDeviceManager.java328 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java800 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
801 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort); in connectToTcpDevice()
805 if (doAdbConnect(ipAndPort)) { in connectToTcpDevice()
811 CLog.w("Device with tcp serial %s did not come online", ipAndPort); in connectToTcpDevice()
828 String ipAndPort = managedUsbDevice.switchToAdbTcp(); in reconnectDeviceToTcp() local
829 if (ipAndPort != null) { in reconnectDeviceToTcp()
831 ipAndPort); in reconnectDeviceToTcp()
832 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()
859 private boolean doAdbConnect(String ipAndPort) { in doAdbConnect() argument
860 final String resultSuccess = String.format("connected to %s", ipAndPort); in doAdbConnect()
[all …]
DIDeviceManager.java139 public ITestDevice connectToTcpDevice(String ipAndPort); in connectToTcpDevice() argument