Searched refs:getHostName (Results 1 - 25 of 37) sorted by relevance

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DInetAddressThreadTest.java35 * 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 DInetSocketAddressTest.java35 String localhostName = address.getHostName();
53 assertEquals(isa.getHostName(), legalHostPortPairs[i].host);
100 assertEquals("HostName", init.getHostName(), desr.getHostName());
H A DInet4AddressTest.java325 assertEquals(initAddr.getHostName(), desrAddr.getHostName());
H A DInetAddressTest.java96 assertTrue(alias.getHostName().startsWith("localhost"));
380 assertEquals(initAddr.getHostName(), desrAddr.getHostName());
H A DSocketTest.java82 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 DRequestTargetHost.java82 targethost = new HttpHost(address.getHostName(), port);
/external/okhttp/src/test/java/com/squareup/okhttp/internal/mockspdyserver/
H A DMockSpdyServer.java68 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 DMockWebServer.java93 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 DDefaultClientConnectionOperator.java137 InetAddress[] addresses = InetAddress.getAllByName(target.getHostName());
166 target.getHostName(),
232 (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
H A DProxySelectorRoutePlanner.java239 isa.getHostName() : isa.getAddress().getHostAddress();
/external/okhttp/src/test/java/com/squareup/okhttp/
H A DConnectionPoolTest.java47 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 DHttpHost.java129 public String getHostName() { method in class:HttpHost
/external/apache-http/src/org/apache/http/client/utils/
H A DURIUtils.java136 target.getHostName(),
/external/jmdns/src/javax/jmdns/
H A DJmDNS.java152 public abstract String getHostName(); method in class:JmDNS
/external/apache-http/src/org/apache/http/client/protocol/
H A DRequestAddCookies.java134 String hostName = targetHost.getHostName();
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpAuthenticator.java81 auth = Authenticator.requestPasswordAuthentication(proxyAddress.getHostName(),
H A DRouteSelector.java188 socketHost = proxySocketAddress.getHostName();
H A DHttpURLConnectionImpl.java230 hostName = proxyAddress.getHostName();
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
H A DSpdyServer.java157 SSLContext sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
H A DHttpOverSpdyTest.java68 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
76 private final String hostName = server.getHostName();
/external/jmdns/src/javax/jmdns/impl/
H A DHostInfo.java85 aName = addr.getHostName();
90 aName = addr.getHostName();
H A DJmmDNSImpl.java134 result.add(mDNS.getHostName());
/external/smack/src/org/xbill/DNS/
H A DAddress.java335 getHostName(InetAddress addr) throws UnknownHostException { method in class:Address
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
H A DRouteSelectorTest.java66 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 DWebserver.java191 logging(clnt.getInetAddress().getHostName(),

Completed in 858 milliseconds

12