/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Address.java | 44 final HostnameVerifier hostnameVerifier; field in Address 49 SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, in Address() argument 61 this.hostnameVerifier = hostnameVerifier; in Address() 97 return hostnameVerifier; in getHostnameVerifier() 132 && equal(this.hostnameVerifier, that.hostnameVerifier) in equals() 144 result = 31 * result + (hostnameVerifier != null ? hostnameVerifier.hashCode() : 0); in hashCode()
|
D | OkHttpClient.java | 66 private HostnameVerifier hostnameVerifier; field in OkHttpClient 235 public OkHttpClient setHostnameVerifier(HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument 236 this.hostnameVerifier = hostnameVerifier; in setHostnameVerifier() 241 return hostnameVerifier; in getHostnameVerifier() 496 if (result.hostnameVerifier == null) { in copyWithDefaults() 497 result.hostnameVerifier = OkHostnameVerifier.INSTANCE; in copyWithDefaults()
|
D | Connection.java | 200 if (!route.address.hostnameVerifier.verify(route.address.uriHost, sslSocket.getSession())) { in upgradeToTls()
|
/external/apache-http/src/org/apache/http/conn/ssl/ |
D | SSLSocketFactory.java | 176 private X509HostnameVerifier hostnameVerifier = BROWSER_COMPATIBLE_HOSTNAME_VERIFIER; field in SSLSocketFactory 328 hostnameVerifier.verify(host, sslsock); in connectSocket() 388 hostnameVerifier.verify(host, sslSocket); in createSocket() 393 public void setHostnameVerifier(X509HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument 394 if ( hostnameVerifier == null ) { in setHostnameVerifier() 397 this.hostnameVerifier = hostnameVerifier; in setHostnameVerifier() 401 return hostnameVerifier; in getHostnameVerifier()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpsURLConnectionImpl.java | 50 @Override public void setHostnameVerifier(HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument 51 delegate.client.setHostnameVerifier(hostnameVerifier); in setHostnameVerifier()
|
D | HttpEngine.java | 260 HostnameVerifier hostnameVerifier = null; in connect() local 263 hostnameVerifier = client.getHostnameVerifier(); in connect() 266 client.getSocketFactory(), sslSocketFactory, hostnameVerifier, client.getAuthenticator(), in connect()
|
D | DelegatingHttpsURLConnection.java | 50 @Override public abstract void setHostnameVerifier(HostnameVerifier hostnameVerifier); in setHostnameVerifier() argument
|
D | JavaApiConverter.java | 642 @Override public void setHostnameVerifier(HostnameVerifier hostnameVerifier) {
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | OkHttp.java | 42 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local 48 client.setHostnameVerifier(hostnameVerifier); in prepare()
|
D | UrlConnection.java | 39 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local 44 HttpsURLConnectionImpl.setDefaultHostnameVerifier(hostnameVerifier); in prepare()
|
D | OkHttpAsync.java | 57 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local 63 client.setHostnameVerifier(hostnameVerifier); in prepare()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | RouteSelectorTest.java | 67 private static final HostnameVerifier hostnameVerifier; field in RouteSelectorTest 75 hostnameVerifier = HttpsURLConnectionImpl.getDefaultHostnameVerifier(); 299 hostnameVerifier, authenticator, Proxy.NO_PROXY, protocols); in nonSslErrorAddsAllTlsModesToFailedRoute() 313 hostnameVerifier, authenticator, Proxy.NO_PROXY, protocols); in sslErrorAddsOnlyFailedTlsModeToFailedRoute() 327 hostnameVerifier, authenticator, null, protocols); in multipleProxiesMultipleInetAddressesMultipleTlsModes() 374 hostnameVerifier, authenticator, Proxy.NO_PROXY, protocols); in failedRoutesAreLast()
|
D | URLConnectionTest.java | 578 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in connectViaHttpsReusingConnections() local 581 client.setHostnameVerifier(hostnameVerifier); in connectViaHttpsReusingConnections() 858 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in testConnectViaHttpProxyToHttps() local 868 client.setHostnameVerifier(hostnameVerifier); in testConnectViaHttpProxyToHttps() 881 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testConnectViaHttpProxyToHttps() 932 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in proxyConnectIncludesProxyHeadersOnly() local 943 client.setHostnameVerifier(hostnameVerifier); in proxyConnectIncludesProxyHeadersOnly() 959 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in proxyConnectIncludesProxyHeadersOnly() 1014 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in proxyWithConnectionReuse() local 1026 client.setHostnameVerifier(hostnameVerifier); in proxyWithConnectionReuse() [all …]
|