/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLEngineTest.java | 465 assertNotSame(e.getEnabledProtocols(), e.getEnabledProtocols()); in test_SSLEngine_getEnabledProtocols_returnsCopies() 473 String[] array = new String[] {e.getEnabledProtocols()[0]}; in test_SSLEngine_setEnabledProtocols_storesCopy() 477 assertEquals(originalFirstElement, e.getEnabledProtocols()[0]); in test_SSLEngine_setEnabledProtocols_storesCopy() 504 e.setEnabledProtocols(e.getEnabledProtocols()); in test_SSLEngine_setEnabledProtocols() 520 Arrays.deepToString(e.getEnabledProtocols())); in test_SSLEngine_setEnabledProtocols() 764 assertNotSame(protocols, e.getEnabledProtocols()); 765 assertEquals(Arrays.asList(protocols), Arrays.asList(e.getEnabledProtocols())); 778 String[] defaultProtocols = e.getEnabledProtocols(); 787 assertEquals(Arrays.asList(defaultProtocols), Arrays.asList(e.getEnabledProtocols())); 795 assertEquals(Arrays.asList(supportedProtocols), Arrays.asList(e.getEnabledProtocols()));
|
D | SSLServerSocketTest.java | 88 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols())); in testSetEnabledProtocolsAffectsGetter() 95 String[] array = new String[] {socket.getEnabledProtocols()[0]}; in testSetEnabledProtocolsStoresCopy() 99 assertEquals(originalFirstElement, socket.getEnabledProtocols()[0]); in testSetEnabledProtocolsStoresCopy()
|
D | SSLSocketTest.java | 327 assertNotSame(ssl.getEnabledProtocols(), ssl.getEnabledProtocols()); in test_SSLSocket_getEnabledProtocols_returnsCopies() 334 String[] array = new String[] {ssl.getEnabledProtocols()[0]}; in test_SSLSocket_setEnabledProtocols_storesCopy() 338 assertEquals(originalFirstElement, ssl.getEnabledProtocols()[0]); in test_SSLSocket_setEnabledProtocols_storesCopy() 364 ssl.setEnabledProtocols(ssl.getEnabledProtocols()); in test_SSLSocket_setEnabledProtocols() 379 Arrays.deepToString(ssl.getEnabledProtocols())); in test_SSLSocket_setEnabledProtocols() 608 assertNotSame(protocols, ssl.getEnabledProtocols()); in test_SSLSocket_getSSLParameters() 609 assertEquals(Arrays.asList(protocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_getSSLParameters() 626 String[] defaultProtocols = ssl.getEnabledProtocols(); in test_SSLSocket_setSSLParameters() 634 assertEquals(Arrays.asList(defaultProtocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_setSSLParameters() 642 Arrays.asList(supportedProtocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_setSSLParameters()
|
D | SSLContextTest.java | 186 .getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled() 189 .getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled() 193 tlsVersion, context.createSSLEngine().getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLEngineTest.java | 469 assertNotSame(e.getEnabledProtocols(), e.getEnabledProtocols()); in test_SSLEngine_getEnabledProtocols_returnsCopies() 477 String[] array = new String[] {e.getEnabledProtocols()[0]}; in test_SSLEngine_setEnabledProtocols_storesCopy() 481 assertEquals(originalFirstElement, e.getEnabledProtocols()[0]); in test_SSLEngine_setEnabledProtocols_storesCopy() 508 e.setEnabledProtocols(e.getEnabledProtocols()); in test_SSLEngine_setEnabledProtocols() 524 Arrays.deepToString(e.getEnabledProtocols())); in test_SSLEngine_setEnabledProtocols() 772 assertNotSame(protocols, e.getEnabledProtocols()); 773 assertEquals(Arrays.asList(protocols), Arrays.asList(e.getEnabledProtocols())); 786 String[] defaultProtocols = e.getEnabledProtocols(); 795 assertEquals(Arrays.asList(defaultProtocols), Arrays.asList(e.getEnabledProtocols())); 803 assertEquals(Arrays.asList(supportedProtocols), Arrays.asList(e.getEnabledProtocols()));
|
D | SSLServerSocketTest.java | 91 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols())); in testSetEnabledProtocolsAffectsGetter() 98 String[] array = new String[] {socket.getEnabledProtocols()[0]}; in testSetEnabledProtocolsStoresCopy() 102 assertEquals(originalFirstElement, socket.getEnabledProtocols()[0]); in testSetEnabledProtocolsStoresCopy()
|
D | SSLSocketTest.java | 331 assertNotSame(ssl.getEnabledProtocols(), ssl.getEnabledProtocols()); in test_SSLSocket_getEnabledProtocols_returnsCopies() 338 String[] array = new String[] {ssl.getEnabledProtocols()[0]}; in test_SSLSocket_setEnabledProtocols_storesCopy() 342 assertEquals(originalFirstElement, ssl.getEnabledProtocols()[0]); in test_SSLSocket_setEnabledProtocols_storesCopy() 368 ssl.setEnabledProtocols(ssl.getEnabledProtocols()); in test_SSLSocket_setEnabledProtocols() 383 Arrays.deepToString(ssl.getEnabledProtocols())); in test_SSLSocket_setEnabledProtocols() 617 assertNotSame(protocols, ssl.getEnabledProtocols()); in test_SSLSocket_getSSLParameters() 618 assertEquals(Arrays.asList(protocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_getSSLParameters() 635 String[] defaultProtocols = ssl.getEnabledProtocols(); in test_SSLSocket_setSSLParameters() 643 assertEquals(Arrays.asList(defaultProtocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_setSSLParameters() 651 Arrays.asList(supportedProtocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_setSSLParameters()
|
D | SSLContextTest.java | 189 ((SSLSocket) context.getSocketFactory().createSocket()).getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled() 192 .getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled() 196 tlsVersion, context.createSSLEngine().getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptServerSocket.java | 91 public String[] getEnabledProtocols() { in getEnabledProtocols() method in ConscryptServerSocket 92 return sslParameters.getEnabledProtocols(); in getEnabledProtocols()
|
D | Java8EngineWrapper.java | 145 public String[] getEnabledProtocols() { in getEnabledProtocols() method in Java8EngineWrapper 146 return delegate.getEnabledProtocols(); in getEnabledProtocols()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | ConscryptServerSocket.java | 92 public String[] getEnabledProtocols() { in getEnabledProtocols() method in ConscryptServerSocket 93 return sslParameters.getEnabledProtocols(); in getEnabledProtocols()
|
D | Java8EngineWrapper.java | 146 public String[] getEnabledProtocols() { in getEnabledProtocols() method in Java8EngineWrapper 147 return delegate.getEnabledProtocols(); in getEnabledProtocols()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | ConnectionSpecTest.java | 101 assertEquals(set(TlsVersion.TLS_1_2.javaName), set(socket.getEnabledProtocols())); in tls_defaultCiphers_noFallbackIndicator() 131 assertEquals(set(TlsVersion.TLS_1_2.javaName), set(socket.getEnabledProtocols())); in tls_defaultCiphers_withFallbackIndicator() 165 assertEquals(set(TlsVersion.TLS_1_2.javaName), set(socket.getEnabledProtocols())); in tls_explicitCiphers() 245 Arrays.asList(sslSocket.getEnabledProtocols())); in allEnabledTlsVersions()
|
D | DelegatingSSLSocket.java | 64 @Override public String[] getEnabledProtocols() { in getEnabledProtocols() method in DelegatingSSLSocket 65 return delegate.getEnabledProtocols(); in getEnabledProtocols()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | SSLConfigurationAsserts.java | 117 assertProtocolsEqual(sslSocket.getEnabledProtocols(), in assertSSLSocketConfigSameAsSSLContext() 175 assertProtocolsEqual(sslServerSocket.getEnabledProtocols(), in assertSSLServerSocketConfigSameAsSSLContext() 203 assertProtocolsEqual(sslEngine.getEnabledProtocols(), in assertSSLEngineConfigSameAsSSLContext()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLConfigurationAsserts.java | 119 assertProtocolsEqual(sslSocket.getEnabledProtocols(), in assertSSLSocketConfigSameAsSSLContext() 177 assertProtocolsEqual(sslServerSocket.getEnabledProtocols(), in assertSSLServerSocketConfigSameAsSSLContext() 205 assertProtocolsEqual(sslEngine.getEnabledProtocols(), in assertSSLEngineConfigSameAsSSLContext()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | ConnectionSpec.java | 150 ? Util.intersect(String.class, tlsVersions, sslSocket.getEnabledProtocols()) in supportedSpec() 151 : sslSocket.getEnabledProtocols(); in supportedSpec() 182 && !nonEmptyIntersection(tlsVersions, socket.getEnabledProtocols())) { in isCompatible()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | ConnectionSpec.java | 148 ? Util.intersect(String.class, tlsVersions, sslSocket.getEnabledProtocols()) in supportedSpec() 149 : sslSocket.getEnabledProtocols(); in supportedSpec() 180 && !nonEmptyIntersection(tlsVersions, socket.getEnabledProtocols())) { in isCompatible()
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | ConnectionSpec.java | 169 String[] protocolsToSelectFrom = sslSocket.getEnabledProtocols(); in supportedSpec() 193 String[] enabledProtocols = socket.getEnabledProtocols(); in isCompatible()
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
D | PreKitKatPlatformOpenSSLSocketImplAdapter.java | 297 public String[] getEnabledProtocols() { in getEnabledProtocols() method in PreKitKatPlatformOpenSSLSocketImplAdapter 298 return delegate.getEnabledProtocols(); in getEnabledProtocols()
|
D | KitKatPlatformOpenSSLSocketImplAdapter.java | 297 public String[] getEnabledProtocols() { in getEnabledProtocols() method in KitKatPlatformOpenSSLSocketImplAdapter 298 return delegate.getEnabledProtocols(); in getEnabledProtocols()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | ConnectionSpecSelector.java | 73 + ", supported protocols=" + Arrays.toString(sslSocket.getEnabledProtocols())); in configureSecureSocket()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/ |
D | ConnectionSpecSelector.java | 75 + ", supported protocols=" + Arrays.toString(sslSocket.getEnabledProtocols())); in configureSecureSocket()
|
/external/conscrypt/publicapi/src/test/java/android/net/ssl/ |
D | SSLEnginesTest.java | 55 @Override public String[] getEnabledProtocols() { throw new AssertionError(); } in getEnabledProtocols() method in SSLEnginesTest.BrokenSSLEngine
|
D | SSLSocketsTest.java | 50 @Override public String[] getEnabledProtocols() { throw new AssertionError(); } in getEnabledProtocols() method in SSLSocketsTest.BrokenSSLSocket
|