Home
last modified time | relevance | path

Searched refs:setApplicationProtocols (Results 1 – 25 of 47) sorted by relevance

12

/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DJava9PlatformUtil.java51 dest.setApplicationProtocols(getApplicationProtocols(src)); in setSSLParameters()
58 setApplicationProtocols(dest, src.getApplicationProtocols()); in getSSLParameters()
65 dest.setApplicationProtocols(getApplicationProtocols(src)); in setSSLParameters()
72 setApplicationProtocols(dest, src.getApplicationProtocols()); in getSSLParameters()
86 private static void setApplicationProtocols(SSLParameters params, String[] protocols) { in setApplicationProtocols() method in Java9PlatformUtil
/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
DJava9PlatformUtil.java52 dest.setApplicationProtocols(getApplicationProtocols(src)); in setSSLParameters()
59 setApplicationProtocols(dest, src.getApplicationProtocols()); in getSSLParameters()
66 dest.setApplicationProtocols(getApplicationProtocols(src)); in setSSLParameters()
73 setApplicationProtocols(dest, src.getApplicationProtocols()); in getSSLParameters()
87 private static void setApplicationProtocols(SSLParameters params, String[] protocols) { in setApplicationProtocols() method in Java9PlatformUtil
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/
DAndroidEngineFactory.java35 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newClientEngine()
44 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newServerEngine()
64 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newClientEngine()
73 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newServerEngine()
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/
DAndroidEngineFactory.java37 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newClientEngine()
46 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newServerEngine()
66 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newClientEngine()
75 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newServerEngine()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DPlatformTest.java79 setApplicationProtocols(params, applicationProtocols); in test_setSSLParameters_Socket()
100 impl.setApplicationProtocols(applicationProtocols); in test_getSSLParameters_Socket()
125 setApplicationProtocols(params, applicationProtocols); in test_setSSLParameters_Engine()
147 impl.setApplicationProtocols(applicationProtocols); in test_getSSLParameters_Engine()
205 private static void setApplicationProtocols(SSLParameters params, String[] protocols) { in setApplicationProtocols() method in PlatformTest
DConscryptEngineTest.java295 Conscrypt.setApplicationProtocols(clientEngine, clientAlpnProtocols); in alpnWithProtocolListShouldSucceed()
296 Conscrypt.setApplicationProtocols(serverEngine, serverAlpnProtocols); in alpnWithProtocolListShouldSucceed()
311 Conscrypt.setApplicationProtocols(clientEngine, clientAlpnProtocols); in alpnWithProtocolListShouldFail()
312 Conscrypt.setApplicationProtocols(serverEngine, serverAlpnProtocols); in alpnWithProtocolListShouldFail()
325 Conscrypt.setApplicationProtocols(clientEngine, clientAlpnProtocols); in alpnWithServerProtocolSelectorShouldSucceed()
345 Conscrypt.setApplicationProtocols(clientEngine, clientAlpnProtocols); in alpnWithServerProtocolSelectorShouldFail()
391 Conscrypt.setApplicationProtocols(clientEngine, alpnProtocols); in savedSessionWorksAfterClose()
392 Conscrypt.setApplicationProtocols(serverEngine, alpnProtocols); in savedSessionWorksAfterClose()
420 Conscrypt.setApplicationProtocols(clientEngine, alpnProtocols); in getAlpnIsNullBeforeHandshake()
421 Conscrypt.setApplicationProtocols(serverEngine, alpnProtocols); in getAlpnIsNullBeforeHandshake()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DPlatformTest.java77 setApplicationProtocols(params, applicationProtocols); in test_setSSLParameters_Socket()
98 impl.setApplicationProtocols(applicationProtocols); in test_getSSLParameters_Socket()
123 setApplicationProtocols(params, applicationProtocols); in test_setSSLParameters_Engine()
145 impl.setApplicationProtocols(applicationProtocols); in test_getSSLParameters_Engine()
203 private static void setApplicationProtocols(SSLParameters params, String[] protocols) { in setApplicationProtocols() method in PlatformTest
DConscryptEngineTest.java288 Conscrypt.setApplicationProtocols(clientEngine, clientAlpnProtocols); in alpnWithProtocolListShouldSucceed()
289 Conscrypt.setApplicationProtocols(serverEngine, serverAlpnProtocols); in alpnWithProtocolListShouldSucceed()
304 Conscrypt.setApplicationProtocols(clientEngine, clientAlpnProtocols); in alpnWithProtocolListShouldFail()
305 Conscrypt.setApplicationProtocols(serverEngine, serverAlpnProtocols); in alpnWithProtocolListShouldFail()
318 Conscrypt.setApplicationProtocols(clientEngine, clientAlpnProtocols); in alpnWithServerProtocolSelectorShouldSucceed()
337 Conscrypt.setApplicationProtocols(clientEngine, clientAlpnProtocols); in alpnWithServerProtocolSelectorShouldFail()
382 Conscrypt.setApplicationProtocols(clientEngine, alpnProtocols); in savedSessionWorksAfterClose()
383 Conscrypt.setApplicationProtocols(serverEngine, alpnProtocols); in savedSessionWorksAfterClose()
411 Conscrypt.setApplicationProtocols(clientEngine, alpnProtocols); in getAlpnIsNullBeforeHandshake()
412 Conscrypt.setApplicationProtocols(serverEngine, alpnProtocols); in getAlpnIsNullBeforeHandshake()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DPlatform.java233 Method setApplicationProtocols = in findPlatform() local
249 return new JdkAlpnPlatform(sslProvider, setApplicationProtocols, getApplicationProtocol); in findPlatform()
435 private final Method setApplicationProtocols; field in Platform.JdkAlpnPlatform
439 Provider provider, Method setApplicationProtocols, Method getApplicationProtocol) { in JdkAlpnPlatform() argument
441 this.setApplicationProtocols = setApplicationProtocols; in JdkAlpnPlatform()
460 setApplicationProtocols.invoke( in configureTlsExtensions()
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/
DOpenJdkEngineFactory.java90 … Conscrypt.setApplicationProtocols(engine, new String[] {ApplicationProtocolNames.HTTP_2}); in newClientEngine()
99 … Conscrypt.setApplicationProtocols(engine, new String[] {ApplicationProtocolNames.HTTP_2}); in newServerEngine()
122 … Conscrypt.setApplicationProtocols(engine, new String[] {ApplicationProtocolNames.HTTP_2}); in newClientEngine()
132 … Conscrypt.setApplicationProtocols(engine, new String[] {ApplicationProtocolNames.HTTP_2}); in newServerEngine()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSocketImpl.java135 setApplicationProtocols(alpnProtocols == null ? EmptyArray.STRING : alpnProtocols); in setAlpnProtocols()
153setApplicationProtocols(SSLUtils.decodeProtocols(protocols == null ? EmptyArray.BYTE : protocols)); in setAlpnProtocols()
DConscrypt.java454 public static void setApplicationProtocols(SSLSocket socket, String[] protocols) { in setApplicationProtocols() method in Conscrypt
455 toConscrypt(socket).setApplicationProtocols(protocols); in setApplicationProtocols()
676 public static void setApplicationProtocols(SSLEngine engine, String[] protocols) { in setApplicationProtocols() method in Conscrypt
677 toConscrypt(engine).setApplicationProtocols(protocols); in setApplicationProtocols()
DJava8EngineWrapper.java278 void setApplicationProtocols(String[] protocols) { in setApplicationProtocols() method in Java8EngineWrapper
279 delegate.setApplicationProtocols(protocols); in setApplicationProtocols()
DAbstractConscryptEngine.java142 abstract void setApplicationProtocols(String[] protocols); in setApplicationProtocols() method in AbstractConscryptEngine
DConscryptEngineSocket.java495 final void setApplicationProtocols(String[] protocols) {
496 engine.setApplicationProtocols(protocols);
DConscryptFileDescriptorSocket.java1134 final void setApplicationProtocols(String[] protocols) {
1135 sslParameters.setApplicationProtocols(protocols);
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscrypt.java464 public static void setApplicationProtocols(SSLSocket socket, String[] protocols) { in setApplicationProtocols() method in Conscrypt
465 toConscrypt(socket).setApplicationProtocols(protocols); in setApplicationProtocols()
686 public static void setApplicationProtocols(SSLEngine engine, String[] protocols) { in setApplicationProtocols() method in Conscrypt
687 toConscrypt(engine).setApplicationProtocols(protocols); in setApplicationProtocols()
DOpenSSLSocketImpl.java175 setApplicationProtocols(alpnProtocols == null ? EmptyArray.STRING : alpnProtocols); in setApplicationProtocols() method
204setApplicationProtocols(SSLUtils.decodeProtocols(protocols == null ? EmptyArray.BYTE : protocols)); in SSLUtils.decodeProtocols()
DJava8EngineWrapper.java279 void setApplicationProtocols(String[] protocols) { in setApplicationProtocols() method in Java8EngineWrapper
280 delegate.setApplicationProtocols(protocols); in setApplicationProtocols()
DAbstractConscryptEngine.java143 abstract void setApplicationProtocols(String[] protocols); in setApplicationProtocols() method in AbstractConscryptEngine
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java150 impl.setApplicationProtocols(params.getApplicationProtocols()); in setSSLParameters()
161 params.setApplicationProtocols(impl.getApplicationProtocols()); in getSSLParameters()
177 impl.setApplicationProtocols(params.getApplicationProtocols()); in setSSLParameters()
188 params.setApplicationProtocols(impl.getApplicationProtocols()); in getSSLParameters()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DPlatform.java151 impl.setApplicationProtocols(params.getApplicationProtocols()); in setSSLParameters()
162 params.setApplicationProtocols(impl.getApplicationProtocols()); in getSSLParameters()
178 impl.setApplicationProtocols(params.getApplicationProtocols()); in setSSLParameters()
189 params.setApplicationProtocols(impl.getApplicationProtocols()); in getSSLParameters()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dapp_data.h174 bool setApplicationProtocols(JNIEnv* e, jbyteArray applicationProtocolsJava) { in setApplicationProtocols() function
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java139 sslParams.setApplicationProtocols(getProtocolIds(protocols)); in configureTlsExtensions()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/
DPlatform.java143 sslParams.setApplicationProtocols(getProtocolIds(protocols)); in configureTlsExtensions()

12