Searched refs:mPacket (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 82 private final ByteBuffer mPacket; field in ConnectivityPacketSummary 115 mPacket = ByteBuffer.wrap(mBytes, 0, mLength); in ConnectivityPacketSummary() 116 mPacket.order(ByteOrder.BIG_ENDIAN); in ConnectivityPacketSummary() 129 if (mPacket.remaining() < ETHER_HEADER_LEN) { in parseEther() 130 sj.add("runt:").add(asString(mPacket.remaining())); in parseEther() 134 mPacket.position(ETHER_SRC_ADDR_OFFSET); in parseEther() 135 final ByteBuffer srcMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN); in parseEther() 139 mPacket.position(ETHER_DST_ADDR_OFFSET); in parseEther() 140 final ByteBuffer dstMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN); in parseEther() 143 mPacket.position(ETHER_TYPE_OFFSET); in parseEther() [all …]
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 192 private final byte[] mPacket = new byte[1514]; field in ApfFilter.ReceiveThread 220 int length = Os.read(mSocket, mPacket, 0, mPacket.length); in run() 221 updateStats(processRa(mPacket, length)); in run() 579 private final ByteBuffer mPacket; field in ApfFilter.Ra 603 return HexDump.toHexString(mPacket.array(), 0, mPacket.capacity(), in getLastMatchingPacket() 611 byte[] array = mPacket.array(); in IPv6AddresstoString() 633 int length = getUint8(mPacket, offset + 2); in prefixOptionToString() 634 long valid = getUint32(mPacket, offset + 4); in prefixOptionToString() 635 long preferred = getUint32(mPacket, offset + 8); in prefixOptionToString() 640 int optLen = getUint8(mPacket, offset + 1) * 8; in rdnssOptionToString() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/ |
D | TsParser.java | 103 protected final ByteArrayBuffer mPacket = new ByteArrayBuffer(TS_PACKET_SIZE); field in TsParser.Stream 107 mPacket.setLength(0); in feedData() 130 if (mPacket.length() == 0) { in handleData() 145 mPacket.setLength(0); in handleData() 148 mPacket.append(data, startPos, data.length - startPos); in handleData() 149 mSectionParser.parseSections(mPacket); in handleData()
|