Home
last modified time | relevance | path

Searched refs:payloadLength (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/net/java/android/net/netlink/
DNetlinkMessage.java52 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse() local
53 payloadLength -= StructNlMsgHdr.STRUCT_SIZE; in parse()
54 if (payloadLength < 0 || payloadLength > byteBuffer.remaining()) { in parse()
65 byteBuffer.position(byteBuffer.position() + payloadLength); in parse()
76 byteBuffer.position(byteBuffer.position() + payloadLength); in parse()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java822 long payloadLength = sr ? (buffer.get() & 0xFF) : (buffer.getInt() & 0xFFFFFFFFL); in parse() local
836 ensureSanePayloadSize(payloadLength); in parse()
837 payload = (payloadLength > 0 ? new byte[(int)payloadLength] : EMPTY_BYTE_ARRAY); in parse()
851 payloadLength = 0; in parse()
853 payloadLength += p.length; in parse()
855 ensureSanePayloadSize(payloadLength); in parse()
856 payload = new byte[(int)payloadLength]; in parse()
1001 int payloadLength = in.readInt();
1002 byte[] payload = new byte[payloadLength];
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4AudioAssembler.cpp374 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()