Home
last modified time | relevance | path

Searched refs:GetContentType (Results 1 – 22 of 22) sorted by relevance

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_body_part.cpp260 if (!SetContentType(attachment.GetContentType())) { in SetAttachment()
278 GetContentType().GetContentParam().SetFileName(strFileName_); in SetAttachment()
279 GetContentType().GetContentParam().SetCharSet(attachment.GetCharSet()); in SetAttachment()
298 bool MmsBodyPart::GetContentType(std::string &strContentType) in GetContentType() function in OHOS::Telephony::MmsBodyPart
300 return bodyPartContentType_.GetContentType(strContentType); in GetContentType()
379 GetContentType().GetContentParam().GetFileName(fileName); in DecodeSetFileName()
504 MmsContentType &MmsBodyPart::GetContentType() in GetContentType() function in OHOS::Telephony::MmsBodyPart
Dmms_msg.cpp253 mmsHeader_.GetHeaderContentType().GetContentType(contentType); in GetHeaderContentType()
292 bodyPart.GetContentType(contentType); in AddAttachment()
330 part.GetContentType().GetContentType(contentType); in GetAllAttachment()
332 attachment.SetCharSet(part.GetContentType().GetContentParam().GetCharSet()); in GetAllAttachment()
Dmms_body.cpp75 header.GetHeaderContentType().GetContentType(contentType); in DecodeMmsBody()
130 mmsHeader.GetHeaderContentType().GetContentType(strContentType); in EncodeMmsHeaderContentType()
Dmms_attachment.cpp145 std::string MmsAttachment::GetContentType() in GetContentType() function in OHOS::Telephony::MmsAttachment
Dmms_content_type.cpp253 bool MmsContentType::GetContentType(std::string &str) in GetContentType() function in OHOS::Telephony::MmsContentType
/base/telephony/sms_mms/frameworks/native/mms/include/
Dmms_body_part.h42 bool GetContentType(std::string &strContentType);
51 MmsContentType &GetContentType();
Dmms_content_type.h228 bool GetContentType(std::string &str);
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_publish.cpp54 asynccallbackinfo->request.GetContent()->GetContentType()); in NapiPublish()
128 asynccallbackinfo->request.GetContent()->GetContentType()); in NapiShowNotification()
194 asynccallbackinfo->request.GetContent()->GetContentType()); in NapiPublishAsBundle()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_content.h136 NotificationContent::Type GetContentType() const;
/base/telephony/sms_mms/interfaces/innerkits/
Dmms_attachment.h124 std::string GetContentType();
/base/notification/distributed_notification_service/test/fuzztest/notificationcontent_fuzzer/
Dnotificationcontent_fuzzer.cpp45 notificationContent.GetContentType(); in DoSomethingInterestingWithMyAPI()
/base/telephony/sms_mms/services/
Dsms_wap_push_handler.cpp54 if (contentType_.GetContentType() == std::string(CONTENT_MIME_TYPE_B_PUSH_CO)) { in DecodeWapPushPduData()
316 want.SetParam("contentType", contentType_.GetContentType()); in SendWapPushMessageBroadcast()
Dsms_wap_push_content_type.cpp245 std::string SmsWapPushContentType::GetContentType() in GetContentType() function in OHOS::Telephony::SmsWapPushContentType
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dpublish.cpp128 asynccallbackinfo->request.GetContent()->GetContentType()); in Publish()
336 asynccallbackinfo->request.GetContent()->GetContentType()); in ShowNotification()
462 asynccallbackinfo->request.GetContent()->GetContentType()); in PublishAsBundle()
Dcommon.cpp920 NotificationContent::Type type = content->GetContentType(); in SetNotificationContent()
/base/telephony/sms_mms/services/include/
Dsms_wap_push_content_type.h260 std::string GetContentType();
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_content.cpp90 NotificationContent::Type NotificationContent::GetContentType() const in GetContentType() function in OHOS::Notification::NotificationContent
Dnotification_request.cpp332 notificationContentType_ = notificationContent_->GetContentType(); in SetContent()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp161 EXPECT_EQ(NotificationContent::Type::MEDIA, notificationContent->GetContentType()); in CheckCaseOneResult()
254 … EXPECT_EQ(NotificationContent::Type::CONVERSATION, notificationContent->GetContentType()); in CheckCaseFourResult()
280 EXPECT_EQ(NotificationContent::Type::MULTILINE, notificationContent->GetContentType()); in CheckCaseFiveResult()
298 EXPECT_EQ(NotificationContent::Type::PICTURE, notificationContent->GetContentType()); in CheckCaseSixResult()
314 EXPECT_EQ(NotificationContent::Type::LONG_TEXT, notificationContent->GetContentType()); in CheckCaseSevenResult()
/base/telephony/sms_mms/test/gtest/
Dsms_mms_gtest.cpp2052 retStr = attachment1.GetContentType();
2195 mmsContentType2.GetContentType(testStr);
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms.cpp279 attachmentContext.contentType = it.GetContentType(); in getAttachmentByDecodeMms()
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp201 if (content != nullptr && content->GetContentType() == NotificationContent::Type::PICTURE) { in CheckPictureSize()