Home
last modified time | relevance | path

Searched refs:strContentType (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_body.cpp129 std::string strContentType = ""; in EncodeMmsHeaderContentType() local
130 mmsHeader.GetHeaderContentType().GetContentType(strContentType); in EncodeMmsHeaderContentType()
131 if (!strContentType.length()) { in EncodeMmsHeaderContentType()
136 if (!encodeBuffer.EncodeText(strContentType)) { in EncodeMmsHeaderContentType()
144 if (!tmpEncodeBuffer.EncodeText(strContentType)) { in EncodeMmsHeaderContentType()
H A Dmms_attachment.cpp140 bool MmsAttachment::SetContentType(std::string strContentType) in SetContentType() argument
142 if (strContentType.empty()) { in SetContentType()
146 contentType_.assign(strContentType); in SetContentType()
H A Dmms_body_part.cpp302 bool MmsBodyPart::SetContentType(std::string strContentType) in SetContentType() argument
304 return bodyPartContentType_.SetContentType(strContentType); in SetContentType()
307 bool MmsBodyPart::GetContentType(std::string &strContentType) in GetContentType() argument
309 return bodyPartContentType_.GetContentType(strContentType); in GetContentType()
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/include/
H A Dmms_body_part.h41 bool SetContentType(std::string strContentType);
42 bool GetContentType(std::string &strContentType);
/ohos5.0/base/telephony/sms_mms/interfaces/innerkits/
H A Dmms_attachment.h117 bool SetContentType(std::string strContentType);
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_content.cpp336 const std::string &strContentType, NotificationContent::Type &contentType) in GetContentTypeByString() argument
349 auto iterContentType = convertStrToContentType_.find(strContentType); in GetContentTypeByString()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_content.h232 …static bool GetContentTypeByString(const std::string &strContentType, NotificationContent::Type &c…