Home
last modified time | relevance | path

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

/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.cpp194 int32_t headerLength = kOutputBufferSize; in main() local
195 if (!PVGetVolHeader(&handle, outputBuf, &headerLength, 0)) { in main()
203 fwrite(outputBuf, 1, headerLength, fpOutput); in main()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java254 int headerLength = (int) pduDecoder.getValue32(); in decodeWapPdu() local
281 byte[] header = new byte[headerLength]; in decodeWapPdu()
289 int dataIndex = headerStartIndex + headerLength; in decodeWapPdu()
322 if (pduDecoder.seekXWapApplicationId(index, index + headerLength - 1)) { in decodeWapPdu()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduComposer.java1018 int headerLength = attachment.getLength(); in makeMessageBody() local
1053 if (dataLength != (attachment.getLength() - headerLength)) { in makeMessageBody()
1058 appendUintvarInteger(headerLength); in makeMessageBody()
DPduParser.java847 int headerLength = parseUnsignedInt(pduDataStream); in parseParts() local
879 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
/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()
/frameworks/minikin/tests/unittest/
DCmapCoverageTest.cpp196 const size_t headerLength = sizeof(uint16_t) /* format */ + sizeof(uint32_t) /* length */ + in buildCmapFormat14Table() local
200 std::vector<uint8_t> out(headerLength); in buildCmapFormat14Table()
226 LOG_ALWAYS_FATAL_IF(head != headerLength); in buildCmapFormat14Table()