Home
last modified time | relevance | path

Searched refs:pdustr (Results 1 – 3 of 3) sorted by relevance

/base/telephony/sms_mms/services/include/cdma/
Dcdma_sms_pdu_codec.h93 static int EncodeCbNumber(const SmsTeleSvcAddr &cbNumber, std::vector<unsigned char> &pdustr);
94 static int EncodeAbsTime(const SmsTimeAbs &absTime, std::vector<unsigned char> &pdustr);
/base/telephony/sms_mms/services/
Dsms_wap_push_handler.cpp156 std::string pdustr = StringUtils::HexToString(hexData); in DeocdeCheckIsBlock() local
157 uint32_t pduLen = pdustr.length(); in DeocdeCheckIsBlock()
164 if (memcpy_s(pdus.get(), pduLen, pdustr.data(), pduLen) != EOK) { in DeocdeCheckIsBlock()
/base/telephony/sms_mms/services/cdma/
Dcdma_sms_pdu_codec.cpp402 …CdmaSmsPduCodec::EncodeCbNumber(const SmsTeleSvcAddr &cbNumber, std::vector<unsigned char> &pdustr) in EncodeCbNumber() argument
407 pdustr.push_back(temp); in EncodeCbNumber()
414 pdustr.insert(pdustr.end(), cbData, cbData + addrLen); in EncodeCbNumber()
418 pdustr.push_back(temp); in EncodeCbNumber()
419 pdustr.push_back(cbNumber.addrLen); in EncodeCbNumber()
420 pdustr.insert(pdustr.end(), cbNumber.szData, cbNumber.szData + cbNumber.addrLen); in EncodeCbNumber()
422 return static_cast<int>(pdustr.size()); in EncodeCbNumber()
425 int CdmaSmsPduCodec::EncodeAbsTime(const SmsTimeAbs &absTime, std::vector<unsigned char> &pdustr) in EncodeAbsTime() argument
427 pdustr.push_back(ConvertToBCD(absTime.year)); in EncodeAbsTime()
428 pdustr.push_back(ConvertToBCD(absTime.month)); in EncodeAbsTime()
[all …]