Home
last modified time | relevance | path

Searched refs:smsBaseMessage (Results 1 – 7 of 7) sorted by relevance

/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_receive_handler.h35 virtual int32_t HandleSmsByType(const std::shared_ptr<SmsBaseMessage> smsBaseMessage) override;
41 bool SendCBBroadcast(const std::shared_ptr<SmsBaseMessage> smsBaseMessage);
43 int32_t HandleSmsOtherSvcid(const std::shared_ptr<SmsBaseMessage> smsBaseMessage);
45 …const std::shared_ptr<SmsBaseMessage> smsBaseMessage, SmsCbData::CbData &sendData, bool &isEmergen…
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_receive_handler.cpp43 int32_t CdmaSmsReceiveHandler::HandleSmsByType(const std::shared_ptr<SmsBaseMessage> smsBaseMessage) in HandleSmsByType() argument
45 if (smsBaseMessage == nullptr) { in HandleSmsByType()
49 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); in HandleSmsByType()
51 SendCBBroadcast(smsBaseMessage); in HandleSmsByType()
71 return HandleSmsOtherSvcid(smsBaseMessage); in HandleSmsByType()
74 …_t CdmaSmsReceiveHandler::HandleSmsOtherSvcid(const std::shared_ptr<SmsBaseMessage> smsBaseMessage) in HandleSmsOtherSvcid() argument
76 if (smsBaseMessage == nullptr) { in HandleSmsOtherSvcid()
80 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); in HandleSmsOtherSvcid()
169 bool CdmaSmsReceiveHandler::SendCBBroadcast(const std::shared_ptr<SmsBaseMessage> smsBaseMessage) in SendCBBroadcast() argument
171 if (smsBaseMessage == nullptr) { in SendCBBroadcast()
[all …]
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_receive_handler.cpp78 int32_t GsmSmsReceiveHandler::HandleSmsByType(const shared_ptr<SmsBaseMessage> smsBaseMessage) in HandleSmsByType() argument
80 if (smsBaseMessage == nullptr) { in HandleSmsByType()
84 GsmSmsMessage *message = (GsmSmsMessage *)smsBaseMessage.get(); in HandleSmsByType()
93 return HandleNormalSmsByType(smsBaseMessage); in HandleSmsByType()
116 int32_t GsmSmsReceiveHandler::HandleNormalSmsByType(const shared_ptr<SmsBaseMessage> smsBaseMessage) in HandleNormalSmsByType() argument
118 if (smsBaseMessage == nullptr) { in HandleNormalSmsByType()
122 GsmSmsMessage *message = (GsmSmsMessage *)smsBaseMessage.get(); in HandleNormalSmsByType()
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_receive_handler.h32 virtual int32_t HandleSmsByType(const std::shared_ptr<SmsBaseMessage> smsBaseMessage) override;
39 int32_t HandleNormalSmsByType(const std::shared_ptr<SmsBaseMessage> smsBaseMessage);
/base/telephony/sms_mms/services/sms/include/
Dsms_receive_handler.h35 virtual int32_t HandleSmsByType(const std::shared_ptr<SmsBaseMessage> smsBaseMessage) = 0;
47 void HandleReceivedSms(const std::shared_ptr<SmsBaseMessage> smsBaseMessage);
/base/telephony/sms_mms/test/gtest/
Dzero_branch_sms_test.cpp96 std::shared_ptr<SmsBaseMessage> smsBaseMessage = nullptr; variable
104 smsReceiveHandler->HandleReceivedSms(smsBaseMessage);
925 auto smsBaseMessage = std::make_shared<GsmSmsMessage>(); variable
926 smsBaseMessage->ConvertMessageClass(SmsMessageClass::SMS_SIM_MESSAGE);
927 smsBaseMessage->ConvertMessageClass(SmsMessageClass::SMS_INSTANT_MESSAGE);
928 smsBaseMessage->ConvertMessageClass(SmsMessageClass::SMS_OPTIONAL_MESSAGE);
929 smsBaseMessage->ConvertMessageClass(SmsMessageClass::SMS_FORWARD_MESSAGE);
930 smsBaseMessage->ConvertMessageClass(SmsMessageClass::SMS_CLASS_UNKNOWN);
933 smsBaseMessage->ConvertSpiltToUtf8(split, codingType);
936 smsBaseMessage->ConvertSpiltToUtf8(split, codingType);
[all …]
/base/telephony/sms_mms/services/sms/
Dsms_receive_handler.cpp70 void SmsReceiveHandler::HandleReceivedSms(const std::shared_ptr<SmsBaseMessage> smsBaseMessage) in HandleReceivedSms() argument
72 if (smsBaseMessage == nullptr) { in HandleReceivedSms()
76 ReplySmsToSmsc(HandleSmsByType(smsBaseMessage), nullptr); in HandleReceivedSms()