Searched refs:socketFactory (Results 1 – 3 of 3) sorted by relevance
99 public URLConnection openConnection(@NonNull URL url, @NonNull SocketFactory socketFactory, in openConnection() argument101 return mFactory.openConnection(url, socketFactory, proxy); in openConnection()
141 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in main() local142 for (String suite : socketFactory.getSupportedCipherSuites()) { in main()145 for (String suite : socketFactory.getDefaultCipherSuites()) { in main()
202 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetDefaultSSLSocketFactory() local204 HttpsURLConnection.setDefaultSSLSocketFactory(socketFactory); in testSetDefaultSSLSocketFactory()207 socketFactory, HttpsURLConnection.getDefaultSSLSocketFactory()); in testSetDefaultSSLSocketFactory()262 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetSSLSocketFactory() local263 connection.setSSLSocketFactory(socketFactory); in testSetSSLSocketFactory()280 assertSame("Result differs from expected", socketFactory, connection.getSSLSocketFactory()); in testSetSSLSocketFactory()