Searched refs:applicationProtocols (Results 1 – 7 of 7) sorted by relevance
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | PlatformTest.java | 76 String[] applicationProtocols = new String[] {"foo", "bar"}; in test_setSSLParameters_Socket() local 78 setApplicationProtocols(params, applicationProtocols); in test_setSSLParameters_Socket() 85 assertArrayEquals(applicationProtocols, impl.getApplicationProtocols()); in test_setSSLParameters_Socket() 97 String[] applicationProtocols = new String[] {"foo", "bar"}; in test_getSSLParameters_Socket() local 99 impl.setApplicationProtocols(applicationProtocols); in test_getSSLParameters_Socket() 107 assertArrayEquals(applicationProtocols, getApplicationProtocols(params)); in test_getSSLParameters_Socket() 122 String[] applicationProtocols = new String[] {"foo", "bar"}; in test_setSSLParameters_Engine() local 124 setApplicationProtocols(params, applicationProtocols); in test_setSSLParameters_Engine() 131 assertArrayEquals(applicationProtocols, impl.getApplicationProtocols()); in test_setSSLParameters_Engine() 144 String[] applicationProtocols = new String[] {"foo", "bar"}; in test_getSSLParameters_Engine() local [all …]
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | PlatformTest.java | 78 String[] applicationProtocols = new String[] {"foo", "bar"}; in test_setSSLParameters_Socket() local 80 setApplicationProtocols(params, applicationProtocols); in test_setSSLParameters_Socket() 87 assertArrayEquals(applicationProtocols, impl.getApplicationProtocols()); in test_setSSLParameters_Socket() 99 String[] applicationProtocols = new String[] {"foo", "bar"}; in test_getSSLParameters_Socket() local 101 impl.setApplicationProtocols(applicationProtocols); in test_getSSLParameters_Socket() 109 assertArrayEquals(applicationProtocols, getApplicationProtocols(params)); in test_getSSLParameters_Socket() 124 String[] applicationProtocols = new String[] {"foo", "bar"}; in test_setSSLParameters_Engine() local 126 setApplicationProtocols(params, applicationProtocols); in test_setSSLParameters_Engine() 133 assertArrayEquals(applicationProtocols, impl.getApplicationProtocols()); in test_setSSLParameters_Engine() 146 String[] applicationProtocols = new String[] {"foo", "bar"}; in test_getSSLParameters_Engine() local [all …]
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
D | app_data.h | 177 jbyte* applicationProtocols = in setApplicationProtocols() local 179 if (applicationProtocols == nullptr) { in setApplicationProtocols() 188 memcpy(applicationProtocolsData, applicationProtocols, applicationProtocolsLength); in setApplicationProtocols() 189 e->ReleaseByteArrayElements(applicationProtocolsJava, applicationProtocols, JNI_ABORT); in setApplicationProtocols()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | SSLParametersImpl.java | 98 byte[] applicationProtocols = EmptyArray.BYTE; field in SSLParametersImpl 182 this.applicationProtocols = in SSLParametersImpl() 183 … (sslParams.applicationProtocols == null) ? null : sslParams.applicationProtocols.clone(); in SSLParametersImpl() 290 this.applicationProtocols = SSLUtils.encodeProtocols(protocols); in setApplicationProtocols() 294 return SSLUtils.decodeProtocols(applicationProtocols); in getApplicationProtocols()
|
D | NativeSsl.java | 318 if (parameters.applicationProtocols.length > 0) { in initialize() 319 … NativeCrypto.setApplicationProtocols(ssl, this, isClient(), parameters.applicationProtocols); in initialize()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | SSLParametersImpl.java | 100 byte[] applicationProtocols = EmptyArray.BYTE; field in SSLParametersImpl 183 this.applicationProtocols = (sslParams.applicationProtocols == null) in SSLParametersImpl() 185 : sslParams.applicationProtocols.clone(); in SSLParametersImpl() 295 this.applicationProtocols = SSLUtils.encodeProtocols(protocols); in setApplicationProtocols() 299 return SSLUtils.decodeProtocols(applicationProtocols); in getApplicationProtocols()
|
D | NativeSsl.java | 319 if (parameters.applicationProtocols.length > 0) { in initialize() 320 … NativeCrypto.setApplicationProtocols(ssl, this, isClient(), parameters.applicationProtocols); in initialize()
|