Home
last modified time | relevance | path

Searched refs:cbMsg (Results 1 – 5 of 5) sorted by relevance

/base/telephony/sms_mms/services/cdma/
Dcdma_sms_message.cpp192 if (transMsg_->data.cbMsg.telesvcMsg.data.deliver.cmasData.isWrongRecodeType) { in PduAnalysis()
196 … SmsEncodingType encodeType = transMsg_->data.cbMsg.telesvcMsg.data.deliver.cmasData.encodeType; in PduAnalysis()
207 AnalysisCbMsg(transMsg_->data.cbMsg); in PduAnalysis()
403 void CdmaSmsMessage::AnalysisCbMsg(const SmsTransBroadCastMsg &cbMsg) in AnalysisCbMsg() argument
405 serviceCategory_ = cbMsg.transSvcCtg; in AnalysisCbMsg()
406 if (cbMsg.telesvcMsg.type != SmsMessageType::SMS_TYPE_DELIVER) { in AnalysisCbMsg()
407 TELEPHONY_LOGE("No matching type = [%{public}d]", cbMsg.telesvcMsg.type); in AnalysisCbMsg()
410 messageId_ = cbMsg.telesvcMsg.data.deliver.msgId.msgId; in AnalysisCbMsg()
411 priority_ = cbMsg.telesvcMsg.data.deliver.priority; in AnalysisCbMsg()
412 language_ = cbMsg.telesvcMsg.data.deliver.language; in AnalysisCbMsg()
[all …]
Dcdma_sms_pdu_codec.cpp186 encodeSize = EncodeCBMsg(transMsg.data.cbMsg, pduStr); in EncodeMsg()
247 int CdmaSmsPduCodec::EncodeCBMsg(const struct SmsTransBroadCastMsg &cbMsg, unsigned char *pduStr) in EncodeCBMsg() argument
261 pduStr[offset++] = (0xff00 & cbMsg.transSvcCtg) >> SHIFT_8BITS; in EncodeCBMsg()
262 pduStr[offset++] = (0x00ff & cbMsg.transSvcCtg); in EncodeCBMsg()
268 encodeSize = EncodeTelesvcMsg(cbMsg.telesvcMsg, &pduStr[offset]); in EncodeCBMsg()
605 decodelen = DecodeCBMsg(&pduStr[offset], pduLen - offset, transMsg.data.cbMsg); in DecodeMsg()
660 …sPduCodec::DecodeCBMsg(const unsigned char *pduStr, int pduLen, struct SmsTransBroadCastMsg &cbMsg) in DecodeCBMsg() argument
672 offset += DecodeTeleId(pduStr + offset, pduLen, cbMsg.transSvcCtg); in DecodeCBMsg()
677 if (cbMsg.transSvcCtg >= SMS_TRANS_SVC_CTG_CMAS_PRESIDENTIAL && in DecodeCBMsg()
678 cbMsg.transSvcCtg <= SMS_TRANS_SVC_CTG_CMAS_TEST) { in DecodeCBMsg()
[all …]
/base/telephony/sms_mms/services/include/cdma/
Dcdma_sms_pdu_codec.h38 static int EncodeCBMsg(const struct SmsTransBroadCastMsg &cbMsg, unsigned char *pduStr);
49 …tatic int DecodeCBMsg(const unsigned char *pduStr, int pduLen, struct SmsTransBroadCastMsg &cbMsg);
Dcdma_sms_message.h70 void AnalysisCbMsg(const SmsTransBroadCastMsg &cbMsg);
Dcdma_sms_types.h783 SmsTransBroadCastMsg cbMsg; member