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/
DSSLTest.java57 assertTrue(Arrays.equals(expected, SSLCertificateSocketFactory.toLengthPrefixedList( in testStringsToLengthPrefixedBytes()
64 SSLCertificateSocketFactory.toLengthPrefixedList(); in testStringsToLengthPrefixedBytesEmptyArray()
72 SSLCertificateSocketFactory.toLengthPrefixedList(new byte[0]); in testStringsToLengthPrefixedBytesEmptyByteArray()
80 SSLCertificateSocketFactory.toLengthPrefixedList(new byte[256]); in testStringsToLengthPrefixedBytesOversizedInput()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java279 this.mNpnProtocols = toLengthPrefixedList(npnProtocols); in setNpnProtocols()
302 this.mAlpnProtocols = toLengthPrefixedList(protocols); in setAlpnProtocols()
309 static byte[] toLengthPrefixedList(byte[]... items) { in toLengthPrefixedList() method in SSLCertificateSocketFactory