Searched refs:fieldId (Results 1 – 9 of 9) sorted by relevance
/base/telephony/sms_mms/frameworks/native/mms/include/ |
D | mms_header.h | 37 bool GetOctetValue(uint8_t fieldId, uint8_t &value) const; 38 bool SetOctetValue(uint8_t fieldId, uint8_t value); 39 bool GetLongValue(uint8_t fieldId, int64_t &value) const; 40 bool SetLongValue(uint8_t fieldId, int64_t value); 41 bool GetTextValue(uint8_t fieldId, std::string &value) const; 42 bool SetTextValue(uint8_t fieldId, std::string value); 43 bool GetEncodeStringValue(uint8_t fieldId, MmsEncodeString &value) const; 44 bool SetEncodeStringValue(uint8_t fieldId, uint32_t charset, const std::string &value); 45 bool AddHeaderAddressValue(uint8_t fieldId, MmsAddress &address); 46 bool GetHeaderAllAddressValue(uint8_t fieldId, std::vector<MmsAddress> &addressValue); [all …]
|
D | mms_header_categ.h | 31 MmsFieldValueType FindFieldDes(uint8_t fieldId); 32 MmsFieldOptType FindSendReqOptType(uint8_t fieldId); 33 MmsFieldOptType FindSendConfOptType(uint8_t fieldId); 34 bool CheckIsValueLen(uint8_t fieldId);
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_header.cpp | 239 bool MmsHeader::GetOctetValue(uint8_t fieldId, uint8_t &value) const in GetOctetValue() argument 242 auto it = octetValueMap_.find(fieldId); in GetOctetValue() 250 bool MmsHeader::SetOctetValue(uint8_t fieldId, uint8_t value) in SetOctetValue() argument 252 if (mmsHaderCateg_.FindFieldDes(fieldId) != MmsFieldValueType::MMS_FIELD_OCTET_TYPE) { in SetOctetValue() 253 TELEPHONY_LOGE("The fieldId[%{public}02X] is not belong to octet.", fieldId); in SetOctetValue() 256 if (CheckBooleanValue(fieldId, value)) { in SetOctetValue() 260 switch (fieldId) { in SetOctetValue() 357 TELEPHONY_LOGE("The fieldId[%{public}02X] value invalid.", fieldId); in SetOctetValue() 360 auto ret = octetValueMap_.emplace(fieldId, value); in SetOctetValue() 364 bool MmsHeader::GetLongValue(uint8_t fieldId, int64_t &value) const in GetLongValue() argument [all …]
|
D | mms_msg.cpp | 173 uint8_t MmsMsg::GetHeaderOctetValue(uint8_t fieldId) in GetHeaderOctetValue() argument 176 mmsHeader_.GetOctetValue(fieldId, value); in GetHeaderOctetValue() 180 bool MmsMsg::SetHeaderOctetValue(uint8_t fieldId, uint8_t value) in SetHeaderOctetValue() argument 182 return mmsHeader_.SetOctetValue(fieldId, value); in SetHeaderOctetValue() 185 int32_t MmsMsg::GetHeaderIntegerValue(uint8_t fieldId) in GetHeaderIntegerValue() argument 188 mmsHeader_.GetLongValue(fieldId, value); in GetHeaderIntegerValue() 192 bool MmsMsg::SetHeaderIntegerValue(uint8_t fieldId, int32_t value) in SetHeaderIntegerValue() argument 194 return mmsHeader_.SetLongValue(fieldId, static_cast<int64_t>(value)); in SetHeaderIntegerValue() 197 int64_t MmsMsg::GetHeaderLongValue(uint8_t fieldId) in GetHeaderLongValue() argument 200 mmsHeader_.GetLongValue(fieldId, value); in GetHeaderLongValue() [all …]
|
D | mms_header_categ.cpp | 145 bool MmsHeaderCateg::CheckIsValueLen(uint8_t fieldId) in CheckIsValueLen() argument 150 MmsFieldValueType MmsHeaderCateg::FindFieldDes(uint8_t fieldId) in FindFieldDes() argument 152 auto it = mmsFieldDesMap_.find(fieldId); in FindFieldDes() 159 MmsFieldOptType MmsHeaderCateg::FindSendReqOptType(uint8_t fieldId) in FindSendReqOptType() argument 161 auto it = mmsSendReqOptMap_.find(fieldId); in FindSendReqOptType() 168 MmsFieldOptType MmsHeaderCateg::FindSendConfOptType(uint8_t fieldId) in FindSendConfOptType() argument
|
/base/telephony/sms_mms/interfaces/innerkits/ |
D | mms_msg.h | 154 uint8_t GetHeaderOctetValue(uint8_t fieldId); 164 bool SetHeaderOctetValue(uint8_t fieldId, uint8_t value); 173 int32_t GetHeaderIntegerValue(uint8_t fieldId); 183 bool SetHeaderIntegerValue(uint8_t fieldId, int32_t value); 192 int64_t GetHeaderLongValue(uint8_t fieldId); 202 bool SetHeaderLongValue(uint8_t fieldId, int64_t value); 211 std::string GetHeaderStringValue(uint8_t fieldId); 221 bool SetHeaderStringValue(uint8_t fieldId, std::string &value); 232 bool SetHeaderEncodedStringValue(uint8_t fieldId, const std::string &value, uint32_t charset); 241 bool AddHeaderAddressValue(uint8_t fieldId, MmsAddress &address); [all …]
|
D | mms_codec_type.h | 440 unsigned char fieldId = 0; member 466 unsigned char fieldId = 0; member
|
/base/telephony/sms_mms/test/gtest/ |
D | mms_gtest.cpp | 526 uint8_t fieldId = 0; variable 527 mmsHeaderCateg.FindSendReqOptType(fieldId); 528 mmsHeaderCateg.FindSendConfOptType(fieldId); 529 bool ret = mmsHeaderCateg.CheckIsValueLen(fieldId);
|
/base/telephony/sms_mms/services/sms/ |
D | sms_wap_push_buffer.cpp | 618 uint64_t fieldId = 0; in DecodeTextValue() local 619 if (!DecodeInteger(fieldId)) { in DecodeTextValue()
|