Home
last modified time | relevance | path

Searched refs:getHostName (Results 1 – 25 of 55) sorted by relevance

123

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DCertificatePinnerChainValidationTest.java58 .commonName(server.getHostName()) in pinRootNotPresentInChain()
61 .add(server.getHostName(), CertificatePinner.pin(rootCa.certificate)) in pinRootNotPresentInChain()
113 .commonName(server.getHostName()) in pinIntermediatePresentInChain()
116 .add(server.getHostName(), CertificatePinner.pin(intermediateCa.certificate)) in pinIntermediatePresentInChain()
172 .commonName(server.getHostName()) in unrelatedPinnedLeafCertificateInChain()
175 .add(server.getHostName(), CertificatePinner.pin(goodCertificate.certificate)) in unrelatedPinnedLeafCertificateInChain()
198 .commonName(server.getHostName()) in unrelatedPinnedLeafCertificateInChain()
247 .add(server.getHostName(), CertificatePinner.pin(goodIntermediateCa.certificate)) in unrelatedPinnedIntermediateCertificateInChain()
271 .commonName(server.getHostName()) in unrelatedPinnedIntermediateCertificateInChain()
/external/apache-http/android/src/android/net/http/
DHttpsConnection.java174 (mProxyHost.getHostName(), mProxyHost.getPort()); in openConnection()
255 proxySock, mHost.getHostName(), mHost.getPort(), true); in openConnection()
289 mHost.getHostName(), mHost.getPort()); in openConnection()
307 doHandshakeAndValidateServerCertificates(this, sslSock, mHost.getHostName()); in openConnection()
DHttpConnection.java54 Socket sock = new Socket(mHost.getHostName(), mHost.getPort()); in openConnection()
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/interpreter/
DInterpreterProcess.java73 String result = mProxy.getAddress().getHostName(); in getHost()
76 return SimpleServer.getPublicInetAddress().getHostName(); in getHost()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java142 InetAddress[] addresses = InetAddress.getAllByName(target.getHostName()); in openConnection()
171 target.getHostName(), in openConnection()
242 (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true); in updateSecureConnection()
DProxySelectorRoutePlanner.java244 isa.getHostName() : isa.getAddress().getHostAddress(); in getHost()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java105 public String getHostName() { in getHostName() method in MockWebServer
107 return InetAddress.getLocalHost().getHostName(); in getHostName()
114 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort())); in toProxyAddress()
125 ? new URL("https://" + getHostName() + ":" + getPort() + path) in getUrl()
126 : new URL("http://" + getHostName() + ":" + getPort() + path); in getUrl()
138 String hostName = getHostName(); in getCookieDomain()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverHttp2Test.java52 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in serverSendsPushPromise_GET()
76 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in serverSendsPushPromise_HEAD()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DRecordingAuthenticator.java41 + " site=" + getRequestingSite().getHostName() in getPasswordAuthentication()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRecordingProxySelector.java48 String.format("%s %s:%d %s", uri, socketAddress.getHostName(), socketAddress.getPort(), in connectFailed()
/external/apache-http/src/org/apache/http/protocol/
DRequestTargetHost.java87 targethost = new HttpHost(address.getHostName(), port); in process()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java111 return new HttpHost(address.getHostName(), address.getPort());
121 proxy = new Proxy(HTTP, new InetSocketAddress(host.getHostName(), host.getPort()));
/external/apache-http/src/org/apache/http/
DHttpHost.java134 public String getHostName() { in getHostName() method in HttpHost
/external/apache-http/src/org/apache/http/client/utils/
DURIUtils.java141 target.getHostName(), in rewriteURI()
/external/jmdns/src/javax/jmdns/impl/
DHostInfo.java85 aName = addr.getHostName(); in newHostInfo()
90 aName = addr.getHostName(); in newHostInfo()
/external/jmdns/src/javax/jmdns/
DJmDNS.java152 public abstract String getHostName(); in getHostName() method in JmDNS
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DSslContextBuilder.java52 .commonName(InetAddress.getByName("localhost").getHostName()) in localhost()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DAuthenticatorAdapter.java69 proxyAddress.getHostName(), getConnectToInetAddress(proxy, url), proxyAddress.getPort(), in authenticateProxy()
DRouteSelector.java196 return socketAddress.getHostName(); in getHostString()
/external/autotest/frontend/client/src/autotest/afe/
DAfeClient.java70 "http://" + Location.getHostName() + ":9991"); in finishLoading()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java166 public String getHostName() {
168 return inetSocketAddress.getHostName();
202 .host(getHostName())
214 String hostName = getHostName();
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DAgent.java174 host = InetAddress.getLocalHost().getHostName(); in createSessionId()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestAddCookies.java139 String hostName = targetHost.getHostName(); in process()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java98 address = iAddress.getHostName() + ":" + serverSocket.getLocalPort(); in startListening()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRequestDirector.java437 route.getTargetHost().getHostName()))) { in execute()
883 String host = target.getHostName(); in createConnectRequest()
1096 String hostname = host.getHostName(); in updateAuthState()

123