Home
last modified time | relevance | path

Searched refs:MAX_MMS_MSG_PART_LEN (Results 1 – 3 of 3) sorted by relevance

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_body_part.cpp26 static constexpr uint32_t MAX_MMS_MSG_PART_LEN = 300 * 1024; variable
67 if (srcBodyPart.bodyLen_ > MAX_MMS_MSG_PART_LEN) { in operator =()
191 if (offset + bodyLength > decodeBuffer.GetSize() || bodyLength > MAX_MMS_MSG_PART_LEN) { in DecodePartBody()
219 if (tempLen > MAX_MMS_MSG_PART_LEN) { in DecodePartBody()
459 if (fileLen <= 0 || fileLen > static_cast<long>(MAX_MMS_MSG_PART_LEN)) { in WriteBodyFromFile()
495 if (dataLen == 0 || dataLen > MAX_MMS_MSG_PART_LEN) { in WriteBodyFromAttachmentBuffer()
540 if (bodyLen_ > MAX_MMS_MSG_PART_LEN) { in ReadBodyPartBuffer()
/base/telephony/sms_mms/test/gtest/
Dzero_branch_mms_test.cpp56 static constexpr uint32_t MAX_MMS_MSG_PART_LEN = 300 * 1024; variable
647 decoderBuffer.totolLength_ = MAX_MMS_MSG_PART_LEN + offset;
649 ASSERT_FALSE(mmsBodyPart.DecodePartBody(decoderBuffer, MAX_MMS_MSG_PART_LEN + offset));
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms.cpp31 static const uint32_t MAX_MMS_MSG_PART_LEN = 300 * 1024; variable
632 if (arrayLength > MAX_MMS_MSG_PART_LEN) { in ParseDecodeMmsParam()
1057 if (arrayLength > MAX_MMS_MSG_PART_LEN) { in BuildMmsAttachment()