/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_tpdu_encode.h | 29 bool EncodeSubmitPdu(SmsWriteBuffer &buffer, const struct SmsSubmit *pSubmit); 30 void EncodeSubmitTpduType(SmsWriteBuffer &buffer, const struct SmsSubmit &pSubmit); 31 bool EncodeDeliverPdu(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeliver); 32 bool EncodeDeliverReportPdu(SmsWriteBuffer &buffer, const struct SmsDeliverReport *pDeliverRep); 33 bool EncodeStatusReportPdu(SmsWriteBuffer &buffer, const struct SmsStatusReport *pStatusRep); 36 bool EncodeSubmitPduPartData(SmsWriteBuffer &buffer, const struct SmsSubmit *pSubmit); 37 void EncodeSubmitTypePartData(SmsWriteBuffer &buffer, const struct SmsSubmit &pSubmit); 38 void EncodeSubmitTypeData(SmsWriteBuffer &buffer, const struct SmsSubmit &pSubmit); 39 bool EncodeDeliverPartData(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeliver); 40 bool EncodeDeliverData(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeliver); [all …]
|
D | gsm_user_data_encode.h | 27 bool EncodeGsmPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData); 28 bool Encode8bitPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData); 29 bool EncodeUcs2Pdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData); 32 …bool EncodeGsmHeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData, uint8_t &fillB… 33 …bool EncodeGsmBodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData, uint8_t fillBi… 34 bool Encode8bitHeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData); 35 bool Encode8bitBodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData); 36 bool EncodeUcs2HeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData); 37 bool EncodeUcs2BodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *pUserData);
|
D | gsm_user_data_pdu.h | 34 … SmsWriteBuffer &buffer, const struct SmsUDPackage *(&pUserData), DataCodingScheme codingScheme); 35 void EncodeHeader(SmsWriteBuffer &buffer, const struct SmsUDH header); 50 void EncodeHeaderAppPort8bit(SmsWriteBuffer &buffer, const struct SmsUDH header); 51 void EncodeHeaderAppPort16bit(SmsWriteBuffer &buffer, const struct SmsUDH header); 52 void EncodeHeaderReplyAddress(SmsWriteBuffer &buffer, const struct SmsUDH header); 53 void EncodeHeaderConcat(SmsWriteBuffer &buffer, const struct SmsUDH header); 54 void EncodeHeaderConcat8Bit(SmsWriteBuffer &buffer, const struct SmsUDH &header); 55 void EncodeHeaderConcat16Bit(SmsWriteBuffer &buffer, const struct SmsUDH &header);
|
D | gsm_sms_common_utils.h | 30 …bool Pack7bitChar(SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t dataLen, uint8_t fillBi… 38 …bool Pack7bitCharPartData(SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t &srcIdx, uint8_…
|
/base/telephony/sms_mms/services/sms/include/cdma/ |
D | cdma_sms_sub_parameter.h | 28 virtual bool Encode(SmsWriteBuffer &pdu) = 0; 70 bool Encode(SmsWriteBuffer &pdu) override; 80 bool Encode(SmsWriteBuffer &pdu) override; 87 bool Encode(SmsWriteBuffer &pdu) override; 99 bool Encode(SmsWriteBuffer &pdu) override; 113 bool Encode(SmsWriteBuffer &pdu) override; 123 bool Encode(SmsWriteBuffer &pdu) override; 133 bool Encode(SmsWriteBuffer &pdu) override; 143 bool Encode(SmsWriteBuffer &pdu) override; 148 bool EncodeAscii7Bit(SmsWriteBuffer &pdu); [all …]
|
D | cdma_sms_parameter_record.h | 29 virtual bool Encode(SmsWriteBuffer &pdu) = 0; 56 bool Encode(SmsWriteBuffer &pdu) override; 66 bool Encode(SmsWriteBuffer &pdu) override; 76 bool Encode(SmsWriteBuffer &pdu) override; 86 bool Encode(SmsWriteBuffer &pdu) override; 97 bool Encode(SmsWriteBuffer &pdu) override; 101 bool EncodeAddress(SmsWriteBuffer &pdu); 112 bool Encode(SmsWriteBuffer &pdu) override; 125 bool Encode(SmsWriteBuffer &pdu) override;
|
D | cdma_sms_transport_message.h | 32 virtual bool Encode(SmsWriteBuffer &pdu);
|
D | cdma_sms_teleservice_message.h | 31 virtual bool Encode(SmsWriteBuffer &pdu);
|
/base/telephony/sms_mms/test/fuzztest/cdmasmsencode_fuzzer/ |
D | cdmasmsencode_fuzzer.cpp | 37 SmsWriteBuffer pdu; in TeleserviceIdEncode() 52 SmsWriteBuffer pdu; in ServiceCategoryEncode() 67 SmsWriteBuffer pdu; in BearerReplyEncode() 82 SmsWriteBuffer pdu; in CauseCodesEncode() 97 SmsWriteBuffer pdu; in AddressParameterEncode() 112 SmsWriteBuffer pdu; in SubaddressEncode() 127 SmsWriteBuffer pdu; in BearerDataEncode() 142 SmsWriteBuffer pdu; in BaseParameterEncode() 153 SmsWriteBuffer pdu; in ReservedParameterEncode() 168 SmsWriteBuffer pdu; in MessageIdEncode() [all …]
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_user_data_encode.cpp | 40 bool GsmUserDataEncode::EncodeGsmPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userData) in EncodeGsmPdu() 49 bool GsmUserDataEncode::EncodeGsmHeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDat… in EncodeGsmHeadPdu() 101 bool GsmUserDataEncode::EncodeGsmBodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDat… in EncodeGsmBodyPdu() 114 bool GsmUserDataEncode::Encode8bitPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userData) in Encode8bitPdu() 122 bool GsmUserDataEncode::Encode8bitHeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDa… in Encode8bitHeadPdu() 165 bool GsmUserDataEncode::Encode8bitBodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDa… in Encode8bitBodyPdu() 189 bool GsmUserDataEncode::EncodeUcs2Pdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userData) in EncodeUcs2Pdu() 197 bool GsmUserDataEncode::EncodeUcs2HeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDa… in EncodeUcs2HeadPdu() 240 bool GsmUserDataEncode::EncodeUcs2BodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDa… in EncodeUcs2BodyPdu()
|
D | gsm_sms_tpdu_encode.cpp | 36 bool GsmSmsTpduEncode::EncodeSubmitPdu(SmsWriteBuffer &buffer, const struct SmsSubmit *pSubmit) in EncodeSubmitPdu() 75 bool GsmSmsTpduEncode::EncodeSubmitPduPartData(SmsWriteBuffer &buffer, const struct SmsSubmit *pSub… in EncodeSubmitPduPartData() 113 void GsmSmsTpduEncode::EncodeSubmitTpduType(SmsWriteBuffer &buffer, const struct SmsSubmit &pSubmit) in EncodeSubmitTpduType() 134 void GsmSmsTpduEncode::EncodeSubmitTypePartData(SmsWriteBuffer &buffer, const struct SmsSubmit &pSu… in EncodeSubmitTypePartData() 177 void GsmSmsTpduEncode::EncodeSubmitTypeData(SmsWriteBuffer &buffer, const struct SmsSubmit &pSubmit) in EncodeSubmitTypeData() 216 bool GsmSmsTpduEncode::EncodeDeliverPdu(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeliver) in EncodeDeliverPdu() 265 bool GsmSmsTpduEncode::EncodeDeliverPartData(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeli… in EncodeDeliverPartData() 311 bool GsmSmsTpduEncode::EncodeDeliverData(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeliver) in EncodeDeliverData() 351 bool GsmSmsTpduEncode::EncodeDeliverReportPdu(SmsWriteBuffer &buffer, const struct SmsDeliverReport… in EncodeDeliverReportPdu() 399 bool GsmSmsTpduEncode::EncodeDeliverReportPartData(SmsWriteBuffer &buffer, const struct SmsDeliverR… in EncodeDeliverReportPartData() [all …]
|
D | gsm_user_data_pdu.cpp | 32 SmsWriteBuffer &buffer, const struct SmsUDPackage *(&userData), DataCodingScheme scheme) in EncodeUserDataPdu() 179 void GsmUserDataPdu::EncodeHeader(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeader() 228 void GsmUserDataPdu::EncodeHeaderAppPort8bit(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderAppPort8bit() 248 void GsmUserDataPdu::EncodeHeaderAppPort16bit(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderAppPort16bit() 276 void GsmUserDataPdu::EncodeHeaderReplyAddress(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderReplyAddress() 304 void GsmUserDataPdu::EncodeHeaderConcat(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderConcat() 319 void GsmUserDataPdu::EncodeHeaderConcat8Bit(SmsWriteBuffer &buffer, const struct SmsUDH &header) in EncodeHeaderConcat8Bit() 343 void GsmUserDataPdu::EncodeHeaderConcat16Bit(SmsWriteBuffer &buffer, const struct SmsUDH &header) in EncodeHeaderConcat16Bit()
|
D | gsm_sms_common_utils.cpp | 32 bool GsmSmsCommonUtils::Pack7bitChar(SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t dataL… in Pack7bitChar() 81 SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t &srcIdx, uint8_t &shift) in Pack7bitCharPartData()
|
D | gsm_sms_tpdu_codec.cpp | 56 SmsWriteBuffer pduBuffer; in EncodeSmsPdu()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_pdu_buffer.cpp | 242 SmsWriteBuffer::SmsWriteBuffer() in SmsWriteBuffer() function in OHOS::Telephony::SmsWriteBuffer 253 bool SmsWriteBuffer::WriteByte(uint8_t v) in WriteByte() 266 bool SmsWriteBuffer::WriteWord(uint16_t v) in WriteWord() 277 bool SmsWriteBuffer::WriteBits(uint8_t v, uint8_t l) in WriteBits() 311 bool SmsWriteBuffer::InsertByte(uint8_t v, uint16_t index) in InsertByte() 321 bool SmsWriteBuffer::GetTopValue(uint8_t &oneByte) in GetTopValue() 331 bool SmsWriteBuffer::GetValueFromIndex(uint16_t index, uint8_t &v) in GetValueFromIndex()
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_sub_parameter.cpp | 46 bool CdmaSmsBaseParameter::Encode(SmsWriteBuffer &pdu) in Encode() 73 bool CdmaSmsReservedParameter::Encode(SmsWriteBuffer &pdu) in Encode() 99 bool CdmaSmsMessageId::Encode(SmsWriteBuffer &pdu) in Encode() 158 bool CdmaSmsAbsoluteTime::Encode(SmsWriteBuffer &pdu) in Encode() 219 bool CdmaSmsPriorityInd::Encode(SmsWriteBuffer &pdu) in Encode() 260 bool CdmaSmsPrivacyInd::Encode(SmsWriteBuffer &pdu) in Encode() 301 bool CdmaSmsReplyOption::Encode(SmsWriteBuffer &pdu) in Encode() 348 bool CdmaSmsUserData::Encode(SmsWriteBuffer &pdu) in Encode() 390 bool CdmaSmsUserData::EncodeHeader7Bit(SmsWriteBuffer &pdu) in EncodeHeader7Bit() 397 SmsWriteBuffer headerPdu; in EncodeHeader7Bit() [all …]
|
D | cdma_sms_parameter_record.cpp | 40 bool CdmaSmsTeleserviceId::Encode(SmsWriteBuffer &pdu) in Encode() 70 bool CdmaSmsServiceCategory::Encode(SmsWriteBuffer &pdu) in Encode() 100 bool CdmaSmsBearerReply::Encode(SmsWriteBuffer &pdu) in Encode() 135 bool CdmaSmsCauseCodes::Encode(SmsWriteBuffer &pdu) in Encode() 205 bool CdmaSmsAddressParameter::Encode(SmsWriteBuffer &pdu) in Encode() 275 bool CdmaSmsAddressParameter::EncodeAddress(SmsWriteBuffer &pdu) in EncodeAddress() 345 bool CdmaSmsSubaddress::Encode(SmsWriteBuffer &pdu) in Encode() 462 bool CdmaSmsBearerData::Encode(SmsWriteBuffer &pdu) in Encode()
|
D | cdma_sms_transport_message.cpp | 33 bool CdmaSmsTransportMessage::Encode(SmsWriteBuffer &pdu) in Encode()
|
D | cdma_sms_teleservice_message.cpp | 30 bool CdmaSmsTeleserviceMessage::Encode(SmsWriteBuffer &pdu) in Encode()
|
D | cdma_sms_sender.cpp | 353 SmsWriteBuffer pduBuffer; in EncodeMsgData() 609 SmsWriteBuffer pduBuffer; in EncodeMsg()
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_pdu_buffer.h | 57 class SmsWriteBuffer : public SmsPduBuffer { 59 SmsWriteBuffer();
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_cdma_sms_test.cpp | 342 auto buffer = std::make_shared<SmsWriteBuffer>(); 383 auto buffer = std::make_shared<SmsWriteBuffer>(); 442 auto buffer = std::make_shared<SmsWriteBuffer>(); 504 auto buffer1 = std::make_shared<SmsWriteBuffer>(); 541 auto buffer = std::make_shared<SmsWriteBuffer>(); 592 auto buffer1 = std::make_shared<SmsWriteBuffer>(); 631 SmsWriteBuffer wBuffer; 689 SmsWriteBuffer wBuffer; 722 SmsWriteBuffer wBuffer; 758 SmsWriteBuffer wBuffer; [all …]
|
D | cdma_sms_gtest.cpp | 172 auto wBuffer = std::make_shared<SmsWriteBuffer>(); 202 SmsWriteBuffer pduBuffer; 347 SmsWriteBuffer wBuffer; in CheckSubmitUserData()
|
D | zero_branch_sms_test.cpp | 649 auto encodeBuffer = std::make_shared<SmsWriteBuffer>(); 692 auto encodeBuffer = std::make_shared<SmsWriteBuffer>(); 818 auto encodeBuffer = std::make_shared<SmsWriteBuffer>(); 856 auto encodeBuffer = std::make_shared<SmsWriteBuffer>(); 903 auto encodeBuffer = std::make_shared<SmsWriteBuffer>();
|
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/ |
D | smspdubuffer_fuzzer.cpp | 67 auto buffer = std::make_unique<SmsWriteBuffer>(); in WriteBuffer()
|