Home
last modified time | relevance | path

Searched refs:deliver (Results 1 – 14 of 14) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_tpdu_decode.cpp136 void DecodePartData(const uint8_t &pTpdu, struct SmsDeliver &deliver) in DecodePartData() argument
140 deliver.bMoreMsg = false; in DecodePartData()
142 deliver.bMoreMsg = true; in DecodePartData()
146 deliver.bStatusReport = true; in DecodePartData()
148 deliver.bStatusReport = false; in DecodePartData()
152 deliver.bHeaderInd = true; in DecodePartData()
154 deliver.bHeaderInd = false; in DecodePartData()
158 deliver.bReplyPath = true; in DecodePartData()
160 deliver.bReplyPath = false; in DecodePartData()
164 bool GsmSmsTpduDecode::DecodeDeliver(SmsReadBuffer &buffer, struct SmsDeliver *deliver) in DecodeDeliver() argument
[all …]
Dgsm_sms_message.cpp348 smsTpdu_->data.deliver.bHeaderInd = false; in CreateDeliverSmsTpdu()
437 AnalysisMsgDeliver(smsTpdu_->data.deliver); in PduAnalysis()
453 void GsmSmsMessage::AnalysisMsgDeliver(const SmsDeliver &deliver) in AnalysisMsgDeliver() argument
455 protocolId_ = (int)(deliver.pid); in AnalysisMsgDeliver()
456 hasReplyPath_ = deliver.bReplyPath; in AnalysisMsgDeliver()
457 bStatusReportMessage_ = deliver.bStatusReport; in AnalysisMsgDeliver()
458 bMoreMsg_ = deliver.bMoreMsg; in AnalysisMsgDeliver()
459 bHeaderInd_ = deliver.bHeaderInd; in AnalysisMsgDeliver()
460 originatingAddress_ = deliver.originAddress.address; in AnalysisMsgDeliver()
461 headerCnt_ = deliver.userData.headerCnt; in AnalysisMsgDeliver()
[all …]
Dgsm_sms_tpdu_codec.cpp62 encodeRet = tpduEncode->EncodeDeliverPdu(pduBuffer, &(sourceData->data.deliver)); in EncodeSmsPdu()
117 decodeResult = tpduDecode->DecodeDeliver(buffer, &(pSmsTpdu->data.deliver)); in DecodeSmsPdu()
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_message.cpp186 if (transMsg_->data.broadcast.telesvcMsg.data.deliver.cmasData.isWrongRecodeType) { in PduAnalysis()
190 …SmsEncodingType encodeType = transMsg_->data.broadcast.telesvcMsg.data.deliver.cmasData.encodeType; in PduAnalysis()
234 AnalsisDeliverMsg(p2pMsg.telesvcMsg.data.deliver); in AnalysisP2pMsg()
265 if (p2pMsg.telesvcMsg.data.deliver.vmn.faxIncluded) { in AnalsisDeliverMwi()
269 if (p2pMsg.telesvcMsg.data.deliver.numMsg < 0) { in AnalsisDeliverMwi()
274 specialSmsInd_->waitMsgNum = p2pMsg.telesvcMsg.data.deliver.numMsg; in AnalsisDeliverMwi()
280 if (bMwiSet_ && (p2pMsg.telesvcMsg.data.deliver.userData.userData.length == 0)) { in AnalsisDeliverMwi()
286 void CdmaSmsMessage::AnalsisDeliverMsg(const TeleserviceDeliver &deliver) in AnalsisDeliverMsg() argument
290 if (deliver.displayMode == SmsDisplayMode::IMMEDIATE) { in AnalsisDeliverMsg()
294 msgRef_ = deliver.msgId.msgId; in AnalsisDeliverMsg()
[all …]
Dcdma_sms_parameter_record.cpp443 … teleserviceMessage_ = std::make_unique<CdmaSmsDeliverMessage>(msg.data.deliver, pdu, isCMAS); in CdmaSmsBearerData()
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_tpdu_decode.h29 bool DecodeDeliver(SmsReadBuffer &buffer, struct SmsDeliver *deliver);
34 bool DecodeDeliverPartData(SmsReadBuffer &buffer, struct SmsDeliver *deliver);
Dgsm_pdu_code_type.h231 struct SmsDeliver deliver; member
Dgsm_sms_message.h84 void AnalysisMsgDeliver(const SmsDeliver &deliver);
/base/telephony/sms_mms/test/unittest/
Dcdma_sms_test.cpp344 void CdmaSmsTest::PrintTeleserviceDeliver(TeleserviceDeliver &deliver, bool isCMAS, string s) const in PrintTeleserviceDeliver() argument
346 cout << s << " msgId : " << static_cast<int>(deliver.msgId.msgId) << endl; in PrintTeleserviceDeliver()
347 cout << s << " headerInd : " << static_cast<int>(deliver.msgId.headerInd) << endl; in PrintTeleserviceDeliver()
350 PrintCmasData(deliver.cmasData); in PrintTeleserviceDeliver()
353 PrintUserData(deliver.userData); in PrintTeleserviceDeliver()
356 PrintTimeAbs(deliver.timeStamp); in PrintTeleserviceDeliver()
358 PrintSmsValPeriod(deliver.valPeriod); in PrintTeleserviceDeliver()
360 PrintSmsValPeriod(deliver.deferValPeriod); in PrintTeleserviceDeliver()
362 PrintSmsReplyOption(deliver.replyOpt); in PrintTeleserviceDeliver()
363 cout << s << " numMsg : " << static_cast<int>(deliver.numMsg) << endl; in PrintTeleserviceDeliver()
[all …]
Dcdma_sms_test.h61 …void PrintTeleserviceDeliver(TeleserviceDeliver &deliver, bool isCMAS, std::string s = " ") con…
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_message.h69 void AnalsisDeliverMsg(const TeleserviceDeliver &deliver);
74 void AnalsisCMASMsg(const TeleserviceDeliver &deliver);
Dcdma_sms_common.h406 TeleserviceDeliver deliver; member
/base/telephony/sms_mms/test/gtest/
Dcdma_sms_gtest.cpp264 EXPECT_EQ(msg.data.broadcast.telesvcMsg.data.deliver.msgId.msgId, 0xc780);
266 EXPECT_EQ(msg.data.broadcast.telesvcMsg.data.deliver.cmasData.dataLen, 74);
267 … EXPECT_EQ(msg.data.broadcast.telesvcMsg.data.deliver.cmasData.urgency, SmsCmaeUrgency::EXPECTED);
327 EXPECT_STREQ(GetUserDataString(v.data.deliver.userData).c_str(), userData.c_str()); in CheckDeliverUserData()
Dzero_branch_cdma_sms_test.cpp110 TeleserviceDeliver deliver; variable
115 p2pMsg.telesvcMsg.data.deliver.vmn.faxIncluded = true;
116 p2pMsg.telesvcMsg.data.deliver.userData.userData.length = 0;
117 deliver.displayMode = SmsDisplayMode::IMMEDIATE;
119 cdmaSmsMessage->AnalsisDeliverMsg(deliver);
140 deliver.cmasData.dataLen = DATA_LENGTH;
141 cdmaSmsMessage->AnalsisCMASMsg(deliver);
658 …auto message5 = std::make_shared<CdmaSmsDeliverMessage>(msg.data.p2p.telesvcMsg.data.deliver, rBuf…