Searched refs:DATA_BUFFER_LEN (Results 1 – 8 of 8) sorted by relevance
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | PacketUtils.java | 45 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()
|
D | TunUtils.java | 49 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/ |
D | PacketUtils.java | 44 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()
|
D | TunUtils.java | 49 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()
|
D | IpSecBaseTest.java | 84 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/ |
D | DadProxyTest.java | 60 private static final int DATA_BUFFER_LEN = 4096; field in DadProxyTest 66 DATA_BUFFER_LEN, false /* autoStart */); 69 DATA_BUFFER_LEN, false /* autoStart */);
|
D | RouterAdvertisementDaemonTest.java | 89 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/ |
D | IpClientIntegrationTestCommon.java | 215 private static final int DATA_BUFFER_LEN = 4096; field in IpClientIntegrationTestCommon 578 mPacketReader = new TapPacketReader(mHandler, mTapFd, DATA_BUFFER_LEN);
|