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.java643 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice() local
644 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice()
648 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice()
658 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_alreadyAllocated() local
659 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_alreadyAllocated()
667 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice_alreadyAllocated()
670 assertNull(manager.connectToTcpDevice(ipAndPort)); in testConnectToTcpDevice_alreadyAllocated()
678 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_notOnline() local
679 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_notOnline()
687 assertNull(manager.connectToTcpDevice(ipAndPort)); in testConnectToTcpDevice_notOnline()
[all …]
DMockDeviceManager.java322 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java726 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
727 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort); in connectToTcpDevice()
731 if (doAdbConnect(ipAndPort)) { in connectToTcpDevice()
737 CLog.w("Device with tcp serial %s did not come online", ipAndPort); in connectToTcpDevice()
754 String ipAndPort = managedUsbDevice.switchToAdbTcp(); in reconnectDeviceToTcp() local
755 if (ipAndPort != null) { in reconnectDeviceToTcp()
757 ipAndPort); in reconnectDeviceToTcp()
758 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()
785 private boolean doAdbConnect(String ipAndPort) { in doAdbConnect() argument
786 final String resultSuccess = String.format("connected to %s", ipAndPort); in doAdbConnect()
[all …]
DIDeviceManager.java130 public ITestDevice connectToTcpDevice(String ipAndPort); in connectToTcpDevice() argument