/external/okhttp/android/src/test/java/com/squareup/okhttp/internal/ |
D | PlatformTest.java | 67 assertArrayEquals(Platform.concatLengthPrefixed(protocols), openSslSocket.alpnProtocols); in enableTlsExtensionOptionalMethods() 82 openSslSocket.alpnProtocols = selectedProtocol.getBytes(StandardCharsets.UTF_8); in getSelectedProtocol() 127 private byte[] alpnProtocols; field in PlatformTest.FullOpenSSLSocketImpl 137 public void setAlpnProtocols(byte[] alpnProtocols) { in setAlpnProtocols() argument 138 this.alpnProtocols = alpnProtocols; in setAlpnProtocols() 142 return alpnProtocols; in getAlpnSelectedProtocol()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptSocketTest.java | 254 String[] alpnProtocols; field in ConscryptSocketTest.Hooks 300 if (alpnProtocols != null) { in createSocket() 301 Conscrypt.setApplicationProtocols(socket, alpnProtocols); in createSocket() 329 if (alpnProtocols != null) { in createSocket() 330 Conscrypt.setApplicationProtocols(socket, alpnProtocols); in createSocket() 438 c.clientHooks.alpnProtocols = clientAlpnProtocols; 439 c.serverHooks.alpnProtocols = serverAlpnProtocols; 455 c.clientHooks.alpnProtocols = clientAlpnProtocols; 456 c.serverHooks.alpnProtocols = serverAlpnProtocols; 470 c.clientHooks.alpnProtocols = clientAlpnProtocols; [all …]
|
D | NativeCryptoTest.java | 979 final int timeout, final boolean client, final Hooks hooks, final byte[] alpnProtocols, in handshake() argument 1015 if (alpnProtocols != null) { in handshake() 1016 … NativeCrypto.setApplicationProtocols(s, null, client, alpnProtocols); in handshake()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptSocketTest.java | 260 String[] alpnProtocols; field in ConscryptSocketTest.Hooks 306 if (alpnProtocols != null) { in createSocket() 307 Conscrypt.setApplicationProtocols(socket, alpnProtocols); in createSocket() 335 if (alpnProtocols != null) { in createSocket() 336 Conscrypt.setApplicationProtocols(socket, alpnProtocols); in createSocket() 444 c.clientHooks.alpnProtocols = clientAlpnProtocols; 445 c.serverHooks.alpnProtocols = serverAlpnProtocols; 461 c.clientHooks.alpnProtocols = clientAlpnProtocols; 462 c.serverHooks.alpnProtocols = serverAlpnProtocols; 476 c.clientHooks.alpnProtocols = clientAlpnProtocols; [all …]
|
D | NativeCryptoTest.java | 987 final int timeout, final boolean client, final Hooks hooks, final byte[] alpnProtocols, in handshake() argument 1023 if (alpnProtocols != null) { in handshake() 1024 … NativeCrypto.setApplicationProtocols(s, null, client, alpnProtocols); in handshake()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLSocketImpl.java | 134 public final void setAlpnProtocols(String[] alpnProtocols) { in setAlpnProtocols() argument 135 setApplicationProtocols(alpnProtocols == null ? EmptyArray.STRING : alpnProtocols); in setAlpnProtocols()
|
D | AbstractConscryptSocket.java | 695 abstract void setAlpnProtocols(String[] alpnProtocols); in setAlpnProtocols() argument 706 abstract void setAlpnProtocols(byte[] alpnProtocols); in setAlpnProtocols() argument
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLSocketImpl.java | 157 public final void setAlpnProtocols(String[] alpnProtocols) { in setAlpnProtocols() argument 158 setApplicationProtocols(alpnProtocols == null ? EmptyArray.STRING : alpnProtocols); in setAlpnProtocols()
|
D | AbstractConscryptSocket.java | 710 abstract void setAlpnProtocols(String[] alpnProtocols); in setAlpnProtocols() argument 722 abstract void setAlpnProtocols(byte[] alpnProtocols); in setAlpnProtocols() argument
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
D | PreKitKatPlatformOpenSSLSocketImplAdapter.java | 451 public void setAlpnProtocols(byte[] alpnProtocols) { in setAlpnProtocols() argument 452 delegate.setAlpnProtocols(alpnProtocols); in setAlpnProtocols()
|
D | KitKatPlatformOpenSSLSocketImplAdapter.java | 451 public void setAlpnProtocols(byte[] alpnProtocols) { in setAlpnProtocols() argument 452 delegate.setAlpnProtocols(alpnProtocols); in setAlpnProtocols()
|
/external/boringssl/src/ssl/test/runner/ |
D | handshake_messages.go | 282 alpnProtocols []string member 337 eqStrings(m.alpnProtocols, m1.alpnProtocols) && 527 if len(m.alpnProtocols) > 0 { 533 for _, s := range m.alpnProtocols { 723 m.alpnProtocols = nil 888 m.alpnProtocols = append(m.alpnProtocols, string(protocol))
|
D | handshake_server.go | 1350 if len(hs.clientHello.alpnProtocols) > 0 { 1361 …} else if selectedProto, fallback := mutualProtocol(hs.clientHello.alpnProtocols, c.config.NextPro… 1373 if len(hs.clientHello.alpnProtocols) == 0 || c.config.Bugs.NegotiateALPNAndNPN {
|
D | handshake_client.go | 117 alpnProtocols: c.config.NextProtos, 1548 clientDidALPN := len(hs.hello.alpnProtocols) > 0
|