Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp642 size_t headerLength = 4 * (data[2] << 8 | data[3]) + 4; in onRTCPData() local
644 if (size < headerLength) { in onRTCPData()
652 parseReceiverReport(data, headerLength); in onRTCPData()
660 parseAPP(data, headerLength); in onRTCPData()
664 parseTSFB(data, headerLength); in onRTCPData()
674 (unsigned)data[1], headerLength); in onRTCPData()
679 data += headerLength; in onRTCPData()
680 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/av/media/libstagefright/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp190 int32_t headerLength = kOutputBufferSize; in main() local
191 if (!PVGetVolHeader(&handle, outputBuf, &headerLength, 0)) { in main()
195 fwrite(outputBuf, 1, headerLength, fpOutput); in main()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java217 int headerLength = (int) pduDecoder.getValue32(); in decodeWapPdu() local
244 byte[] header = new byte[headerLength]; in decodeWapPdu()
252 int dataIndex = headerStartIndex + headerLength; in decodeWapPdu()
285 if (pduDecoder.seekXWapApplicationId(index, index + headerLength - 1)) { in decodeWapPdu()
/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/minikin/tests/unittest/
DCmapCoverageTest.cpp193 const size_t headerLength = sizeof(uint16_t) /* format */ + sizeof(uint32_t) /* length */ + in buildCmapFormat14Table() local
197 std::vector<uint8_t> out(headerLength); in buildCmapFormat14Table()
223 LOG_ALWAYS_FATAL_IF(head != headerLength); in buildCmapFormat14Table()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java237 byte headerLength = 3; in testWellKnownLongIntegerMimeTypeValues()
241 data[0] = headerLength; in testWellKnownLongIntegerMimeTypeValues()