Searched refs:SocketFactory (Results 1 – 12 of 12) sorted by relevance
32 import javax.net.SocketFactory;43 SocketFactory sf = SocketFactory.getDefault(); in test_createSocket()59 SocketFactory sf = SocketFactory.getDefault(); in test_createSocket_StringI()87 SocketFactory f = SocketFactory.getDefault(); in test_createSocket_StringI()96 SocketFactory sf = SocketFactory.getDefault(); in test_createSocket_InetAddressI()118 SocketFactory f = SocketFactory.getDefault(); in test_createSocket_InetAddressI()127 SocketFactory sf = SocketFactory.getDefault(); in test_createSocket_InetAddressIInetAddressI()142 SocketFactory f = SocketFactory.getDefault(); in test_createSocket_InetAddressIInetAddressI()154 SocketFactory sf = SocketFactory.getDefault(); in test_createSocket_InetAddressIInetAddressI_IllegalArgumentException()183 SocketFactory sf = SocketFactory.getDefault(); in test_createSocket_InetAddressIInetAddressI_ExceptionOrder()[all …]
71 public abstract class SocketFactory class77 private static SocketFactory theFactory;82 protected SocketFactory() { /* NOTHING */ } in SocketFactory() method in SocketFactory90 public static SocketFactory getDefault() in getDefault()92 synchronized (SocketFactory.class) { in getDefault()108 public static void setDefault(SocketFactory factory) { in setDefault()109 synchronized (SocketFactory.class) { in setDefault()269 class DefaultSocketFactory extends SocketFactory {
23 import javax.net.SocketFactory;29 public class DelegatingSocketFactory extends SocketFactory {31 private final SocketFactory mDelegate;33 public DelegatingSocketFactory(SocketFactory delegate) { in DelegatingSocketFactory()
32 import javax.net.SocketFactory;49 SocketFactory sf = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault()143 SocketFactory sf1 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate()148 SocketFactory sf4 = null; in test_SSLSocketFactory_getDefault_cacheInvalidate()166 SocketFactory sf3 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate()175 SocketFactory sf2 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate()
34 import javax.net.SocketFactory;453 SocketFactory sf = sslContext.getSocketFactory(); in test_SSLContext_getSocketFactory()
81 import javax.net.SocketFactory;2510 final Socket client = SocketFactory.getDefault().createSocket(context.host, context.port); in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage()
31 import javax.net.SocketFactory;45 public abstract class SSLSocketFactory extends SocketFactory88 public static synchronized SocketFactory getDefault() { in getDefault()
27 import javax.net.SocketFactory;72 private SocketFactory sf;
23 import javax.net.SocketFactory;46 SocketFactory sf = SSLSocketFactory.getDefault(); in test_Constructor()
42 ssl.SocketFactory.provider=com.android.org.conscrypt.OpenSSLSocketFactoryImpl43 #ssl.SocketFactory.provider=com.android.org.conscrypt.SSLSocketFactoryImpl
76 import javax.net.SocketFactory;2091 SocketFactory originalDefault = SocketFactory.getDefault();2094 SocketFactory.setDefault(new DelegatingSocketFactory(originalDefault) {2120 SocketFactory.setDefault(originalDefault);
1262 ojluni/src/main/java/javax/net/SocketFactory.java \