HomeSort by relevance Sort by last modified time
    Searched defs:ipAndPort (Results 1 - 2 of 2) sorted by null

  /tools/tradefederation/core/src/com/android/tradefed/device/
DeviceManager.java 726 public ITestDevice connectToTcpDevice(String ipAndPort) {
727 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort);
731 if (doAdbConnect(ipAndPort)) {
737 CLog.w("Device with tcp serial %s did not come online", ipAndPort);
754 String ipAndPort = managedUsbDevice.switchToAdbTcp();
755 if (ipAndPort != null) {
757 ipAndPort);
758 tcpDevice = connectToTcpDevice(ipAndPort);
785 private boolean doAdbConnect(String ipAndPort) {
786 final String resultSuccess = String.format("connected to %s", ipAndPort);
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
DeviceManagerTest.java 643 final String ipAndPort = "ip:5555";
644 setConnectToTcpDeviceExpectations(ipAndPort);
648 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort);
658 final String ipAndPort = "ip:5555";
659 setConnectToTcpDeviceExpectations(ipAndPort);
667 IManagedTestDevice device = (IManagedTestDevice) manager.connectToTcpDevice(ipAndPort);
670 assertNull(manager.connectToTcpDevice(ipAndPort));
678 final String ipAndPort = "ip:5555";
679 setConnectToTcpDeviceExpectations(ipAndPort);
687 assertNull(manager.connectToTcpDevice(ipAndPort));
    [all...]

Completed in 71 milliseconds