/base/telephony/sms_mms/services/ |
D | sms_receive_handler.cpp | 81 void SmsReceiveHandler::CombineMessagePart(const std::shared_ptr<SmsReceiveIndexer> &indexer) in CombineMessagePart() argument 84 if ((indexer == nullptr) || (pdus == nullptr)) { in CombineMessagePart() 90 if (indexer->IsSingleMsg()) { in CombineMessagePart() 91 string pdu = StringUtils::StringToHex(indexer->GetPdu()); in CombineMessagePart() 92 messagBody.append(indexer->GetVisibleMessageBody()); in CombineMessagePart() 93 userDataRaw.append(indexer->GetRawUserData()); in CombineMessagePart() 97 int msgSeg = static_cast<int>(indexer->GetMsgCount()); in CombineMessagePart() 103 predicates.EqualTo(SmsMmsData::SENDER_NUMBER, indexer->GetOriginatingAddress()) in CombineMessagePart() 105 ->EqualTo(SmsMmsData::SMS_SUBSECTION_ID, std::to_string(indexer->GetMsgRefId())) in CombineMessagePart() 107 ->EqualTo(SmsMmsData::SIZE, std::to_string(indexer->GetMsgCount())); in CombineMessagePart() [all …]
|
D | sms_sender.cpp | 173 const std::shared_ptr<SmsSendIndexer> &indexer, ISendShortMessageCallback::SmsSendResult result) in SendResultCallBack() argument 175 if (indexer != nullptr && indexer->GetSendCallback() != nullptr) { in SendResultCallBack() 176 indexer->GetSendCallback()->OnSmsSendResult(result); in SendResultCallBack() 197 shared_ptr<SmsSendIndexer> &indexer = iter->second; in SendCacheMapTimeoutCheck() local 198 if (indexer == nullptr || (timeStamp - indexer->GetTimeStamp()) > EXPIRED_TIME) { in SendCacheMapTimeoutCheck()
|
D | sms_send_manager.cpp | 205 shared_ptr<SmsSendIndexer> indexer = smsIndexer; in RetriedSmsDelivery() local 209 cdmaSmsSender_->ResendTextDelivery(indexer); in RetriedSmsDelivery() 211 cdmaSmsSender_->ResendDataDelivery(indexer); in RetriedSmsDelivery() 216 gsmSmsSender_->ResendTextDelivery(indexer); in RetriedSmsDelivery() 218 gsmSmsSender_->ResendDataDelivery(indexer); in RetriedSmsDelivery()
|
D | sms_persist_helper.cpp | 85 SmsReceiveIndexer indexer; in Query() local 86 ResultSetConvertToIndexer(indexer, resultSet); in Query() 87 indexers.push_back(indexer); in Query()
|
/base/telephony/sms_mms/services/cdma/ |
D | cdma_sms_sender.cpp | 94 std::shared_ptr<SmsSendIndexer> indexer = nullptr; in TextBasedSmsDelivery() local 95 …indexer = make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback… in TextBasedSmsDelivery() 96 if (indexer == nullptr) { in TextBasedSmsDelivery() 100 indexer->SetDcs(splits[i].encodeType); in TextBasedSmsDelivery() 101 SetPduSeqInfo(indexer, splits.size(), transMsg, i, msgRef8bit); in TextBasedSmsDelivery() 108 indexer->SetEncodePdu(std::move(pdu)); in TextBasedSmsDelivery() 109 indexer->SetMsgRefId(msgRef8bit); in TextBasedSmsDelivery() 110 indexer->SetNetWorkType(NET_TYPE_CDMA); in TextBasedSmsDelivery() 111 indexer->SetUnSentCellCount(unSentCellCount); in TextBasedSmsDelivery() 112 indexer->SetHasCellFailed(hasCellFailed); in TextBasedSmsDelivery() [all …]
|
D | cdma_sms_receive_handler.cpp | 72 std::shared_ptr<SmsReceiveIndexer> indexer; in HandleSmsByType() local 74 … indexer = std::make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message->GetScTimestamp(), in HandleSmsByType() 82 … indexer = std::make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message->GetScTimestamp(), in HandleSmsByType() 87 if (indexer == nullptr) { in HandleSmsByType() 91 if (indexer->GetIsText() && IsRepeatedMessagePart(indexer)) { in HandleSmsByType() 96 if (!AddMsgToDB(indexer)) { in HandleSmsByType() 99 CombineMessagePart(indexer); in HandleSmsByType()
|
/base/telephony/sms_mms/services/gsm/ |
D | gsm_sms_receive_handler.cpp | 98 shared_ptr<SmsReceiveIndexer> indexer; in HandleSmsByType() local 100 indexer = make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message->GetScTimestamp(), in HandleSmsByType() 109 indexer = make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message->GetScTimestamp(), in HandleSmsByType() 114 if (indexer == nullptr) { in HandleSmsByType() 118 indexer->SetRawUserData(message->GetRawUserData()); in HandleSmsByType() 119 if (indexer->GetIsText() && IsRepeatedMessagePart(indexer)) { in HandleSmsByType() 125 if (!AddMsgToDB(indexer)) { in HandleSmsByType() 128 CombineMessagePart(indexer); in HandleSmsByType()
|
D | gsm_sms_sender.cpp | 82 std::shared_ptr<SmsSendIndexer> indexer = nullptr; in TextBasedSmsDelivery() local 85 …indexer = make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback… in TextBasedSmsDelivery() 86 if (indexer == nullptr) { in TextBasedSmsDelivery() 90 indexer->SetDcs(cellsInfos[i].encodeType); in TextBasedSmsDelivery() 100 SendResultCallBack(indexer, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 107 indexer->SetIsConcat(true); in TextBasedSmsDelivery() 113 indexer->SetSmsConcat(concat); in TextBasedSmsDelivery() 120 indexer->SetLangId(cellsInfos[i].langId); in TextBasedSmsDelivery() 133 SendResultCallBack(indexer, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 137 SetSendIndexerInfo(indexer, encodeInfo, msgRef8bit); in TextBasedSmsDelivery() [all …]
|
/base/telephony/sms_mms/services/include/ |
D | sms_receive_handler.h | 48 bool AddMsgToDB(const std::shared_ptr<SmsReceiveIndexer> &indexer); 49 bool CheckBlockPhone(const std::shared_ptr<SmsReceiveIndexer> &indexer); 59 …const std::shared_ptr<SmsReceiveIndexer> &indexer, const std::shared_ptr<std::vector<std::string>>…
|
D | sms_sender.h | 64 … const std::shared_ptr<SmsSendIndexer> &indexer, ISendShortMessageCallback::SmsSendResult result);
|
/base/telephony/sms_mms/services/include/gsm/ |
D | gsm_sms_sender.h | 54 …nst sptr<IDeliveryShortMessageCallback> &deliveryCallback, std::shared_ptr<SmsSendIndexer> indexer, 57 … const sptr<ISendShortMessageCallback> &sendCallback, std::shared_ptr<SmsSendIndexer> indexer, 73 void SetSendIndexerInfo(const std::shared_ptr<SmsSendIndexer> &indexer,
|
/base/telephony/sms_mms/services/include/cdma/ |
D | cdma_sms_sender.h | 48 …std::shared_ptr<SmsSendIndexer> indexer, uint8_t msgRef8bit, std::shared_ptr<uint8_t> unSentCellCo… 65 void SetSendIndexerInfo(const std::shared_ptr<SmsSendIndexer> &indexer,
|