Home
last modified time | relevance | path

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

/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java203 ByteBuffer emptyByteBuffer = ByteBuffer.allocate(0); in handshakeCompleted() local
204 int inputPositionBefore = emptyByteBuffer.position(); in handshakeCompleted()
206 SSLEngineResult wrapResult = engine.wrap(emptyByteBuffer, output); in handshakeCompleted()
209 assertEquals(inputPositionBefore, emptyByteBuffer.position()); in handshakeCompleted()
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java420 ByteBuffer emptyByteBuffer = ByteBuffer.wrap(emptyByteArray); in testDecoder_decodeByteBuffer() local
421 ByteBuffer emptyDecodedBuffer = decoder.decode(emptyByteBuffer); in testDecoder_decodeByteBuffer()
422 assertEquals(emptyByteBuffer, emptyDecodedBuffer); in testDecoder_decodeByteBuffer()
673 ByteBuffer emptyByteBuffer = ByteBuffer.wrap(emptyByteArray); in testEncoder_encodeByteBuffer() local
674 ByteBuffer emptyEncodedBuffer = encoder.encode(emptyByteBuffer); in testEncoder_encodeByteBuffer()
675 assertEquals(emptyByteBuffer, emptyEncodedBuffer); in testEncoder_encodeByteBuffer()