Searched refs:hostAndPort (Results 1 – 10 of 10) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LocalAndroidVirtualDevice.java | 105 HostAndPort hostAndPort = mGceAvdInfo.hostAndPort(); in preInvocationSetup() local 106 replaceStubDevice(hostAndPort.toString()); in preInvocationSetup() 111 if (!adbTcpConnect(hostAndPort.getHost(), Integer.toString(hostAndPort.getPort()))) { in preInvocationSetup() 113 String.format("Cannot connect to %s.", hostAndPort), getDeviceDescriptor()); in preInvocationSetup() 125 HostAndPort hostAndPort = getHostAndPortFromAvdInfo(); in postInvocationTearDown() local 128 if (!options.shouldSkipTearDown() && hostAndPort != null) { in postInvocationTearDown() 130 hostAndPort.getHost(), Integer.toString(hostAndPort.getPort()))) { in postInvocationTearDown() 131 CLog.e("Cannot disconnect from %s", hostAndPort.toString()); in postInvocationTearDown() 156 hostAndPort, instanceName, mHostPackageDir, mImageDir); in postInvocationTearDown() 368 HostAndPort hostAndPort = mGceAvdInfo.hostAndPort(); in getHostAndPortFromAvdInfo() local [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | GceAvdInfoTest.java | 58 assertEquals(avd.hostAndPort().getHost(), "104.154.62.236"); in testValidGceJsonParsing() 84 assertEquals(avd.hostAndPort().getHost(), "104.154.62.236"); in testValidGceJsonParsingWithBuildVars() 130 assertEquals(avd1.hostAndPort().getHost(), "1.1.1.1"); in testDualAvdsJsonParsingWithBuildVars() 136 assertEquals(avd2.hostAndPort().getHost(), "2.2.2.2"); in testDualAvdsJsonParsingWithBuildVars() 237 assertEquals(avd.hostAndPort().getHost(), "104.154.62.236"); in testValidGceJsonParsingFail() 290 assertEquals(avd.hostAndPort().getHost(), "104.154.62.236"); in testParseJson_Boot_Fail()
|
D | RemoteAndroidVirtualDeviceTest.java | 169 HostAndPort hostAndPort, in testExceptionFromParser() 361 HostAndPort hostAndPort, in testLaunchGce_bootFail() 407 HostAndPort hostAndPort, in testLaunchGce_nullPort()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceAvdInfo.java | 70 public GceAvdInfo(String instanceName, HostAndPort hostAndPort) { in GceAvdInfo() argument 72 mHostAndPort = hostAndPort; in GceAvdInfo() 77 String instanceName, HostAndPort hostAndPort, String errors, GceStatus status) { in GceAvdInfo() argument 79 mHostAndPort = hostAndPort; in GceAvdInfo() 105 public HostAndPort hostAndPort() { in hostAndPort() method in GceAvdInfo
|
D | RemoteAndroidVirtualDevice.java | 184 if (mGceAvd.hostAndPort() != null) { in postInvocationTearDown() 275 createGceSshMonitor(this, buildInfo, mGceAvd.hostAndPort(), this.getOptions()); in launchGce() 282 HostAndPort hostAndPort, in createGceSshMonitor() argument 284 mGceSshMonitor = new GceSshTunnelMonitor(device, buildInfo, hostAndPort, deviceOptions); in createGceSshMonitor()
|
D | RemoteSshUtil.java | 54 remoteInstance.hostAndPort().getHost(), in remoteSshCommandExec()
|
D | RemoteFileUtil.java | 213 remoteInstance.hostAndPort().getHost(), in internalScpExec()
|
D | ManagedRemoteDevice.java | 113 if (mGceAvd.hostAndPort() != null) { in postInvocationTearDown()
|
D | GceManager.java | 487 if (gceAvd == null || gceAvd.hostAndPort() == null) { in getNestedDeviceSshBugreportz()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterHostUtil.java | 194 HostAndPort hostAndPort = HostAndPort.fromString(input); in isIpPort() local 195 return InetAddresses.isInetAddress(hostAndPort.getHost()); in isIpPort()
|