Searched refs:payloadLength (Results 1 – 6 of 6) sorted by relevance
/frameworks/libs/net/common/device/com/android/net/module/util/structs/ |
D | Ipv6Header.java | 56 public int payloadLength; field in Ipv6Header 66 public Ipv6Header(final int vtf, final int payloadLength, final byte nextHeader, in Ipv6Header() argument 69 this.payloadLength = payloadLength; in Ipv6Header()
|
/frameworks/libs/net/common/device/com/android/net/module/util/netlink/ |
D | NetlinkMessage.java | 55 final int payloadLength = messageLength - StructNlMsgHdr.STRUCT_SIZE; in parse() local 56 if (payloadLength < 0 || payloadLength > byteBuffer.remaining()) { in parse() 65 return parseCtlMessage(nlmsghdr, byteBuffer, payloadLength); in parse() 113 @NonNull ByteBuffer byteBuffer, int payloadLength) { in parseCtlMessage() argument 120 byteBuffer.position(byteBuffer.position() + payloadLength); in parseCtlMessage()
|
D | StructNlAttr.java | 214 int payloadLength = 0; in StructNlAttr() local 215 for (StructNlAttr nla : nested) payloadLength += nla.getAlignedLength(); in StructNlAttr() 216 setValue(new byte[payloadLength]); in StructNlAttr()
|
D | ConntrackMessage.java | 204 final int payloadLength = ctaTupleOrig.getAlignedLength() + ctaTimeout.getAlignedLength(); in newIPv4TimeoutUpdateRequest() local 205 final byte[] bytes = new byte[STRUCT_SIZE + payloadLength]; in newIPv4TimeoutUpdateRequest()
|
/frameworks/base/core/java/android/nfc/ |
D | NdefRecord.java | 827 long payloadLength = sr ? (buffer.get() & 0xFF) : (buffer.getInt() & 0xFFFFFFFFL); in parse() local 841 ensureSanePayloadSize(payloadLength); in parse() 842 payload = (payloadLength > 0 ? new byte[(int)payloadLength] : EMPTY_BYTE_ARRAY); in parse() 859 payloadLength = 0; in parse() 861 payloadLength += p.length; in parse() 863 ensureSanePayloadSize(payloadLength); in parse() 864 payload = new byte[(int)payloadLength]; in parse() 1009 int payloadLength = in.readInt(); 1010 byte[] payload = new byte[payloadLength];
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AMPEG4AudioAssembler.cpp | 374 unsigned payloadLength = 0; in removeLATMFraming() local 390 payloadLength = muxSlotLengthBytes; in removeLATMFraming() 406 payloadLength = mFixedFrameLength; in removeLATMFraming() 412 CHECK_LE(payloadLength, buffer->size() - offset); in removeLATMFraming() 414 memcpy(out->data() + out->size(), &ptr[offset], payloadLength); in removeLATMFraming() 415 out->setRange(0, out->size() + payloadLength); in removeLATMFraming() 417 offset += payloadLength; in removeLATMFraming()
|