Home
last modified time | relevance | path

Searched refs:SmsWriteBuffer (Results 1 – 25 of 26) sorted by relevance

12

/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_tpdu_encode.h29 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 …]
Dgsm_user_data_encode.h27 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);
Dgsm_user_data_pdu.h34SmsWriteBuffer &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);
Dgsm_sms_common_utils.h30 …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/
Dcdma_sms_sub_parameter.h28 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 …]
Dcdma_sms_parameter_record.h29 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;
Dcdma_sms_transport_message.h32 virtual bool Encode(SmsWriteBuffer &pdu);
Dcdma_sms_teleservice_message.h31 virtual bool Encode(SmsWriteBuffer &pdu);
/base/telephony/sms_mms/test/fuzztest/cdmasmsencode_fuzzer/
Dcdmasmsencode_fuzzer.cpp37 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/
Dgsm_user_data_encode.cpp40 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()
Dgsm_sms_tpdu_encode.cpp36 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 …]
Dgsm_user_data_pdu.cpp32 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()
Dgsm_sms_common_utils.cpp32 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()
Dgsm_sms_tpdu_codec.cpp56 SmsWriteBuffer pduBuffer; in EncodeSmsPdu()
/base/telephony/sms_mms/services/sms/
Dsms_pdu_buffer.cpp242 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/
Dcdma_sms_sub_parameter.cpp46 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 …]
Dcdma_sms_parameter_record.cpp40 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()
Dcdma_sms_transport_message.cpp33 bool CdmaSmsTransportMessage::Encode(SmsWriteBuffer &pdu) in Encode()
Dcdma_sms_teleservice_message.cpp30 bool CdmaSmsTeleserviceMessage::Encode(SmsWriteBuffer &pdu) in Encode()
Dcdma_sms_sender.cpp353 SmsWriteBuffer pduBuffer; in EncodeMsgData()
609 SmsWriteBuffer pduBuffer; in EncodeMsg()
/base/telephony/sms_mms/services/sms/include/
Dsms_pdu_buffer.h57 class SmsWriteBuffer : public SmsPduBuffer {
59 SmsWriteBuffer();
/base/telephony/sms_mms/test/gtest/
Dzero_branch_cdma_sms_test.cpp342 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 …]
Dcdma_sms_gtest.cpp172 auto wBuffer = std::make_shared<SmsWriteBuffer>();
202 SmsWriteBuffer pduBuffer;
347 SmsWriteBuffer wBuffer; in CheckSubmitUserData()
Dzero_branch_sms_test.cpp649 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/
Dsmspdubuffer_fuzzer.cpp67 auto buffer = std::make_unique<SmsWriteBuffer>(); in WriteBuffer()

12