Home
last modified time | relevance | path

Searched refs:SetContentType (Results 1 - 25 of 25) sorted by relevance

/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_basic_content.h110 inline void SetContentType(int32_t type) in SetContentType() function in OHOS::Notification::NotificationBasicContent
H A Dnotification_check_request.h52 void SetContentType(NotificationContent::Type contentType);
H A Dnotification_check_info.h44 void SetContentType(int32_t contentType);
H A Dnotification_content.h237 content_->SetContentType(static_cast<int32_t>(NotificationContent::Type::BASIC_TEXT)); in ResetToBasicContent()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_check_request.cpp30 void NotificationCheckRequest::SetContentType(NotificationContent::Type contentType) in SetContentType() function in OHOS::Notification::NotificationCheckRequest
H A Dnotification_check_info.cpp58 void NotificationCheckInfo::SetContentType(int32_t contentType) in SetContentType() function in OHOS::Notification::NotificationCheckInfo
H A Dnotification_content.cpp99 content_->SetContentType(static_cast<int32_t>(NotificationContent::Type::LOCAL_LIVE_VIEW)); in NotificationContent()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_check_info_test.cpp59 * @tc.desc: Test SetContentType.
66 checkInfo.SetContentType(1); in HWTEST_F()
H A Dnotification_check_request_test.cpp33 * @tc.desc: Test SetContentType.
40 checkRequest.SetContentType(NotificationContent::Type::BASIC_TEXT); in HWTEST_F()
/base/telephony/sms_mms/frameworks/native/mms/include/
H A Dmms_body_part.h41 bool SetContentType(std::string strContentType);
H A Dmms_content_type.h229 bool SetContentType(std::string str);
/base/telephony/sms_mms/interfaces/innerkits/
H A Dmms_attachment.h117 bool SetContentType(std::string strContentType);
/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_body_part.cpp269 if (!SetContentType(attachment.GetContentType())) { in SetAttachment()
270 TELEPHONY_LOGE("Mms BodyPart SetContentType is fail!"); in SetAttachment()
302 bool MmsBodyPart::SetContentType(std::string strContentType) in SetContentType() function in OHOS::Telephony::MmsBodyPart
304 return bodyPartContentType_.SetContentType(strContentType); in SetContentType()
H A Dmms_msg.cpp248 return mmsHeader_.GetHeaderContentType().SetContentType(strType); in SetHeaderContentType()
332 attachment.SetContentType(contentType); in GetAllAttachment()
H A Dmms_attachment.cpp140 bool MmsAttachment::SetContentType(std::string strContentType) in SetContentType() function in OHOS::Telephony::MmsAttachment
H A Dmms_content_type.cpp255 bool MmsContentType::SetContentType(std::string str) in SetContentType() function in OHOS::Telephony::MmsContentType
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_push.cpp206 checkRequest->SetContentType(outContentType); in ParseCheckRequest()
/base/telephony/sms_mms/services/sms/
H A Dsms_wap_push_content_type.cpp249 bool SmsWapPushContentType::SetContentType(std::string str) in SetContentType() function in OHOS::Telephony::SmsWapPushContentType
/base/telephony/sms_mms/test/gtest/
H A Dmms_gtest.cpp201 if (!imageAttachment.SetContentType(contenType)) { in MmsAddAttachment()
202 TELEPHONY_LOGE("MmsAddAttachment SetContentType fail"); in MmsAddAttachment()
568 retBool = attachment.SetContentType(""); in HWTEST_F()
589 attachment1.SetContentType("application/smil"); in HWTEST_F()
759 mmsContentType2.SetContentType("contentType"); in HWTEST_F()
H A Dzero_branch_mms_test.cpp980 part.SetContentType(strCt); in HWTEST_F()
/base/request/request/services/src/cxx/
H A Dnotification_bar.cpp150 localLiveViewContent->SetContentType( in RequestProgressNotification()
/base/telephony/sms_mms/services/sms/include/
H A Dsms_wap_push_content_type.h261 bool SetContentType(std::string str);
/base/telephony/sms_mms/test/unittest/
H A Dmms_msg_test.cpp684 if (!imageAttachment.SetContentType(contenType)) { in MmsAddAttachment()
685 std::cout << "MmsAddAttachment SetContentType fail" << std::endl; in MmsAddAttachment()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_test.cpp3031 notificationCheckRequest->SetContentType(NotificationContent::Type::BASIC_TEXT); in HWTEST_F()
3124 notificationCheckRequest->SetContentType(NotificationContent::Type::PICTURE); in HWTEST_F()
/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dnapi_mms.cpp1169 itAttachment.SetContentType(it->contentType); in SetAttachmentToCore()

Completed in 24 milliseconds