Home
last modified time | relevance | path

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

1234

/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.java177 (mProxyHost.getHostName(), mProxyHost.getPort()); in openConnection()
258 proxySock, mHost.getHostName(), mHost.getPort(), true); in openConnection()
292 mHost.getHostName(), mHost.getPort()); in openConnection()
310 doHandshakeAndValidateServerCertificates(this, sslSock, mHost.getHostName()); in openConnection()
DHttpConnection.java54 Socket sock = new Socket(mHost.getHostName(), mHost.getPort()); in openConnection()
/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()
/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/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/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
DChannelType.java65 return clientMode(factory.createSocket(wrapped, address.getHostName(), port, true)); in newClientSocket()
89 return clientMode(factory.createSocket(wrapped, address.getHostName(), port, true)); in newClientSocket()
DVeryBasicHttpServer.java52 return context.host.getHostName(); in getTlsHostname()
60 return plainSocket.getInetAddress().getHostName(); in getPlainHostname()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DChannelType.java63 return clientMode(factory.createSocket(wrapped, address.getHostName(), port, true)); in newClientSocket()
87 return clientMode(factory.createSocket(wrapped, address.getHostName(), port, true)); in newClientSocket()
DVeryBasicHttpServer.java50 return context.host.getHostName(); in getTlsHostname()
58 return plainSocket.getInetAddress().getHostName(); in getPlainHostname()
/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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DJDKStringLikeTypesTest.java158 assertEquals(HOST, address.getHostName()); in testInetAddress()
178 assertEquals(HOST, address.getHostName()); in testInetSocketAddress()
182 assertEquals(HOST, address.getHostName()); in testInetSocketAddress()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DSocketAttachingConnector.java49 defaultHostName = InetAddress.getLocalHost().getHostName(); in SocketAttachingConnector()
DSocketTransportService.java92 String hostname = address.getHostName(); in address()
201 host = InetAddress.getLocalHost().getHostName(); in attach()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DProxyDetectorImplTest.java70 new InetSocketAddress(InetAddress.getByName(unresolvedProxy.getHostName()), proxyPort), in setUp()
194 InetAddress.getByName(unresolvedProxy.getHostName()), in authRequired()
/external/apache-http/src/org/apache/http/protocol/
DRequestTargetHost.java87 targethost = new HttpHost(address.getHostName(), port); in process()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DInetSocketAddressSerializer.java25 String str = addr == null ? value.getHostName() : addr.toString().trim(); in serialize()
/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/cronet/net/android/java/src/org/chromium/net/
DProxyChangeListener.java178 final String getHostName = "getHost"; in extractNewProxy() local
190 Method getHostMethod = cls.getDeclaredMethod(getHostName); in extractNewProxy()
/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/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DSslContextBuilder.java52 .commonName(InetAddress.getByName("localhost").getHostName()) in localhost()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DAuthenticatorAdapter.java71 proxyAddress.getHostName(), getConnectToInetAddress(proxy, url), proxyAddress.getPort(), in authenticateProxy()

1234