Home
last modified time | relevance | path

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

/frameworks/base/nfc/java/android/nfc/
DNdefRecord.java827 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/
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()