Home
last modified time | relevance | path

Searched refs:fieldCode (Results 1 – 4 of 4) sorted by relevance

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_content_param.cpp72 uint8_t fieldCode = static_cast<uint8_t>(ContentParam::CT_P_NAME); in GetFileName() local
73 if (textMap_.find(fieldCode) != textMap_.end()) { in GetFileName()
74 fileName = textMap_[fieldCode]; in GetFileName()
83 uint8_t fieldCode = static_cast<uint8_t>(ContentParam::CT_P_NAME); in SetFileName() local
84 textMap_.insert(std::make_pair(fieldCode, fileName)); in SetFileName()
90 uint8_t fieldCode = static_cast<uint8_t>(ContentParam::CT_P_START); in GetStart() local
91 if (textMap_.find(fieldCode) != textMap_.end()) { in GetStart()
92 start = textMap_[fieldCode]; in GetStart()
101 uint8_t fieldCode = static_cast<uint8_t>(ContentParam::CT_P_START); in SetStart() local
102 textMap_.insert(std::make_pair(fieldCode, start)); in SetStart()
Dmms_msg.cpp261 uint8_t fieldCode = static_cast<uint8_t>(ContentParam::CT_P_START); in GetHeaderContentTypeStart() local
262 mmsHeader_.GetHeaderContentType().GetContentParam().GetNormalField(fieldCode, start); in GetHeaderContentTypeStart()
264 fieldCode = static_cast<uint8_t>(ContentParam::CT_P_START_VALUE); in GetHeaderContentTypeStart()
265 mmsHeader_.GetHeaderContentType().GetContentParam().GetNormalField(fieldCode, start); in GetHeaderContentTypeStart()
Dmms_body_part_header.cpp217 uint8_t fieldCode = 0xff; in DecodeWellKnownHeader() local
225 fieldCode = oneByte & 0x7f; in DecodeWellKnownHeader()
226 switch (static_cast<MmsHeaderParam>(fieldCode)) { in DecodeWellKnownHeader()
Dmms_header.cpp162 uint8_t fieldCode = 0xff; in DecodeMmsHeader() local
166 fieldCode = (oneByte | setHighestBitOne); in DecodeMmsHeader()
167 auto decodeFunc = memberFuncMap_.find(fieldCode); in DecodeMmsHeader()
170 if (fun != nullptr && !(this->*fun)(fieldCode, decodeBuffer, len)) { in DecodeMmsHeader()
171 TELEPHONY_LOGE("The fieldId[%{public}d] decode header fail.", fieldCode); in DecodeMmsHeader()
174 if (fieldCode == MMS_CONTENT_TYPE) { in DecodeMmsHeader()
178 TELEPHONY_LOGI("DecodeMmsMsgUnKnownField:%{public}02X", fieldCode); in DecodeMmsHeader()