Home
last modified time | relevance | path

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/
DInetAddressThreadTest.java67 String correctName = testAddress.getHostName(); in run()
86 String hostName = ia.getHostName(); in run()
139 lookup1.getHostName(), lookup1, 0); in test_getHostName()
141 lookup2.getHostName(), lookup2, 0); in test_getHostName()
DInetSocketAddressTest.java35 String localhostName = address.getHostName(); in test_ConstructorLjava_lang_StringI()
53 assertEquals(isa.getHostName(), legalHostPortPairs[i].host); in test_createUnresolvedLjava_lang_StringI()
100 assertEquals("HostName", init.getHostName(), desr.getHostName());
DInetAddressTest.java96 assertTrue(alias.getHostName().startsWith("localhost")); in test_getAllByNameLjava_lang_String()
380 assertEquals(initAddr.getHostName(), desrAddr.getHostName());
DInet4AddressTest.java325 assertEquals(initAddr.getHostName(), desrAddr.getHostName());
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java86 public String getHostName() { in getHostName() method in MockWebServer
88 return InetAddress.getLocalHost().getHostName(); in getHostName()
95 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort())); in toProxyAddress()
106 ? new URL("https://" + getHostName() + ":" + getPort() + path) in getUrl()
107 : new URL("http://" + getHostName() + ":" + getPort() + path); in getUrl()
119 String hostName = getHostName(); in getCookieDomain()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/mockspdyserver/
DMockSpdyServer.java68 public String getHostName() { in getHostName() method in MockSpdyServer
70 return InetAddress.getLocalHost().getHostName(); in getHostName()
85 return new URL("https://" + getHostName() + ":" + getPort() + path); in getUrl()
97 String hostName = getHostName(); in getCookieDomain()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java137 InetAddress[] addresses = InetAddress.getAllByName(target.getHostName()); in openConnection()
166 target.getHostName(), in openConnection()
232 (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true); in updateSecureConnection()
DProxySelectorRoutePlanner.java239 isa.getHostName() : isa.getAddress().getHostAddress(); in getHost()
/external/okhttp/src/test/java/com/squareup/okhttp/
DConnectionPoolTest.java48 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
74 httpAddress = new Address(httpServer.getHostName(), httpServer.getPort(), null, null, in setUp()
76 httpSocketAddress = new InetSocketAddress(InetAddress.getByName(httpServer.getHostName()), in setUp()
80 spdyAddress = new Address(spdyServer.getHostName(), spdyServer.getPort(), in setUp()
83 spdySocketAddress = new InetSocketAddress(InetAddress.getByName(spdyServer.getHostName()), in setUp()
/external/chromium_org/remoting/webapp/
Dhost_dispatcher.js109 remoting.HostDispatcher.prototype.getHostName = function(onDone, onError) { method in remoting.HostDispatcher
113 this.getHostName.bind(this, onDone, onError));
116 this.nativeMessagingHost_.getHostName(onDone, onError);
120 this.npapiHost_.getHostName(onDone);
Dhost_plugin_proto.js31 remoting.HostPlugin.prototype.getHostName = function(callback) {}; method in remoting.HostPlugin
Dhost_native_messaging.js398 remoting.HostNativeMessaging.prototype.getHostName = method in remoting.HostNativeMessaging
/external/apache-http/src/org/apache/http/protocol/
DRequestTargetHost.java82 targethost = new HttpHost(address.getHostName(), port); in process()
/external/apache-http/src/org/apache/http/client/utils/
DURIUtils.java136 target.getHostName(), in rewriteURI()
/external/apache-http/src/org/apache/http/
DHttpHost.java129 public String getHostName() { in getHostName() method in HttpHost
/external/jmdns/src/javax/jmdns/
DJmDNS.java152 public abstract String getHostName(); in getHostName() method in JmDNS
/external/jmdns/src/javax/jmdns/impl/
DHostInfo.java85 aName = addr.getHostName(); in newHostInfo()
90 aName = addr.getHostName(); in newHostInfo()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DHttpOverSpdyTest.java68 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
76 private final String hostName = server.getHostName();
DSpdyServer.java157 SSLContext sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); in main()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestAddCookies.java134 String hostName = targetHost.getHostName(); in process()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpAuthenticator.java65 proxyAddress.getHostName(), getConnectToInetAddress(proxy, url), proxyAddress.getPort(),
DRouteSelector.java211 socketHost = proxySocketAddress.getHostName(); in resetNextInetSocketAddress()
/external/smack/src/org/xbill/DNS/
DAddress.java335 getHostName(InetAddress addr) throws UnknownHostException { in getHostName() method in Address
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java70 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
447 String.format("%s %s:%d %s", uri, socketAddress.getHostName(), socketAddress.getPort(), in connectFailed()
/external/javassist/src/main/javassist/tools/web/
DWebserver.java191 logging(clnt.getInetAddress().getHostName(), in process()

12