Searched refs:resultBuffer (Results 1 – 3 of 3) sorted by relevance
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | PacketUtils.java | 71 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/ |
D | PacketUtils.java | 111 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 …]
|
/packages/modules/StatsD/framework/java/android/app/ |
D | StatsManager.java | 979 ByteBuffer resultBuffer = ByteBuffer.allocate(expectedReportSize); in getDataWithFd() local 988 resultBuffer.put(chunk, 0, chunkLen); in getDataWithFd() 998 return resultBuffer.array(); in getDataWithFd()
|