Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/cts/src/android/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()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java44 private static final int DATA_BUFFER_LEN = 4096; field in PacketUtils
152 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in buildHeader()
214 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
260 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
296 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
311 ByteBuffer payloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()
428 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()
435 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.java84 protected static final int DATA_BUFFER_LEN = 4096; field in IpSecBaseTest
194 byte[] in = new byte[DATA_BUFFER_LEN]; in receive()
201 bytesRead.set(Os.recvfrom(mFd, in, 0, DATA_BUFFER_LEN, 0, null)); in receive()
310 DatagramPacket data = new DatagramPacket(new byte[DATA_BUFFER_LEN], DATA_BUFFER_LEN); in receive()
348 byte[] in = new byte[DATA_BUFFER_LEN]; in receive()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DDadProxyTest.java60 private static final int DATA_BUFFER_LEN = 4096; field in DadProxyTest
66 DATA_BUFFER_LEN, false /* autoStart */);
69 DATA_BUFFER_LEN, false /* autoStart */);
DRouterAdvertisementDaemonTest.java89 private static final int DATA_BUFFER_LEN = 4096; field in RouterAdvertisementDaemonTest
94 DATA_BUFFER_LEN, false /* autoStart */);
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java215 private static final int DATA_BUFFER_LEN = 4096; field in IpClientIntegrationTestCommon
578 mPacketReader = new TapPacketReader(mHandler, mTapFd, DATA_BUFFER_LEN);