/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | CertificatePinnerChainValidationTest.java | 74 server.useHttps(serverSslContext.getSocketFactory(), false); in pinRootNotPresentInChain() 129 server.useHttps(serverSslContext.getSocketFactory(), false); in pinIntermediatePresentInChain() 203 server.useHttps(serverSslContext.getSocketFactory(), false); in unrelatedPinnedLeafCertificateInChain() 277 server.useHttps(serverSslContext.getSocketFactory(), false); in unrelatedPinnedIntermediateCertificateInChain()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | URLConnectionTest.java | 513 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttps() 527 server.useHttps(sslContext.getSocketFactory(), false); in inspectHandshakeThroughoutRequestLifecycle() 556 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsReusingConnections() 578 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsReusingConnectionsDifferentFactories() 598 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsWithSSLFallback() 614 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsWithSSLFallbackFailuresRecorded() 639 server.useHttps(sslContext.getSocketFactory(), false); in sslFallbackNotUsedWhenRecycledConnectionFails() 667 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsToUntrustedServer() 724 public void testConnectViaSocketFactory(boolean useHttps) throws IOException { in testConnectViaSocketFactory() argument 736 if (useHttps) { in testConnectViaSocketFactory() [all …]
|
D | CallTest.java | 913 server.useHttps(sslContext.getSocketFactory(), false); in recoverFromTlsHandshakeFailure() 934 server.useHttps(sslContext.getSocketFactory(), false); in recoverFromTlsHandshakeFailure_tlsFallbackScsvEnabled() 958 server.useHttps(sslContext.getSocketFactory(), false); in recoverFromTlsHandshakeFailure_Async() 976 server.useHttps(sslContext.getSocketFactory(), false); in noRecoveryFromTlsHandshakeFailureWhenTlsFallbackIsDisabled() 2034 server.useHttps(sslContext.getSocketFactory(), true); in proxyConnectOmitsApplicationHeaders() 2069 server.useHttps(sslContext.getSocketFactory(), true); in proxyAuthenticateOnConnect() 2109 server.useHttps(sslContext.getSocketFactory(), true); in noProactiveProxyAuthorization() 2137 server.useHttps(sslContext.getSocketFactory(), true); in ipv6HostHasSquareBraces() 2209 server.useHttps(sslContext.getSocketFactory(), false); in enableTls()
|
D | ConnectionReuseTest.java | 231 server.useHttps(sslContext.getSocketFactory(), false); in enableHttp2()
|
D | CacheTest.java | 247 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCaching() 341 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndRedirects() 380 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects() 1671 server.useHttps(sslContext.getSocketFactory(), false); in varyAndHttps()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketCallTest.java | 176 server.useHttps(sslContext.getSocketFactory(), false); in wssScheme() 184 server.useHttps(sslContext.getSocketFactory(), false); in httpsScheme()
|
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/ |
D | SampleServer.java | 35 server.useHttps(sslContext.getSocketFactory(), false); in run()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | Benchmark.java | 165 server.useHttps(sslContext.getSocketFactory(), false); in startServer()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 259 server.useHttps(sslContext.getSocketFactory(), false /* tunnelProxy */); in configureHttpsServer()
|
D | ResponseCacheTest.java | 259 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCaching() 337 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndRedirects() 374 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects() 1449 server.useHttps(sslContext.getSocketFactory(), false); in varyAndHttps() 1985 server.useHttps(sslContext.getSocketFactory(), false);
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 249 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCaching() 327 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndRedirects() 363 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects() 1393 server.useHttps(sslContext.getSocketFactory(), false); in varyAndHttps()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockWebServer.java | 160 public void useHttps(SSLSocketFactory sslSocketFactory, boolean tunnelProxy) { in useHttps() method in MockWebServer
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 85 server.useHttps(sslContext.getSocketFactory(), false); in setUp()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 259 public void useHttps(SSLSocketFactory sslSocketFactory, boolean tunnelProxy) {
|