Home
last modified time | relevance | path

Searched refs:DATA_BUFFER_LEN (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DPacketUtils.java45 private static final int DATA_BUFFER_LEN = 4096; field in PacketUtils
112 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in buildHeader()
174 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
220 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
256 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
271 ByteBuffer payloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()
349 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
356 ByteBuffer espPayloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()
DTunUtils.java49 private static final int DATA_BUFFER_LEN = 4096; field in TunUtils
99 byte[] inBytes = new byte[DATA_BUFFER_LEN]; in receiveFromTun()
104 } else if (bytesRead >= DATA_BUFFER_LEN) { in receiveFromTun()
/cts/tests/tests/net/src/android/net/cts/
DPacketUtils.java39 private static final int DATA_BUFFER_LEN = 4096; field in PacketUtils
106 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in buildHeader()
168 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
214 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
250 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
265 ByteBuffer payloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()
343 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
350 ByteBuffer espPayloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()
DTunUtils.java49 private static final int DATA_BUFFER_LEN = 4096; field in TunUtils
91 byte[] inBytes = new byte[DATA_BUFFER_LEN]; in receiveFromTun()
96 } else if (bytesRead >= DATA_BUFFER_LEN) { in receiveFromTun()
DIpSecBaseTest.java63 protected static final int DATA_BUFFER_LEN = 4096; field in IpSecBaseTest
145 byte[] in = new byte[DATA_BUFFER_LEN]; in receive()
152 bytesRead.set(Os.recvfrom(mFd, in, 0, DATA_BUFFER_LEN, 0, null)); in receive()
255 DatagramPacket data = new DatagramPacket(new byte[DATA_BUFFER_LEN], DATA_BUFFER_LEN); in receive()
293 byte[] in = new byte[DATA_BUFFER_LEN]; in receive()