Home
last modified time | relevance | path

Searched refs:SocketFactory (Results 1 – 12 of 12) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
DSocketFactoryTest.java32 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 …]
/libcore/ojluni/src/main/java/javax/net/
DSocketFactory.java71 public abstract class SocketFactory class
77 private static SocketFactory theFactory;
82 protected SocketFactory() { /* NOTHING */ } in SocketFactory() method in SocketFactory
90 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 {
/libcore/support/src/test/java/tests/net/
DDelegatingSocketFactory.java23 import javax.net.SocketFactory;
29 public class DelegatingSocketFactory extends SocketFactory {
31 private final SocketFactory mDelegate;
33 public DelegatingSocketFactory(SocketFactory delegate) { in DelegatingSocketFactory()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java32 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()
DSSLContextTest.java34 import javax.net.SocketFactory;
453 SocketFactory sf = sslContext.getSocketFactory(); in test_SSLContext_getSocketFactory()
DSSLSocketTest.java81 import javax.net.SocketFactory;
2510 final Socket client = SocketFactory.getDefault().createSocket(context.host, context.port); in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSocketFactory.java31 import javax.net.SocketFactory;
45 public abstract class SSLSocketFactory extends SocketFactory
88 public static synchronized SocketFactory getDefault() { in getDefault()
/libcore/benchmarks/src/benchmarks/regression/
DSSLSocketBenchmark.java27 import javax.net.SocketFactory;
72 private SocketFactory sf;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSocketFactoryTest.java23 import javax.net.SocketFactory;
46 SocketFactory sf = SSLSocketFactory.getDefault(); in test_Constructor()
/libcore/luni/src/main/java/java/security/
Dsecurity.properties42 ssl.SocketFactory.provider=com.android.org.conscrypt.OpenSSLSocketFactoryImpl
43 #ssl.SocketFactory.provider=com.android.org.conscrypt.SSLSocketFactoryImpl
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java76 import javax.net.SocketFactory;
2091 SocketFactory originalDefault = SocketFactory.getDefault();
2094 SocketFactory.setDefault(new DelegatingSocketFactory(originalDefault) {
2120 SocketFactory.setDefault(originalDefault);
/libcore/
Dopenjdk_java_files.mk1262 ojluni/src/main/java/javax/net/SocketFactory.java \