Searched refs:MESSAGE_SIZE (Results 1 – 2 of 2) sorted by relevance
46 private static final int MESSAGE_SIZE = 4096; field in OpenSSLServerSocketImplTest93 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()
59 private static final int MESSAGE_SIZE = 4096; field in ConscryptEngineTest236 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()