/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
H A D | InetAddressThreadTest.java | 35 * the gethostbyname function to be called. getHostName will cause the 67 String correctName = testAddress.getHostName(); 86 String hostName = ia.getHostName(); 96 + ": getHostName() returned " 106 + ": getHostName() returned " 122 * @tests java.net.InetAddress#getHostName() 125 // Test for method java.lang.String java.net.InetAddress.getHostName() 139 lookup1.getHostName(), lookup1, 0); 141 lookup2.getHostName(), lookup2, 0);
|
H A D | InetSocketAddressTest.java | 35 String localhostName = address.getHostName(); 53 assertEquals(isa.getHostName(), legalHostPortPairs[i].host); 100 assertEquals("HostName", init.getHostName(), desr.getHostName());
|
H A D | Inet4AddressTest.java | 325 assertEquals(initAddr.getHostName(), desrAddr.getHostName());
|
H A D | InetAddressTest.java | 96 assertTrue(alias.getHostName().startsWith("localhost")); 380 assertEquals(initAddr.getHostName(), desrAddr.getHostName());
|
H A D | SocketTest.java | 82 host = socket.getInetAddress().getHostName(); 535 Socket client = new Socket(InetAddress.getLocalHost().getHostName(), 577 client = new Socket(InetAddress.getLocalHost().getHostName(),
|
/external/apache-http/src/org/apache/http/protocol/ |
H A D | RequestTargetHost.java | 82 targethost = new HttpHost(address.getHostName(), port);
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/mockspdyserver/ |
H A D | MockSpdyServer.java | 68 public String getHostName() { method in class:MockSpdyServer 70 return InetAddress.getLocalHost().getHostName(); 85 return new URL("https://" + getHostName() + ":" + getPort() + path); 97 String hostName = getHostName();
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
H A D | MockWebServer.java | 93 public String getHostName() { method in class:MockWebServer 95 return InetAddress.getLocalHost().getHostName(); 102 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort())); 112 ? new URL("https://" + getHostName() + ":" + getPort() + path) 113 : new URL("http://" + getHostName() + ":" + getPort() + path); 122 String hostName = getHostName();
|
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | DefaultClientConnectionOperator.java | 137 InetAddress[] addresses = InetAddress.getAllByName(target.getHostName()); 166 target.getHostName(), 232 (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
|
H A D | ProxySelectorRoutePlanner.java | 239 isa.getHostName() : isa.getAddress().getHostAddress();
|
/external/okhttp/src/test/java/com/squareup/okhttp/ |
H A D | ConnectionPoolTest.java | 47 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 73 httpAddress = new Address(httpServer.getHostName(), httpServer.getPort(), null, null, null); 74 httpSocketAddress = new InetSocketAddress(InetAddress.getByName(httpServer.getHostName()), 79 new Address(spdyServer.getHostName(), spdyServer.getPort(), sslContext.getSocketFactory(), 81 spdySocketAddress = new InetSocketAddress(InetAddress.getByName(spdyServer.getHostName()),
|
/external/apache-http/src/org/apache/http/ |
H A D | HttpHost.java | 129 public String getHostName() { method in class:HttpHost
|
/external/apache-http/src/org/apache/http/client/utils/ |
H A D | URIUtils.java | 136 target.getHostName(),
|
/external/jmdns/src/javax/jmdns/ |
H A D | JmDNS.java | 152 public abstract String getHostName(); method in class:JmDNS
|
/external/apache-http/src/org/apache/http/client/protocol/ |
H A D | RequestAddCookies.java | 134 String hostName = targetHost.getHostName();
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | HttpAuthenticator.java | 81 auth = Authenticator.requestPasswordAuthentication(proxyAddress.getHostName(),
|
H A D | RouteSelector.java | 188 socketHost = proxySocketAddress.getHostName();
|
H A D | HttpURLConnectionImpl.java | 230 hostName = proxyAddress.getHostName();
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
H A D | SpdyServer.java | 157 SSLContext sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
|
H A D | HttpOverSpdyTest.java | 68 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 76 private final String hostName = server.getHostName();
|
/external/jmdns/src/javax/jmdns/impl/ |
H A D | HostInfo.java | 85 aName = addr.getHostName(); 90 aName = addr.getHostName();
|
H A D | JmmDNSImpl.java | 134 result.add(mDNS.getHostName());
|
/external/smack/src/org/xbill/DNS/ |
H A D | Address.java | 335 getHostName(InetAddress addr) throws UnknownHostException { method in class:Address
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
H A D | RouteSelectorTest.java | 66 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 351 String.format("%s %s:%d %s", uri, socketAddress.getHostName(), socketAddress.getPort(),
|
/external/javassist/src/main/javassist/tools/web/ |
H A D | Webserver.java | 191 logging(clnt.getInetAddress().getHostName(),
|