Home
last modified time | relevance | path

Searched refs:getSocketFactory (Results 1 – 25 of 27) sorted by relevance

12

/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DURLConnectionTest.java510 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttps()
514 client.setSslSocketFactory(sslContext.getSocketFactory()); in connectViaHttps()
525 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsReusingConnections()
531 SSLSocketFactory clientSocketFactory = sslContext.getSocketFactory(); in connectViaHttpsReusingConnections()
548 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsReusingConnectionsDifferentFactories()
554 client.setSslSocketFactory(sslContext.getSocketFactory()); in connectViaHttpsReusingConnectionsDifferentFactories()
569 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsWithSSLFallback()
574 client.setSslSocketFactory(sslContext.getSocketFactory()); in connectViaHttpsWithSSLFallback()
590 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsToUntrustedServer()
665 server.useHttps(sslContext.getSocketFactory(), false); in testConnectViaDirectProxyToHttps()
[all …]
DHttpResponseCacheTest.java328 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCaching()
335 connection.setSSLSocketFactory(sslContext.getSocketFactory()); in secureResponseCaching()
347 connection.setSSLSocketFactory(sslContext.getSocketFactory()); in secureResponseCaching()
363 server.useHttps(sslContext.getSocketFactory(), false); in cacheReturnsInsecureResponseForSecureRequest()
371 connection1.setSSLSocketFactory(sslContext.getSocketFactory()); in cacheReturnsInsecureResponseForSecureRequest()
377 connection2.setSSLSocketFactory(sslContext.getSocketFactory()); in cacheReturnsInsecureResponseForSecureRequest()
429 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndRedirects()
441 connection1.setSSLSocketFactory(sslContext.getSocketFactory()); in secureResponseCachingAndRedirects()
447 connection1.setSSLSocketFactory(sslContext.getSocketFactory()); in secureResponseCachingAndRedirects()
464 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects()
[all …]
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java127 final SocketFactory sf = schm.getSocketFactory(); in openConnection()
222 if (!(schm.getSocketFactory() instanceof LayeredSocketFactory)) { in updateSecureConnection()
228 final LayeredSocketFactory lsf = (LayeredSocketFactory) schm.getSocketFactory(); in updateSecureConnection()
/external/smack/src/com/kenai/jbosh/
DApacheHTTPSender.java144 new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); in initHttpClient()
145 SSLSocketFactory sslFactory = SSLSocketFactory.getSocketFactory(); in initHttpClient()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLContext1Test.java373 assertTrue(sslC[i].getSocketFactory() instanceof SSLSocketFactory); in testSSLContext11()
416 sslContext.getSocketFactory(); in testSSLContext12()
453 .getSocketFactory().createSocket()); in testGetDefaultSSLParameters()
476 .getSocketFactory().createSocket()); in testGetSupportedSSLParameters()
DSSLContext2Test.java84 sslC.getSocketFactory(); in checkSSLContext()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketFunctionalTest.java85 .getSocketFactory().createSocket("localhost", in doTestInteraction()
123 .getSocketFactory().createSocket("localhost", in _doTestInteraction()
155 .getSocketFactory().createSocket("localhost", in doTestSelfInteraction()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/
DHandshakeCompletedEventTest.java41 SSLSocket soc = (SSLSocket )cont.getSocketFactory().createSocket(); in getData()
DSSLSessionBindingEventTest.java41 SSLSocket soc = (SSLSocket )cont.getSocketFactory().createSocket(); in getData()
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DSSLSocketFactoryTest.java57 customSocketFactory = context.getSocketFactory(); in setUp()
/external/apache-http/src/org/apache/http/conn/ssl/
DSSLSocketFactory.java169 public static SSLSocketFactory getSocketFactory() { in getSocketFactory() method in SSLSocketFactory
201 this.socketfactory = this.sslcontext.getSocketFactory(); in SSLSocketFactory()
/external/smack/src/org/jivesoftware/smack/
DConnectionConfiguration.java218 socketFactory = proxy.getSocketFactory(); in init()
692 public SocketFactory getSocketFactory() { in getSocketFactory() method in ConnectionConfiguration
DXMPPConnection.java572 if (config.getSocketFactory() == null) { in connectUsingConfiguration()
576 this.socket = config.getSocketFactory().createSocket(host, port); in connectUsingConfiguration()
876 socket = context.getSocketFactory().createSocket(plain, in proceedTLSReceived()
/external/smack/src/org/jivesoftware/smack/proxy/
DProxyInfo.java108 public SocketFactory getSocketFactory() in getSocketFactory() method in ProxyInfo
/external/apache-http/src/org/apache/http/conn/scheme/
DScheme.java128 public final SocketFactory getSocketFactory() { in getSocketFactory() method in Scheme
DPlainSocketFactory.java64 public static PlainSocketFactory getSocketFactory() { in getSocketFactory() method in PlainSocketFactory
/external/apache-http/src/org/apache/http/impl/client/
DDefaultHttpClient.java176 new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); in createClientConnectionManager()
178 new Scheme("https", SSLSocketFactory.getSocketFactory(), 443)); in createClientConnectionManager()
/external/apache-http/src/org/apache/http/conn/
DMultihomePlainSocketFactory.java68 public static MultihomePlainSocketFactory getSocketFactory() { in getSocketFactory() method in MultihomePlainSocketFactory
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DHttpOverSpdyTest.java75 private final MockSpdyServer server = new MockSpdyServer(sslContext.getSocketFactory());
81 client.setSslSocketFactory(sslContext.getSocketFactory()); in setUp()
DSpdyServer.java158 server.useHttps(sslContext.getSocketFactory()); in main()
/external/nist-sip/java/gov/nist/core/net/
DSslNetworkLayer.java85 sslSocketFactory = sslContext.getSocketFactory(); in SslNetworkLayer()
/external/okhttp/src/test/java/com/squareup/okhttp/
DConnectionPoolTest.java56 private final MockSpdyServer spdyServer = new MockSpdyServer(sslContext.getSocketFactory());
81 sslContext.getSocketFactory(), new RecordingHostnameVerifier(), in setUp()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java252 .getSocketFactory(); in testSetDefaultSSLSocketFactory()
310 .getSocketFactory(); in testSetSSLSocketFactory()
1332 .getSocketFactory() in run()
/external/smack/asmack-master/patch/
D33-jbosh-android.patch409 + new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
410 + SSLSocketFactory sslFactory = SSLSocketFactory.getSocketFactory();
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java368 SSLSocketFactory sslSocketFactory = context.getSocketFactory(); in processHandshakeFailure()

12