Searched refs:MMS_MESSAGE_CLASS (Results 1 – 6 of 6) sorted by relevance
/base/telephony/sms_mms/interfaces/innerkits/ |
D | mms_codec_type.h | 36 MMS_MESSAGE_CLASS = 0x0A | 0x80, enumerator 490 { MMS_MESSAGE_CLASS, "Mms-Message-Class" },
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_header_categ.cpp | 62 mmsFieldDesMap_.emplace(MMS_MESSAGE_CLASS, MmsFieldValueType::MMS_FIELD_OCTET_TYPE); in InitFieldDesV10() 131 mmsSendReqOptMap_.emplace(MMS_MESSAGE_CLASS, MmsFieldOptType::MMS_OPTIONAL_TYPE); in InitSendReqMap()
|
D | mms_header.cpp | 49 memberFuncMap_[MMS_MESSAGE_CLASS] = &MmsHeader::DecodeFieldOctetValue; in InitOctetHandleFun() 349 case MMS_MESSAGE_CLASS: in SetOctetValue() 1234 if (GetOctetValue(MMS_MESSAGE_CLASS, valueOctet)) { in EcondeFieldMessageClassValue() 1235 return EncodeOctetValue(buff, MMS_MESSAGE_CLASS, valueOctet); in EcondeFieldMessageClassValue() 1239 if (GetTextValue(MMS_MESSAGE_CLASS, strValue)) { in EcondeFieldMessageClassValue() 1251 return EncodeOctetValue(buff, MMS_MESSAGE_CLASS, valueOctet); in EcondeFieldMessageClassValue() 1253 return EncodeTextStringValue(buff, MMS_MESSAGE_CLASS, strValue); in EcondeFieldMessageClassValue() 1313 EncodeTextStringValueFromMap(buff, MMS_MESSAGE_CLASS); in EncodeMmsSendReq()
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_mms_test.cpp | 152 … pair<uint8_t, MmsFieldValueType>(MMS_MESSAGE_CLASS, MmsFieldValueType::MMS_FIELD_OCTET_TYPE)); 165 EXPECT_FALSE(mmsHeader->SetOctetValue(MMS_MESSAGE_CLASS, MMS_MESSAGE_CLASS)); 167 EXPECT_FALSE(mmsHeader->SetLongValue(MMS_MESSAGE_CLASS, 0)); 218 mmsHeader->textValueMap_.insert(pair<uint8_t, std::string>(MMS_MESSAGE_CLASS, "personal")); 220 mmsHeader->textValueMap_.insert(pair<uint8_t, std::string>(MMS_MESSAGE_CLASS, "advertisement")); 222 mmsHeader->textValueMap_.insert(pair<uint8_t, std::string>(MMS_MESSAGE_CLASS, "informational")); 224 mmsHeader->textValueMap_.insert(pair<uint8_t, std::string>(MMS_MESSAGE_CLASS, "auto")); 226 mmsHeader->octetValueMap_.insert(pair<uint8_t, uint8_t>(MMS_MESSAGE_CLASS, 1));
|
/base/telephony/sms_mms/test/unittest/ |
D | mms_msg_test.cpp | 317 …if (!encodeMsg.SetHeaderOctetValue(MMS_MESSAGE_CLASS, static_cast<uint8_t>(MmsMessageClass::PERSON… in MmsNotificationIndEncodeTest() 698 std::string messageClass = std::to_string(decodeMsg.GetHeaderOctetValue(MMS_MESSAGE_CLASS)); in MmsSendReqDecodeTest()
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_mms.cpp | 167 asyncContext.messageClass = mmsMsg.GetHeaderOctetValue(MmsFieldCode::MMS_MESSAGE_CLASS); in GetMmsSendReq() 181 asyncContext.messageClass = mmsMsg.GetHeaderOctetValue(MmsFieldCode::MMS_MESSAGE_CLASS); in GetMmsNotificationInd() 1223 mmsMsg.SetHeaderOctetValue(MmsFieldCode::MMS_MESSAGE_CLASS, context.messageClass); in setSendReqToCore() 1250 mmsMsg.SetHeaderOctetValue(MmsFieldCode::MMS_MESSAGE_CLASS, context.messageClass); in setNotificationIndToCore()
|