Home
last modified time | relevance | path

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

/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLServerSocketImplTest.java46 private static final int MESSAGE_SIZE = 4096; field in OpenSSLServerSocketImplTest
93 server = new TestServer(socketType.newServerSocket(CIPHER), MESSAGE_SIZE); in setup()
116 byte[] request = newTextMessage(MESSAGE_SIZE); in pingPong()
117 byte[] responseBuffer = new byte[MESSAGE_SIZE]; in pingPong()
DConscryptEngineTest.java59 private static final int MESSAGE_SIZE = 4096; field in ConscryptEngineTest
236 ByteBuffer message = newMessage(MESSAGE_SIZE); in exchangeMessages()
251 assertEquals(MESSAGE_SIZE * numMessages, actualBytes.length); in exchangeMessages()
253 int offset = i * MESSAGE_SIZE; in exchangeMessages()
255 Arrays.copyOfRange(actualBytes, offset, offset + MESSAGE_SIZE); in exchangeMessages()
354 exchangeMessage(newMessage(MESSAGE_SIZE), clientEngine, serverEngine); in serverInitiatedRenegotiationShouldSucceed()
361 exchangeMessage(newMessage(MESSAGE_SIZE), serverEngine, clientEngine); in serverInitiatedRenegotiationShouldSucceed()