Searched refs:getHostName (Results 1 - 25 of 41) 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());
/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/chromium_org/remoting/webapp/
H A Dhost_plugin_proto.js31 remoting.HostPlugin.prototype.getHostName = function(callback) {};
H A Dhost_dispatcher.js109 remoting.HostDispatcher.prototype.getHostName = function(onDone, onError) {
113 this.getHostName.bind(this, onDone, onError));
116 this.nativeMessagingHost_.getHostName(onDone, onError);
120 this.npapiHost_.getHostName(onDone);
H A Dhost_controller.js308 this.hostDispatcher_.getHostName(startWithHostname, onError);
H A Dhost_native_messaging.js398 remoting.HostNativeMessaging.prototype.getHostName =
400 this.postMessage_({type: 'getHostName'}, onDone, onError);
/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/mockwebserver/src/main/java/com/google/mockwebserver/
H A DMockWebServer.java86 public String getHostName() { method in class:MockWebServer
88 return InetAddress.getLocalHost().getHostName();
95 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort()));
106 ? new URL("https://" + getHostName() + ":" + getPort() + path)
107 : new URL("http://" + getHostName() + ":" + getPort() + path);
119 String hostName = 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/okhttp/src/test/java/com/squareup/okhttp/
H A DConnectionPoolTest.java48 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
74 httpAddress = new Address(httpServer.getHostName(), httpServer.getPort(), null, null,
76 httpSocketAddress = new InetSocketAddress(InetAddress.getByName(httpServer.getHostName()),
80 spdyAddress = new Address(spdyServer.getHostName(), spdyServer.getPort(),
83 spdySocketAddress = new InetSocketAddress(InetAddress.getByName(spdyServer.getHostName()),
/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.java65 proxyAddress.getHostName(), getConnectToInetAddress(proxy, url), proxyAddress.getPort(),
H A DRouteSelector.java211 socketHost = proxySocketAddress.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();
/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.java70 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
447 String.format("%s %s:%d %s", uri, socketAddress.getHostName(), socketAddress.getPort(),

Completed in 1698 milliseconds

12