Home
last modified time | relevance | path

Searched refs:headerLength (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp644 size_t headerLength = 4 * (data[2] << 8 | data[3]) + 4; in onRTCPData() local
646 if (size < headerLength) { in onRTCPData()
654 parseReceiverReport(data, headerLength); in onRTCPData()
662 parseAPP(data, headerLength); in onRTCPData()
666 parseTSFB(data, headerLength); in onRTCPData()
676 (unsigned)data[1], headerLength); in onRTCPData()
681 data += headerLength; in onRTCPData()
682 size -= headerLength; in onRTCPData()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp534 size_t headerLength = 4 * (data[2] << 8 | data[3]) + 4; in parseRTCP() local
536 if (size < headerLength) { in parseRTCP()
544 parseSR(s, data, headerLength); in parseRTCP()
560 parseBYE(s, data, headerLength); in parseRTCP()
567 (unsigned)data[1], headerLength); in parseRTCP()
572 data += headerLength; in parseRTCP()
573 size -= headerLength; in parseRTCP()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java159 int headerLength = (int) pduDecoder.getValue32(); in dispatchWapPdu() local
185 byte[] header = new byte[headerLength]; in dispatchWapPdu()
193 int dataIndex = headerStartIndex + headerLength; in dispatchWapPdu()
214 if (pduDecoder.seekXWapApplicationId(index, index + headerLength - 1)) { in dispatchWapPdu()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduComposer.java979 int headerLength = attachment.getLength(); in makeMessageBody() local
1014 if (dataLength != (attachment.getLength() - headerLength)) { in makeMessageBody()
1019 appendUintvarInteger(headerLength); in makeMessageBody()
DPduParser.java844 int headerLength = parseUnsignedInt(pduDataStream); in parseParts() local
876 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp926 size_t headerLength = 0x05 + numStuffingBytes; in packetize() local
928 headerLength += 1 + PES_private_data_len; in packetize()
931 *ptr++ = headerLength; in packetize()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java2077 int headerLength = 0; in dispatchWapPdu() local
2097 headerLength = (int) pduDecoder.getValue32(); in dispatchWapPdu()
2123 byte[] header = new byte[headerLength]; in dispatchWapPdu()
2131 int dataIndex = headerStartIndex + headerLength; in dispatchWapPdu()
2142 if (pduDecoder.seekXWapApplicationId(index, index + headerLength - 1)) { in dispatchWapPdu()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java237 byte headerLength = 3; in testWellKnownLongIntegerMimeTypeValues()
241 data[0] = headerLength; in testWellKnownLongIntegerMimeTypeValues()