Home
last modified time | relevance | path

Searched refs:hostAndPort (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java105 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/
DGceAvdInfoTest.java58 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()
DRemoteAndroidVirtualDeviceTest.java169 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/
DGceAvdInfo.java70 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
DRemoteAndroidVirtualDevice.java184 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()
DRemoteSshUtil.java54 remoteInstance.hostAndPort().getHost(), in remoteSshCommandExec()
DRemoteFileUtil.java213 remoteInstance.hostAndPort().getHost(), in internalScpExec()
DManagedRemoteDevice.java113 if (mGceAvd.hostAndPort() != null) { in postInvocationTearDown()
DGceManager.java487 if (gceAvd == null || gceAvd.hostAndPort() == null) { in getNestedDeviceSshBugreportz()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterHostUtil.java194 HostAndPort hostAndPort = HostAndPort.fromString(input); in isIpPort() local
195 return InetAddresses.isInetAddress(hostAndPort.getHost()); in isIpPort()