Searched refs:ipAndPort (Results 1 – 4 of 4) sorted by relevance
714 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice() local715 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice()719 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice()730 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_alreadyAllocated() local731 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() local750 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_notOnline()758 assertNull(manager.connectToTcpDevice(ipAndPort)); in testConnectToTcpDevice_notOnline()[all …]
328 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
853 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument854 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() local889 if (ipAndPort != null) { in reconnectDeviceToTcp()891 ipAndPort); in reconnectDeviceToTcp()892 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()919 private boolean doAdbConnect(String ipAndPort) { in doAdbConnect() argument920 final String resultSuccess = String.format("connected to %s", ipAndPort); in doAdbConnect()[all …]
139 public ITestDevice connectToTcpDevice(String ipAndPort); in connectToTcpDevice() argument