Home
last modified time | relevance | path

Searched refs:useEngineSocket (Results 1 – 7 of 7) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLServerSocketFactoryImpl.java36 private boolean useEngineSocket = useEngineSocketByDefault; field in OpenSSLServerSocketFactoryImpl
56 static void setUseEngineSocketByDefault(boolean useEngineSocket) { in setUseEngineSocketByDefault() argument
57 useEngineSocketByDefault = useEngineSocket; in setUseEngineSocketByDefault()
64 void setUseEngineSocket(boolean useEngineSocket) { in setUseEngineSocket() argument
65 this.useEngineSocket = useEngineSocket; in setUseEngineSocket()
81 .setUseEngineSocket(useEngineSocket); in createServerSocket()
87 .setUseEngineSocket(useEngineSocket); in createServerSocket()
93 .setUseEngineSocket(useEngineSocket); in createServerSocket()
101 .setUseEngineSocket(useEngineSocket); in createServerSocket()
DOpenSSLSocketFactoryImpl.java38 private boolean useEngineSocket = useEngineSocketByDefault; field in OpenSSLSocketFactoryImpl
60 static void setUseEngineSocketByDefault(boolean useEngineSocket) { in setUseEngineSocketByDefault() argument
61 useEngineSocketByDefault = useEngineSocket; in setUseEngineSocketByDefault()
68 void setUseEngineSocket(boolean useEngineSocket) { in setUseEngineSocket() argument
69 this.useEngineSocket = useEngineSocket; in setUseEngineSocket()
87 if (useEngineSocket) { in createSocket()
96 if (useEngineSocket) { in createSocket()
108 if (useEngineSocket) { in createSocket()
119 if (useEngineSocket) { in createSocket()
131 if (useEngineSocket) { in createSocket()
[all …]
DConscryptServerSocket.java30 private boolean useEngineSocket; field in ConscryptServerSocket
60 ConscryptServerSocket setUseEngineSocket(boolean useEngineSocket) { in setUseEngineSocket() argument
61 this.useEngineSocket = useEngineSocket; in setUseEngineSocket()
179 if (useEngineSocket) { in accept()
DConscrypt.java173 public static void setUseEngineSocketByDefault(boolean useEngineSocket) { in setUseEngineSocketByDefault() argument
174 OpenSSLSocketFactoryImpl.setUseEngineSocketByDefault(useEngineSocket); in setUseEngineSocketByDefault()
181 public static void setUseEngineSocket(SSLSocketFactory factory, boolean useEngineSocket) { in setUseEngineSocket() argument
182 toConscrypt(factory).setUseEngineSocket(useEngineSocket); in setUseEngineSocket()
211 public static void setUseEngineSocketByDefault(boolean useEngineSocket) { in setUseEngineSocketByDefault() argument
212 OpenSSLServerSocketFactoryImpl.setUseEngineSocketByDefault(useEngineSocket); in setUseEngineSocketByDefault()
220 SSLServerSocketFactory factory, boolean useEngineSocket) { in setUseEngineSocket() argument
221 toConscrypt(factory).setUseEngineSocket(useEngineSocket); in setUseEngineSocket()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java137 …c SSLSocketFactory setUseEngineSocket(SSLSocketFactory conscryptFactory, boolean useEngineSocket) { in setUseEngineSocket() argument
141 method.invoke(null, conscryptFactory, useEngineSocket); in setUseEngineSocket()
148 …ocketFactory setUseEngineSocket(SSLServerSocketFactory conscryptFactory, boolean useEngineSocket) { in setUseEngineSocket() argument
152 method.invoke(null, conscryptFactory, useEngineSocket); in setUseEngineSocket()
159 public static SSLSocketFactory getConscryptSocketFactory(boolean useEngineSocket) { in getConscryptSocketFactory() argument
160 return setUseEngineSocket(getSocketFactory(getConscryptProvider()), useEngineSocket); in getConscryptSocketFactory()
163 public static SSLServerSocketFactory getConscryptServerSocketFactory(boolean useEngineSocket) { in getConscryptServerSocketFactory() argument
164 return setUseEngineSocket(getServerSocketFactory(getConscryptProvider()), useEngineSocket); in getConscryptServerSocketFactory()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DSocketType.java59 private static Factories newConscryptFactories(boolean useEngineSocket) { in newConscryptFactories() argument
66 TestUtils.setUseEngineSocket(clientFactory, useEngineSocket); in newConscryptFactories()
67 TestUtils.setUseEngineSocket(serverFactory, useEngineSocket); in newConscryptFactories()
68 TestUtils.setUseEngineSocket(serverSocketFactory, useEngineSocket); in newConscryptFactories()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptSocketTest.java84 private final boolean useEngineSocket; field in ConscryptSocketTest.SocketType
86 SocketType(boolean useEngineSocket) { in SocketType() argument
87 this.useEngineSocket = useEngineSocket; in SocketType()
93 Conscrypt.SocketFactories.setUseEngineSocket(factory, useEngineSocket); in createClientSocket()
104 Conscrypt.SocketFactories.setUseEngineSocket(factory, useEngineSocket); in createServerSocket()