Home
last modified time | relevance | path

Searched refs:indexer (Results 1 – 12 of 12) sorted by relevance

/base/telephony/sms_mms/services/
Dsms_receive_handler.cpp81 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 …]
Dsms_sender.cpp173 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()
Dsms_send_manager.cpp205 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()
Dsms_persist_helper.cpp85 SmsReceiveIndexer indexer; in Query() local
86 ResultSetConvertToIndexer(indexer, resultSet); in Query()
87 indexers.push_back(indexer); in Query()
/base/telephony/sms_mms/services/cdma/
Dcdma_sms_sender.cpp94 std::shared_ptr<SmsSendIndexer> indexer = nullptr; in TextBasedSmsDelivery() local
95indexer = 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 …]
Dcdma_sms_receive_handler.cpp72 std::shared_ptr<SmsReceiveIndexer> indexer; in HandleSmsByType() local
74indexer = std::make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message->GetScTimestamp(), in HandleSmsByType()
82indexer = 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/
Dgsm_sms_receive_handler.cpp98 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()
Dgsm_sms_sender.cpp82 std::shared_ptr<SmsSendIndexer> indexer = nullptr; in TextBasedSmsDelivery() local
85indexer = 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/
Dsms_receive_handler.h48 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>>…
Dsms_sender.h64 … const std::shared_ptr<SmsSendIndexer> &indexer, ISendShortMessageCallback::SmsSendResult result);
/base/telephony/sms_mms/services/include/gsm/
Dgsm_sms_sender.h54 …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/
Dcdma_sms_sender.h48 …std::shared_ptr<SmsSendIndexer> indexer, uint8_t msgRef8bit, std::shared_ptr<uint8_t> unSentCellCo…
65 void SetSendIndexerInfo(const std::shared_ptr<SmsSendIndexer> &indexer,