Home
last modified time | relevance | path

Searched refs:contentId (Results 1 – 14 of 14) sorted by relevance

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_attachment.cpp74 bool MmsAttachment::SetContentId(std::string contentId) in SetContentId() argument
76 if (contentId.empty()) { in SetContentId()
80 if (contentId.length() > 1 && contentId.at(0) == '<' && contentId.at(contentId.length() - 1)) { in SetContentId()
81 contentId_.assign(contentId); in SetContentId()
84 contentId = '<' + contentId + '>'; in SetContentId()
85 contentId_.assign(contentId); in SetContentId()
Dmms_body.cpp181 bool MmsBody::IsContentIdPartExist(std::string contentId) in IsContentIdPartExist() argument
186 if (contentId == strId) { in IsContentIdPartExist()
195 std::string contentId; in IsBodyPartExist() local
196 bodyPart.GetContentId(contentId); in IsBodyPartExist()
197 if (IsContentIdPartExist(contentId)) { in IsBodyPartExist()
Dmms_msg.cpp290 std::string contentId; in AddAttachment() local
292 bodyPart.GetContentId(contentId); in AddAttachment()
295 mmsHeader_.GetHeaderContentType().GetContentParam().SetStart(contentId); in AddAttachment()
315 std::string contentId = ""; in GetAllAttachment() local
316 part.GetPartHeader().GetContentId(contentId); in GetAllAttachment()
317 if (!contentId.empty()) { in GetAllAttachment()
318 attachment.SetContentId(contentId); in GetAllAttachment()
319 bool isSmil = (smilFileName == contentId) ? true : false; in GetAllAttachment()
Dmms_body_part.cpp314 bool MmsBodyPart::SetContentId(std::string contentId) in SetContentId() argument
316 return mmsBodyPartHeader_.SetContentId(contentId); in SetContentId()
319 bool MmsBodyPart::GetContentId(std::string &contentId) in GetContentId() argument
321 return mmsBodyPartHeader_.GetContentId(contentId); in GetContentId()
405 std::string contentId = ""; in DecodeSetFileName() local
406 GetPartHeader().GetContentId(contentId); in DecodeSetFileName()
407 if (contentId.length() > 0) { in DecodeSetFileName()
408 strFileName_ = contentId; in DecodeSetFileName()
Dmms_body_part_header.cpp302 bool MmsBodyPartHeader::GetContentId(std::string &contentId) in GetContentId() argument
304 contentId.clear(); in GetContentId()
305 contentId = strContentID_; in GetContentId()
309 bool MmsBodyPartHeader::SetContentId(std::string contentId) in SetContentId() argument
311 strContentID_ = contentId; in SetContentId()
/base/telephony/sms_mms/frameworks/native/mms/include/
Dmms_body_part.h43 bool SetContentId(std::string contentId);
44 bool GetContentId(std::string &contentId);
Dmms_body_part_header.h58 bool GetContentId(std::string &contentId);
63 bool SetContentId(std::string contentId);
Dmms_body.h43 bool IsContentIdPartExist(std::string contentId);
/base/telephony/sms_mms/test/unittest/
Dmms_msg_test.h51 …MmsMsg &msg, std::string pathName, std::string contentId, std::string contenType, bool isSmil) con…
Dmms_msg_test.cpp648 …MmsMsg &msg, std::string pathName, std::string contentId, std::string contenType, bool isSmil) con… in MmsAddAttachment() argument
662 if (!imageAttachment.SetContentId(contentId)) { in MmsAddAttachment()
/base/telephony/sms_mms/interfaces/innerkits/
Dmms_attachment.h53 bool SetContentId(std::string contentId);
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts1703 contentId: string; property
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_mms.h57 std::string contentId = ""; member
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms.cpp285 attachmentContext.contentId = it.GetContentId(); in getAttachmentByDecodeMms()
358 NapiUtil::SetPropertyStringUtf8(env, attachment, "contentId", context.contentId); in CreateAttachmentValue()
1046 attachmentContext.contentId = GetNapiStringValue(env, value, "contentId"); in BuildMmsAttachment()
1167 if (it->contentId.size() > 0) { in setAttachmentToCore()
1168 itAttachment.SetContentId(it->contentId); in setAttachmentToCore()