/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 | LegacyApfFilter.java | 142 private final byte[] mPacket = new byte[1514]; field in LegacyApfFilter.ReceiveThread 170 int length = Os.read(mSocket, mPacket, 0, mPacket.length); in run() 171 updateStats(processRa(mPacket, length)); in run() 602 private final ByteBuffer mPacket; field in LegacyApfFilter.Ra 634 return HexDump.toHexString(mPacket.array(), 0, mPacket.capacity(), in getLastMatchingPacket() 642 byte[] array = mPacket.array(); in IPv6AddresstoString() 664 int length = getUint8(mPacket, offset + 2); in prefixOptionToString() 665 long valid = getUint32(mPacket, offset + 4); in prefixOptionToString() 666 long preferred = getUint32(mPacket, offset + 8); in prefixOptionToString() 671 int optLen = getUint8(mPacket, offset + 1) * 8; in rdnssOptionToString() [all …]
|
D | ApfFilter.java | 209 private final byte[] mPacket = new byte[1514]; field in ApfFilter.ReceiveThread 229 int length = Os.read(mSocket, mPacket, 0, mPacket.length); in run() 230 processRa(mPacket, length); in run() 708 private final ByteBuffer mPacket; field in ApfFilter.Ra 737 return HexDump.toHexString(mPacket.array(), 0, mPacket.capacity(), in getLastMatchingPacket() 745 byte[] array = mPacket.array(); in IPv6AddresstoString() 767 int length = getUint8(mPacket, offset + 2); in prefixOptionToString() 768 long valid = getUint32(mPacket, offset + 4); in prefixOptionToString() 769 long preferred = getUint32(mPacket, offset + 8); in prefixOptionToString() 774 int optLen = getUint8(mPacket, offset + 1) * 8; in rdnssOptionToString() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | KeepalivePacketData.java | 55 private final byte[] mPacket; field in KeepalivePacketData 73 this.mPacket = data; in KeepalivePacketData() 116 return mPacket.clone(); in getPacket() 125 + ", packet.length=" + mPacket.length in toString()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | KeepaliveTracker.java | 167 private final KeepalivePacketData mPacket; field in KeepaliveTracker.KeepaliveInfo 204 mPacket = packet; in KeepaliveInfo() 261 + IpUtils.addressAndPortToString(mPacket.getSrcAddress(), mPacket.getSrcPort()) in toString() 263 + IpUtils.addressAndPortToString(mPacket.getDstAddress(), mPacket.getDstPort()) in toString() 266 + " packetData=" + HexDump.toHexString(mPacket.getPacket()) in toString() 305 if (address.equals(mPacket.getSrcAddress())) { in checkSourceAddress() 310 if (mPacket.getSrcAddress().equals(mNai.getClatv6SrcAddress())) { in checkSourceAddress() 402 final NattKeepalivePacketData nattData = (NattKeepalivePacketData) mPacket; in start() 413 final TcpKeepalivePacketData tcpData = (TcpKeepalivePacketData) mPacket; in start() 492 return new KeepaliveInfo(mCallback, mNai, mPacket, mPid, mUid, mInterval, mType, in withFd() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsAnnouncer.java | 50 private final MdnsPacket mPacket; field in MdnsAnnouncer.BaseAnnouncementInfo 56 mPacket = new MdnsPacket(flags, in BaseAnnouncementInfo() 69 return mPacket; in getPacket()
|
D | MdnsProber.java | 52 private final MdnsPacket mPacket; field in MdnsProber.ProbingInfo 61 mPacket = makePacket(probeRecords); in ProbingInfo() 71 return mPacket; in getPacket()
|
/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()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | LegacyApfTest.java | 1213 final ByteArrayOutputStream mPacket = new ByteArrayOutputStream(); field in LegacyApfTest.RaPacketBuilder 1243 mPacket.write(buffer.array(), 0, buffer.capacity()); in RaPacketBuilder() 1275 mPacket.write(buffer.array(), 0, buffer.capacity()); in addPioOption() 1302 mPacket.write(buffer.array(), 0, buffer.capacity()); in addRioOption() 1332 mPacket.write(buffer.array(), 0, buffer.capacity()); in addDnsslOption() 1348 mPacket.write(buffer.array(), 0, buffer.capacity()); in addRdnssOption() 1357 mPacket.write(buffer.array(), 0, buffer.capacity()); in addZeroLengthOption() 1362 ByteBuffer buffer = ByteBuffer.wrap(mPacket.toByteArray()); in build()
|
D | ApfTest.java | 2283 final ByteArrayOutputStream mPacket = new ByteArrayOutputStream(); field in ApfTest.RaPacketBuilder 2313 mPacket.write(buffer.array(), 0, buffer.capacity()); in RaPacketBuilder() 2345 mPacket.write(buffer.array(), 0, buffer.capacity()); in addPioOption() 2372 mPacket.write(buffer.array(), 0, buffer.capacity()); in addRioOption() 2402 mPacket.write(buffer.array(), 0, buffer.capacity()); in addDnsslOption() 2418 mPacket.write(buffer.array(), 0, buffer.capacity()); in addRdnssOption() 2427 mPacket.write(buffer.array(), 0, buffer.capacity()); in addZeroLengthOption() 2432 ByteBuffer buffer = ByteBuffer.wrap(mPacket.toByteArray()); in build()
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 425 Landroid/net/KeepalivePacketData;->mPacket:[B
|