Home
last modified time | relevance | path

Searched refs:SocketFactory (Results 1 – 16 of 16) 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()
109 public static void setDefault(SocketFactory factory) { in setDefault()
110 synchronized (SocketFactory.class) { in setDefault()
270 class DefaultSocketFactory extends SocketFactory {
/libcore/luni/src/test/java/libcore/java/net/
DDelegatingSocketFactory.java22 import javax.net.SocketFactory;
28 public class DelegatingSocketFactory extends SocketFactory {
30 private final SocketFactory mDelegate;
32 protected DelegatingSocketFactory(SocketFactory delegate) { in DelegatingSocketFactory()
DURLConnectionTest.java83 import javax.net.SocketFactory;
2337 SocketFactory originalDefault = SocketFactory.getDefault();
2340 SocketFactory.setDefault(new DelegatingSocketFactory(originalDefault) {
2366 SocketFactory.setDefault(originalDefault);
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java26 import javax.net.SocketFactory;
40 SocketFactory sf1 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate()
45 SocketFactory sf4; in test_SSLSocketFactory_getDefault_cacheInvalidate()
62 SocketFactory sf3 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate()
70 SocketFactory sf2 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate()
/libcore/ojluni/annotations/hiddenapi/javax/net/ssl/
DSSLSocketFactory.java33 public abstract class SSLSocketFactory extends javax.net.SocketFactory {
43 public static synchronized javax.net.SocketFactory getDefault() { in getDefault()
/libcore/luni/src/main/java/libcore/net/http/
DHttpURLConnectionFactory.java29 import javax.net.SocketFactory;
99 public URLConnection openConnection(@NonNull URL url, @NonNull SocketFactory socketFactory, in openConnection()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSocketFactory.java31 import javax.net.SocketFactory;
46 public abstract class SSLSocketFactory extends SocketFactory
97 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/test/java/libcore/libcore/net/http/
DHttpURLConnectionFactoryTest.java42 import javax.net.SocketFactory;
63 final URLConnection connection = factory.openConnection(url, SocketFactory.getDefault(), in testOpenConnection()
/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/api/
Dmodule-lib-current.txt691 …RLConnection openConnection(@NonNull java.net.URL, @NonNull javax.net.SocketFactory, @NonNull java…
Dcurrent.txt19357 public abstract class SocketFactory {
19358 ctor protected SocketFactory();
19364 method public static javax.net.SocketFactory getDefault();
19730 public abstract class SSLSocketFactory extends javax.net.SocketFactory {
19733 method public static javax.net.SocketFactory getDefault();
/libcore/
Dopenjdk_java_files.bp1328 "ojluni/src/main/java/javax/net/SocketFactory.java",
DEXPECTED_UPSTREAM1325 ojluni/src/main/java/javax/net/SocketFactory.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/…