Searched refs:contentId (Results 1 – 14 of 14) sorted by relevance
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_attachment.cpp | 74 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()
|
D | mms_body.cpp | 181 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()
|
D | mms_msg.cpp | 290 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()
|
D | mms_body_part.cpp | 314 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()
|
D | mms_body_part_header.cpp | 302 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/ |
D | mms_body_part.h | 43 bool SetContentId(std::string contentId); 44 bool GetContentId(std::string &contentId);
|
D | mms_body_part_header.h | 58 bool GetContentId(std::string &contentId); 63 bool SetContentId(std::string contentId);
|
D | mms_body.h | 43 bool IsContentIdPartExist(std::string contentId);
|
/base/telephony/sms_mms/test/unittest/ |
D | mms_msg_test.h | 51 …MmsMsg &msg, std::string pathName, std::string contentId, std::string contenType, bool isSmil) con…
|
D | mms_msg_test.cpp | 648 …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/ |
D | mms_attachment.h | 53 bool SetContentId(std::string contentId);
|
/base/telephony/sms_mms/interfaces/kits/js/ |
D | @ohos.telephony.sms.d.ts | 1703 contentId: string; property
|
/base/telephony/sms_mms/frameworks/js/napi/include/ |
D | napi_mms.h | 57 std::string contentId = ""; member
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_mms.cpp | 285 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()
|