/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Address.java | 48 final HostnameVerifier hostnameVerifier; field in Address 52 SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, in Address() argument 81 this.hostnameVerifier = hostnameVerifier; in Address() 164 return hostnameVerifier; in getHostnameVerifier() 183 && equal(this.hostnameVerifier, that.hostnameVerifier) in equals() 199 result = 31 * result + (hostnameVerifier != null ? hostnameVerifier.hashCode() : 0); in hashCode()
|
D | OkHttpClient.java | 136 private HostnameVerifier hostnameVerifier; field in OkHttpClient 167 this.hostnameVerifier = okHttpClient.hostnameVerifier; in OkHttpClient() 359 public OkHttpClient setHostnameVerifier(HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument 360 this.hostnameVerifier = hostnameVerifier; in setHostnameVerifier() 365 return hostnameVerifier; in getHostnameVerifier() 593 if (result.hostnameVerifier == null) { in copyWithDefaults() 594 result.hostnameVerifier = OkHostnameVerifier.INSTANCE; in copyWithDefaults()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpsURLConnectionImpl.java | 55 @Override public void setHostnameVerifier(HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument 56 delegate.client.setHostnameVerifier(hostnameVerifier); in setHostnameVerifier()
|
D | DelegatingHttpsURLConnection.java | 50 @Override public abstract void setHostnameVerifier(HostnameVerifier hostnameVerifier); in setHostnameVerifier() argument
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | OkHttp.java | 43 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local 49 client.setHostnameVerifier(hostnameVerifier); in prepare()
|
D | UrlConnection.java | 39 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local 44 HttpsURLConnection.setDefaultHostnameVerifier(hostnameVerifier); in prepare()
|
D | OkHttpAsync.java | 58 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local 64 client.setHostnameVerifier(hostnameVerifier); in prepare()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 62 private HostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); field in CacheAdapterTest 118 client.setHostnameVerifier(hostnameVerifier); in get_httpsGet() 233 client.setHostnameVerifier(hostnameVerifier); in put_httpsGet()
|
D | ResponseCacheTest.java | 97 private HostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); field in ResponseCacheTest 267 c1.setHostnameVerifier(hostnameVerifier); in secureResponseCaching() 279 c2.setHostnameVerifier(hostnameVerifier); in secureResponseCaching() 351 client.setHostnameVerifier(hostnameVerifier); in secureResponseCachingAndRedirects() 389 client.setHostnameVerifier(hostnameVerifier); in secureResponseCachingAndProtocolRedirects() 1458 client.setHostnameVerifier(hostnameVerifier); in varyAndHttps() 1993 connection1.setHostnameVerifier(hostnameVerifier); 1999 connection2.setHostnameVerifier(hostnameVerifier);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | OkHttpClientTest.java | 117 OkHostnameVerifier hostnameVerifier = OkHostnameVerifier.INSTANCE; // Global isn't configurable. in copyWithDefaultsWhenDefaultIsGlobal() local 130 assertSame(hostnameVerifier, client.getHostnameVerifier()); in copyWithDefaultsWhenDefaultIsGlobal()
|
D | URLConnectionTest.java | 562 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in connectViaHttpsReusingConnections() local 565 client.client().setHostnameVerifier(hostnameVerifier); in connectViaHttpsReusingConnections() 846 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in testConnectViaHttpProxyToHttps() local 855 client.client().setHostnameVerifier(hostnameVerifier); in testConnectViaHttpProxyToHttps() 868 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testConnectViaHttpProxyToHttps() 908 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in proxyConnectIncludesProxyHeadersOnly() local 919 client.client().setHostnameVerifier(hostnameVerifier); in proxyConnectIncludesProxyHeadersOnly() 935 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in proxyConnectIncludesProxyHeadersOnly() 990 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in proxyWithConnectionReuse() local 1002 client.client().setHostnameVerifier(hostnameVerifier); in proxyWithConnectionReuse() [all …]
|
D | CallTest.java | 2043 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in proxyConnectOmitsApplicationHeaders() local 2044 client.setHostnameVerifier(hostnameVerifier); in proxyConnectOmitsApplicationHeaders() 2064 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in proxyConnectOmitsApplicationHeaders()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | RouteSelectorTest.java | 68 private HostnameVerifier hostnameVerifier; field in RouteSelectorTest 78 hostnameVerifier = HttpsURLConnection.getDefaultHostnameVerifier(); in setUp() 348 hostnameVerifier, null, authenticator, null, protocols, connectionSpecs, proxySelector); in httpsAddress()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpEngine.java | 974 HostnameVerifier hostnameVerifier = null; in createAddress() local 978 hostnameVerifier = client.getHostnameVerifier(); in createAddress() 983 client.getSocketFactory(), sslSocketFactory, hostnameVerifier, certificatePinner, in createAddress()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 75 protected HostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); field in HttpOverSpdyTest 88 client.client().setHostnameVerifier(hostnameVerifier); in setUp()
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverter.java | 808 @Override public void setHostnameVerifier(HostnameVerifier hostnameVerifier) {
|