Searched refs:socketFactory (Results 1 – 3 of 3) sorted by relevance
106 public URLConnection openConnection(@NonNull URL url, @NonNull SocketFactory socketFactory, in openConnection() argument108 return mFactory.openConnection(url, socketFactory, proxy); in openConnection()
155 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in main() local156 for (String suite : socketFactory.getSupportedCipherSuites()) { in main()159 for (String suite : socketFactory.getDefaultCipherSuites()) { in main()
201 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetDefaultSSLSocketFactory() local203 HttpsURLConnection.setDefaultSSLSocketFactory(socketFactory); in testSetDefaultSSLSocketFactory()206 socketFactory, HttpsURLConnection.getDefaultSSLSocketFactory()); in testSetDefaultSSLSocketFactory()261 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetSSLSocketFactory() local262 connection.setSSLSocketFactory(socketFactory); in testSetSSLSocketFactory()279 assertSame("Result differs from expected", socketFactory, connection.getSSLSocketFactory()); in testSetSSLSocketFactory()