Home
last modified time | relevance | path

Searched refs:useHttps (Results 1 – 14 of 14) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DCertificatePinnerChainValidationTest.java74 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/
DURLConnectionTest.java513 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 …]
DCallTest.java913 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()
DConnectionReuseTest.java231 server.useHttps(sslContext.getSocketFactory(), false); in enableHttp2()
DCacheTest.java247 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/
DWebSocketCallTest.java176 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/
DSampleServer.java35 server.useHttps(sslContext.getSocketFactory(), false); in run()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java165 server.useHttps(sslContext.getSocketFactory(), false); in startServer()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DCacheAdapterTest.java259 server.useHttps(sslContext.getSocketFactory(), false /* tunnelProxy */); in configureHttpsServer()
DResponseCacheTest.java259 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/
DUrlConnectionCacheTest.java249 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/
DMockWebServer.java160 public void useHttps(SSLSocketFactory sslSocketFactory, boolean tunnelProxy) { in useHttps() method in MockWebServer
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java85 server.useHttps(sslContext.getSocketFactory(), false); in setUp()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java259 public void useHttps(SSLSocketFactory sslSocketFactory, boolean tunnelProxy) {