Home
last modified time | relevance | path

Searched refs:hostnameVerifier (Results 1 – 16 of 16) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DAddress.java48 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()
DOkHttpClient.java136 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/
DHttpsURLConnectionImpl.java55 @Override public void setHostnameVerifier(HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument
56 delegate.client.setHostnameVerifier(hostnameVerifier); in setHostnameVerifier()
DDelegatingHttpsURLConnection.java50 @Override public abstract void setHostnameVerifier(HostnameVerifier hostnameVerifier); in setHostnameVerifier() argument
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttp.java43 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local
49 client.setHostnameVerifier(hostnameVerifier); in prepare()
DUrlConnection.java39 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local
44 HttpsURLConnection.setDefaultHostnameVerifier(hostnameVerifier); in prepare()
DOkHttpAsync.java58 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/
DCacheAdapterTest.java62 private HostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); field in CacheAdapterTest
118 client.setHostnameVerifier(hostnameVerifier); in get_httpsGet()
233 client.setHostnameVerifier(hostnameVerifier); in put_httpsGet()
DResponseCacheTest.java97 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/
DOkHttpClientTest.java117 OkHostnameVerifier hostnameVerifier = OkHostnameVerifier.INSTANCE; // Global isn't configurable. in copyWithDefaultsWhenDefaultIsGlobal() local
130 assertSame(hostnameVerifier, client.getHostnameVerifier()); in copyWithDefaultsWhenDefaultIsGlobal()
DURLConnectionTest.java562 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 …]
DCallTest.java2043 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/
DRouteSelectorTest.java68 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/
DHttpEngine.java974 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/
DHttpOverSpdyTest.java75 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/
DJavaApiConverter.java808 @Override public void setHostnameVerifier(HostnameVerifier hostnameVerifier) {