Home
last modified time | relevance | path

Searched refs:toLengthPrefixedList (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DSSLCertificateSocketFactoryTest.java37 assertTrue(Arrays.equals(expected, SSLCertificateSocketFactory.toLengthPrefixedList( in testStringsToLengthPrefixedBytes()
45 SSLCertificateSocketFactory.toLengthPrefixedList(); in testStringsToLengthPrefixedBytesEmptyArray()
54 SSLCertificateSocketFactory.toLengthPrefixedList(new byte[0]); in testStringsToLengthPrefixedBytesEmptyByteArray()
63 SSLCertificateSocketFactory.toLengthPrefixedList(new byte[256]); in testStringsToLengthPrefixedBytesOversizedInput()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java324 this.mNpnProtocols = toLengthPrefixedList(npnProtocols); in setNpnProtocols()
348 this.mAlpnProtocols = toLengthPrefixedList(protocols); in setAlpnProtocols()
357 public static byte[] toLengthPrefixedList(byte[]... items) { in toLengthPrefixedList() method in SSLCertificateSocketFactory