Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java630 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice() local
631 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice()
634 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort); in testConnectToTcpDevice()
646 final String ipAndPort = "ip:5555"; in testConnectToTcpDevice_alreadyAllocated() local
651 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() local
674 setConnectToTcpDeviceExpectations(ipAndPort); in testConnectToTcpDevice_notOnline()
[all …]
DMockDeviceManager.java311 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java955 public ITestDevice connectToTcpDevice(String ipAndPort) { in connectToTcpDevice() argument
956 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() local
991 if (ipAndPort != null) { in reconnectDeviceToTcp()
993 ipAndPort); in reconnectDeviceToTcp()
994 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()
1021 private boolean doAdbConnect(String ipAndPort) { in doAdbConnect() argument
1022 final String resultSuccess = String.format("connected to %s", ipAndPort); in doAdbConnect()
[all …]
DIDeviceManager.java153 public ITestDevice connectToTcpDevice(String ipAndPort); in connectToTcpDevice() argument