Home
last modified time | relevance | path

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

/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_receive_handler.cpp171 std::shared_ptr<SmsBaseMessage> baseMessage = nullptr; in TransformMessageInfo() local
174 return baseMessage; in TransformMessageInfo()
177 baseMessage = GsmSmsMessage::CreateMessage(pdu); in TransformMessageInfo()
178 return baseMessage; in TransformMessageInfo()
/base/telephony/sms_mms/services/sms/
Dsms_receive_reliability_handler.cpp155 std::shared_ptr<SmsBaseMessage> baseMessage = GsmSmsMessage::CreateMessage(pdu); in GetWapPushUserDataSinglePage() local
156 if (baseMessage == nullptr) { in GetWapPushUserDataSinglePage()
160 userDataRaws->at(PDU_START_POS) = baseMessage->GetRawUserData(); in GetWapPushUserDataSinglePage()
171 std::shared_ptr<SmsBaseMessage> baseMessage = GsmSmsMessage::CreateMessage(pdu); in GetWapPushUserDataMultipage() local
172 if (baseMessage == nullptr) { in GetWapPushUserDataMultipage()
180 …userDataRaws->at(dbIndexers[place].GetMsgSeqId() - PDU_POS_OFFSET) = baseMessage->GetRawUserData(); in GetWapPushUserDataMultipage()
191 baseMessage = GsmSmsMessage::CreateMessage(pdu); in GetWapPushUserDataMultipage()
192 if (baseMessage == nullptr) { in GetWapPushUserDataMultipage()
202 userDataRaws->at(locate->GetMsgSeqId() - PDU_POS_OFFSET) = baseMessage->GetRawUserData(); in GetWapPushUserDataMultipage()
Dsms_service.cpp691 std::shared_ptr<SmsBaseMessage> baseMessage; in CreateMessage() local
693 baseMessage = GsmSmsMessage::CreateMessage(pdu); in CreateMessage()
695 baseMessage = CdmaSmsMessage::CreateMessage(pdu); in CreateMessage()
698 if (baseMessage == nullptr) { in CreateMessage()
701 message.visibleMessageBody_ = StringUtils::ToUtf16(baseMessage->GetVisibleMessageBody()); in CreateMessage()
702 message.visibleRawAddress_ = StringUtils::ToUtf16(baseMessage->GetVisibleOriginatingAddress()); in CreateMessage()
703 …message.messageClass_ = static_cast<ShortMessage::SmsMessageClass>(baseMessage->GetMessageClass()); in CreateMessage()
704 message.scAddress_ = StringUtils::ToUtf16(baseMessage->GetSmscAddr()); in CreateMessage()
705 message.scTimestamp_ = baseMessage->GetScTimestamp(); in CreateMessage()
706 message.isReplaceMessage_ = baseMessage->IsReplaceMessage(); in CreateMessage()
[all …]
Dsms_receive_handler.cpp124 std::shared_ptr<SmsBaseMessage> baseMessage = GsmSmsMessage::CreateMessage(pdu); in CombineMessagePart() local
125 if (baseMessage != nullptr) { in CombineMessagePart()
126 userDataRaw.append(baseMessage->GetRawUserData()); in CombineMessagePart()
127 messagBody.append(baseMessage->GetVisibleMessageBody()); in CombineMessagePart()
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_receive_handler.cpp138 std::shared_ptr<SmsBaseMessage> baseMessage = nullptr; in TransformMessageInfo() local
141 return baseMessage; in TransformMessageInfo()
144 baseMessage = CdmaSmsMessage::CreateMessage(pdu); in TransformMessageInfo()
145 return baseMessage; in TransformMessageInfo()