Searched refs:getSocketFactory (Results 1 - 25 of 53) sorted by relevance

123

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSSLCertificateSocketFactory.java19 return SSLSocketFactory.getSocketFactory();
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/
H A DHandshakeCompletedEventTest.java40 SSLSocket soc = (SSLSocket) cont.getSocketFactory().createSocket();
H A DSSLSessionBindingEventTest.java40 SSLSocket soc = (SSLSocket) cont.getSocketFactory().createSocket();
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
H A DSSLSocketFactoryTest.java56 customSocketFactory = context.getSocketFactory();
/external/apache-http/src/org/apache/http/conn/scheme/
H A DPlainSocketFactory.java69 public static PlainSocketFactory getSocketFactory() { method in class:PlainSocketFactory
H A DScheme.java133 public final SocketFactory getSocketFactory() { method in class:Scheme
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
H A DOkHttp.java42 SSLSocketFactory socketFactory = sslContext.getSocketFactory();
H A DUrlConnection.java38 SSLSocketFactory socketFactory = sslContext.getSocketFactory();
H A DOkHttpAsync.java57 SSLSocketFactory socketFactory = sslContext.getSocketFactory();
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
H A DWebSocketCallTest.java212 server.useHttps(sslContext.getSocketFactory(), false);
213 client.setSslSocketFactory(sslContext.getSocketFactory());
220 server.useHttps(sslContext.getSocketFactory(), false);
221 client.setSslSocketFactory(sslContext.getSocketFactory());
/external/apache-http/android/src/android/net/http/
H A DHttpsConnection.java110 private synchronized static SSLSocketFactory getSocketFactory() { method in class:HttpsConnection
254 sslSock = (SSLSocket) getSocketFactory().createSocket(
288 sslSock = (SSLSocket) getSocketFactory().createSocket(
/external/apache-http/src/org/apache/http/impl/conn/
H A DDefaultClientConnectionOperator.java132 final SocketFactory sf = schm.getSocketFactory();
232 if (!(schm.getSocketFactory() instanceof LayeredSocketFactory)) {
238 final LayeredSocketFactory lsf = (LayeredSocketFactory) schm.getSocketFactory();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DURLConnectionTest.java504 server.useHttps(sslContext.getSocketFactory(), false);
507 client.client().setSslSocketFactory(sslContext.getSocketFactory());
518 server.useHttps(sslContext.getSocketFactory(), false);
521 client.client().setSslSocketFactory(sslContext.getSocketFactory());
547 server.useHttps(sslContext.getSocketFactory(), false);
552 SSLSocketFactory clientSocketFactory = sslContext.getSocketFactory();
569 server.useHttps(sslContext.getSocketFactory(), false);
574 client.client().setSslSocketFactory(sslContext.getSocketFactory());
589 server.useHttps(sslContext.getSocketFactory(), false);
605 server.useHttps(sslContext.getSocketFactory(), fals
[all...]
H A DCallTest.java767 server.useHttps(sslContext.getSocketFactory(), false);
772 client.setSslSocketFactory(sslContext.getSocketFactory());
780 server.useHttps(sslContext.getSocketFactory(), false);
785 client.setSslSocketFactory(sslContext.getSocketFactory());
825 server.useHttps(sslContext.getSocketFactory(), false);
840 Arrays.asList(sslContext.getSocketFactory().getSupportedCipherSuites());
846 server.useHttps(sslContext.getSocketFactory(), false);
850 new RecordingSSLSocketFactory(sslContext.getSocketFactory());
870 server.useHttps(sslContext.getSocketFactory(), false);
888 server.useHttps(sslContext.getSocketFactory(), fals
[all...]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLSocketFunctionalTest.java85 .getSocketFactory().createSocket("localhost",
123 .getSocketFactory().createSocket("localhost",
155 .getSocketFactory().createSocket("localhost",
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
H A DCacheAdapterTest.java117 client.setSslSocketFactory(sslContext.getSocketFactory());
232 client.setSslSocketFactory(sslContext.getSocketFactory());
259 server.useHttps(sslContext.getSocketFactory(), false /* tunnelProxy */);
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
H A DSSLContext1Test.java338 * <code>getSocketFactory()</code>
372 assertTrue(sslC[i].getSocketFactory() instanceof SSLSocketFactory);
415 sslContext.getSocketFactory();
450 .getSocketFactory().createSocket());
473 .getSocketFactory().createSocket());
/external/apache-http/src/org/apache/http/conn/
H A DMultihomePlainSocketFactory.java73 public static MultihomePlainSocketFactory getSocketFactory() { method in class:MultihomePlainSocketFactory
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
H A DSSLSocketFactoryWrapper.java59 mFactory = sslcontext.getSocketFactory();
/external/nist-sip/java/gov/nist/core/net/
H A DSslNetworkLayer.java85 sslSocketFactory = sslContext.getSocketFactory();
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DAddress.java87 public SocketFactory getSocketFactory() { method in class:Address
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
H A DConnectionSpecSelectorTest.java123 SSLSocket socket = (SSLSocket) sslContext.getSocketFactory().createSocket();
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DCustomTrust.java42 client.setSslSocketFactory(sslContext.getSocketFactory());
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
H A DSampleServer.java35 server.useHttps(sslContext.getSocketFactory(), false);
/external/apache-http/src/org/apache/http/impl/client/
H A DDefaultHttpClient.java181 new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
183 new Scheme("https", SSLSocketFactory.getSocketFactory(), 443));

Completed in 383 milliseconds

123