Home
last modified time | relevance | path

Searched refs:EmptyArray (Results 1 – 25 of 34) sorted by relevance

12

/external/conscrypt/common/src/main/java/org/conscrypt/
DEmptyArray.java21 final class EmptyArray { class
22 private EmptyArray() {} in EmptyArray() method in EmptyArray
DKeyManagerFactoryImpl.java58 pwd = EmptyArray.CHAR; in engineInit()
75 pwd = EmptyArray.CHAR; in engineInit()
DSSLNullSession.java70 return EmptyArray.BYTE; in getPeerSignedCertificateTimestamp()
90 return EmptyArray.BYTE; in getId()
DOpenSSLSocketImpl.java135 setApplicationProtocols(alpnProtocols == null ? EmptyArray.STRING : alpnProtocols); in setAlpnProtocols()
153 …setApplicationProtocols(SSLUtils.decodeProtocols(protocols == null ? EmptyArray.BYTE : protocols)); in setAlpnProtocols()
DSSLUtils.java397 return EmptyArray.STRING; in decodeProtocols()
441 return EmptyArray.BYTE; in encodeProtocols()
DActiveSession.java61 return id != null ? id.clone() : EmptyArray.BYTE; in getId()
DOpenSSLCipherRSA.java273 return EmptyArray.BYTE; in engineUpdate()
278 return EmptyArray.BYTE; in engineUpdate()
DNativeSsl.java159 identityBytes = EmptyArray.BYTE; in clientPSKKeyRequested()
161 identityBytes = EmptyArray.BYTE; in clientPSKKeyRequested()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DEmptyArray.java22 final class EmptyArray { class
23 private EmptyArray() {} in EmptyArray() method in EmptyArray
DKeyManagerFactoryImpl.java60 pwd = EmptyArray.CHAR; in engineInit()
77 pwd = EmptyArray.CHAR; in engineInit()
DSSLNullSession.java71 return EmptyArray.BYTE; in getPeerSignedCertificateTimestamp()
91 return EmptyArray.BYTE; in getId()
DOpenSSLSocketImpl.java158 setApplicationProtocols(alpnProtocols == null ? EmptyArray.STRING : alpnProtocols); in setAlpnProtocols()
181 …setApplicationProtocols(SSLUtils.decodeProtocols(protocols == null ? EmptyArray.BYTE : protocols)); in setAlpnProtocols()
DSSLUtils.java398 return EmptyArray.STRING; in decodeProtocols()
442 return EmptyArray.BYTE; in encodeProtocols()
DActiveSession.java62 return id != null ? id.clone() : EmptyArray.BYTE; in getId()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs52 private static readonly T[] EmptyArray = new T[0]; field in Google.Protobuf.Collections.RepeatedField
55 private T[] array = EmptyArray;
72 if (array != EmptyArray) in Clone()
243 array = EmptyArray; in Clear()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DSSLUtilsTest.java40 byte[] actual = SSLUtils.encodeProtocols(EmptyArray.STRING); in noProtocolsShouldSucceed()
78 assertArrayEquals(EmptyArray.STRING, SSLUtils.decodeProtocols(EmptyArray.BYTE)); in decodeEmptyProtocolsShouldSucceed()
DApplicationProtocolSelectorAdapterTest.java58 assertEquals(-1, select(EmptyArray.BYTE)); in emptyProtocolsShouldNotSelect()
DMockSessionBuilder.java35 private byte[] encodedBytes = EmptyArray.BYTE;
DPlatformTest.java165 return EmptyArray.STRING; in getApplicationProtocols()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DSSLUtilsTest.java44 byte[] actual = SSLUtils.encodeProtocols(EmptyArray.STRING); in noProtocolsShouldSucceed()
82 assertArrayEquals(EmptyArray.STRING, SSLUtils.decodeProtocols(EmptyArray.BYTE)); in decodeEmptyProtocolsShouldSucceed()
DApplicationProtocolSelectorAdapterTest.java62 assertEquals(-1, select(EmptyArray.BYTE)); in emptyProtocolsShouldNotSelect()
DMockSessionBuilder.java36 private byte[] encodedBytes = EmptyArray.BYTE;
DPlatformTest.java167 return EmptyArray.STRING; in getApplicationProtocols()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DJava9PlatformUtil.java83 return EmptyArray.STRING; in getApplicationProtocols()
/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
DJava9PlatformUtil.java84 return EmptyArray.STRING; in getApplicationProtocols()

12