Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java71 void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) throws Exception; in addPacketBytes() argument
105 ByteBuffer resultBuffer = buildHeader(); in getPacketBytes() local
106 payload.addPacketBytes(this, resultBuffer); in getPacketBytes()
108 return getByteArrayFromBuffer(resultBuffer); in getPacketBytes()
226 public void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) { in addPacketBytes() argument
227 resultBuffer.put(payload); in addPacketBytes()
262 public void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) throws Exception { in addPacketBytes() argument
264 resultBuffer.putShort(srcPort); in addPacketBytes()
265 resultBuffer.putShort(dstPort); in addPacketBytes()
268 resultBuffer.putShort(length()); in addPacketBytes()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java111 void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) throws Exception; in addPacketBytes() argument
145 ByteBuffer resultBuffer = buildHeader(); in getPacketBytes() local
146 payload.addPacketBytes(this, resultBuffer); in getPacketBytes()
148 return getByteArrayFromBuffer(resultBuffer); in getPacketBytes()
266 public void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) { in addPacketBytes() argument
267 resultBuffer.put(payload); in addPacketBytes()
302 public void addPacketBytes(IpHeader header, ByteBuffer resultBuffer) throws Exception { in addPacketBytes() argument
304 resultBuffer.putShort(srcPort); in addPacketBytes()
305 resultBuffer.putShort(dstPort); in addPacketBytes()
308 resultBuffer.putShort(length()); in addPacketBytes()
[all …]