Searched refs:emptyByteBuffer (Results 1 – 2 of 2) sorted by relevance
203 ByteBuffer emptyByteBuffer = ByteBuffer.allocate(0); in handshakeCompleted() local204 int inputPositionBefore = emptyByteBuffer.position(); in handshakeCompleted()206 SSLEngineResult wrapResult = engine.wrap(emptyByteBuffer, output); in handshakeCompleted()209 assertEquals(inputPositionBefore, emptyByteBuffer.position()); in handshakeCompleted()
420 ByteBuffer emptyByteBuffer = ByteBuffer.wrap(emptyByteArray); in testDecoder_decodeByteBuffer() local421 ByteBuffer emptyDecodedBuffer = decoder.decode(emptyByteBuffer); in testDecoder_decodeByteBuffer()422 assertEquals(emptyByteBuffer, emptyDecodedBuffer); in testDecoder_decodeByteBuffer()673 ByteBuffer emptyByteBuffer = ByteBuffer.wrap(emptyByteArray); in testEncoder_encodeByteBuffer() local674 ByteBuffer emptyEncodedBuffer = encoder.encode(emptyByteBuffer); in testEncoder_encodeByteBuffer()675 assertEquals(emptyByteBuffer, emptyEncodedBuffer); in testEncoder_encodeByteBuffer()