Home
last modified time | relevance | path

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

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_body_part.cpp111 uint32_t bodyLength = 0; in DecodePart() local
117 if (!decodeBuffer.DecodeUintvar(bodyLength, length)) { in DecodePart()
128 bodyLen_ = bodyLength; in DecodePart()
188 bool MmsBodyPart::DecodePartBody(MmsDecodeBuffer &decodeBuffer, uint32_t bodyLength) in DecodePartBody() argument
191 if (offset + bodyLength > decodeBuffer.GetSize() || bodyLength > MAX_MMS_MSG_PART_LEN) { in DecodePartBody()
196 std::unique_ptr<char[]> bodyPartBuffer = decodeBuffer.ReadDataBuffer(offset, bodyLength); in DecodePartBody()
209 std::string encodeString(bodyPartBuffer.get(), bodyLength); in DecodePartBody()
236 if (!decodeBuffer.IncreasePointer(bodyLength)) { in DecodePartBody()
/base/telephony/sms_mms/frameworks/native/mms/include/
Dmms_body_part.h34 bool DecodePartBody(MmsDecodeBuffer &decodeBuffer, uint32_t bodyLength);