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.java714 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice() local
715 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice()
719 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice()
730 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_alreadyAllocated() local
731 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_alreadyAllocated()
739 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice_alreadyAllocated()
742 assertNull(manager.connectToTcpDevice(ipAndPort)); in testConnectToTcpDevice_alreadyAllocated()
749 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_notOnline() local
750 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_notOnline()
758 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.java853 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
854 IManagedTestDevice tcpDevice = mManagedDeviceList.findOrCreate(new StubDevice(ipAndPort)); in connectToTcpDevice()
865 if (doAdbConnect(ipAndPort)) { in connectToTcpDevice()
871 CLog.w("Device with tcp serial %s did not come online", ipAndPort); in connectToTcpDevice()
888 String ipAndPort = managedUsbDevice.switchToAdbTcp(); in reconnectDeviceToTcp() local
889 if (ipAndPort != null) { in reconnectDeviceToTcp()
891 ipAndPort); in reconnectDeviceToTcp()
892 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()
919 private boolean doAdbConnect(String ipAndPort) { in doAdbConnect() argument
920 final String resultSuccess = String.format("connected to %s", ipAndPort); in doAdbConnect()
[all …]
DIDeviceManager.java139 public ITestDevice connectToTcpDevice(String ipAndPort); in connectToTcpDevice() argument