Searched refs:ipAndPort (Results 1 – 4 of 4) sorted by relevance
630 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice() local631 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice()634 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice()646 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_alreadyAllocated() local651 connectResult.setStdout(String.format("connected to %s", ipAndPort)); in testConnectToTcpDevice_alreadyAllocated()656 Mockito.eq(ipAndPort))) in testConnectToTcpDevice_alreadyAllocated()662 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice_alreadyAllocated()665 assertNull(manager.connectToTcpDevice(ipAndPort)); in testConnectToTcpDevice_alreadyAllocated()673 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_notOnline() local674 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_notOnline()[all …]
311 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
955 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument956 IManagedTestDevice tcpDevice = mManagedDeviceList.findOrCreate(new StubDevice(ipAndPort)); in connectToTcpDevice()967 if (doAdbConnect(ipAndPort)) { in connectToTcpDevice()973 CLog.w("Device with tcp serial %s did not come online", ipAndPort); in connectToTcpDevice()990 String ipAndPort = managedUsbDevice.switchToAdbTcp(); in reconnectDeviceToTcp() local991 if (ipAndPort != null) { in reconnectDeviceToTcp()993 ipAndPort); in reconnectDeviceToTcp()994 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()1021 private boolean doAdbConnect(String ipAndPort) { in doAdbConnect() argument1022 final String resultSuccess = String.format("connected to %s", ipAndPort); in doAdbConnect()[all …]
153 public ITestDevice connectToTcpDevice(String ipAndPort); in connectToTcpDevice() argument