Home
last modified time | relevance | path

Searched refs:ReadByte (Results 1 – 15 of 15) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
Dgsm_user_data_pdu.cpp375 if (!buffer.ReadByte(oneByte)) { in DecodeHeader()
463 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat8Bit()
470 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat8Bit()
476 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat8Bit()
482 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat8Bit()
494 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat16Bit()
501 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat16Bit()
507 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat16Bit()
514 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat16Bit()
520 if (!buffer.ReadByte(oneByte)) { in DecodeHeaderConcat16Bit()
[all …]
Dgsm_sms_tpdu_decode.cpp104 if (!buffer.ReadByte(oneByte)) { in DecodeSubmitPartData()
115 if (!buffer.ReadByte(oneByte)) { in DecodeSubmitPartData()
172 if (!buffer.ReadByte(oneByte)) { in DecodeDeliver()
186 if (!buffer.ReadByte(oneByte)) { in DecodeDeliver()
267 if (!buffer.ReadByte(oneByte)) { in DecodeStatusReport()
273 if (!buffer.ReadByte(oneByte)) { in DecodeStatusReport()
304 if (!buffer.ReadByte(oneByte)) { in DecodeStatusReportPartData()
310 if (!buffer.ReadByte(oneByte)) { in DecodeStatusReportPartData()
346 if (!buffer.ReadByte(oneByte)) { in DecodeStatusReportData()
Dgsm_sms_param_decode.cpp42 if (!buffer.ReadByte(oneByte) || oneByte >= BCD_TO_DIGITAL * (MAX_ADDRESS_LEN + 1)) { in DecodeAddressPdu()
96 if (!buffer.ReadByte(oneByte)) { in DecodeAddressInternationalNum()
126 if (!buffer.ReadByte(oneByte)) { in DecodeAddressDefaultNum()
227 if (!buffer.ReadByte(dcs)) { in DecodeDcsPdu()
382 if (!buffer.ReadByte(oneByte)) { in DecodeTimePdu()
394 if (!buffer.ReadByte(oneByte)) { in DecodeTimePdu()
412 if (!buffer.ReadByte(oneByte)) { in DecodeTimePduPartData()
423 if (!buffer.ReadByte(oneByte)) { in DecodeTimePduPartData()
434 if (!buffer.ReadByte(oneByte)) { in DecodeTimePduPartData()
457 if (!buffer.ReadByte(oneByte)) { in DecodeTimePduData()
[all …]
Dgsm_sms_param_codec.cpp89 if (!buffer.ReadByte(oneByte)) { in CheckVoicemail()
99 if (!buffer.ReadByte(oneByte)) { in CheckVoicemail()
120 if (!buffer.ReadByte(oneByte)) { in CheckVoicemail()
Dgsm_user_data_decode.cpp61 if (!buffer.ReadByte(udl)) { in DecodeGsmHeadPdu()
107 if (!buffer.ReadByte(udhl)) { in DecodeGsmHeadPduPartData()
170 if (!buffer.ReadByte(udl)) { in Decode8bitPdu()
217 if (!buffer.ReadByte(udhl)) { in Decode8bitPduPartData()
269 if (!buffer.ReadByte(udl)) { in DecodeUcs2Pdu()
307 if (!buffer.ReadByte(udhl)) { in DecodeUcs2PduPartData()
Dgsm_sms_common_utils.cpp120 if (!buffer.ReadByte(oneByte)) { in Unpack7bitChar()
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_transport_message.cpp70 if (!pdu.ReadByte(type_)) { in Decode()
119 if (!pdu.ReadByte(type)) { in CreateTransportMessage()
174 while ((parameter_.size() < PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsP2pMessage()
217 while ((parameter_.size() < PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsBroadcastMessage()
265 while ((parameter_.size() < PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsAckMessage()
Dcdma_sms_teleservice_message.cpp80 while (pdu.ReadByte(id)) { in GetMessageType()
90 if (!pdu.ReadByte(len)) { in GetMessageType()
139 while ((parameter_.size() < SUB_PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsSubmitMessage()
208 while ((parameter_.size() < SUB_PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsDeliverMessage()
269 while ((parameter_.size() < SUB_PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsDeliveryAck()
296 while ((parameter_.size() < SUB_PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsUserAck()
325 while ((parameter_.size() < SUB_PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsReadAck()
Dcdma_sms_sub_parameter.cpp33 if (pdu.IsEmpty() || !pdu.ReadByte(id) || !pdu.ReadByte(len_) || id != id_) { in IsInvalidPdu()
65 return pdu.ReadByte(data_); in Decode()
189 …if (!pdu.ReadByte(v1) || !pdu.ReadByte(v2) || !pdu.ReadByte(v3) || !pdu.ReadByte(v4) || !pdu.ReadB… in Decode()
190 !pdu.ReadByte(v6)) { in Decode()
1033 if (!pdu.ReadByte(v)) { in Decode()
1238 if (!pdu.ReadByte(v)) { in Decode()
1265 if (!pdu.ReadByte(v)) { in Decode()
1478 if (!pdu.ReadWord(ack_.vmMailboxId) || !pdu.ReadByte(ack_.vmNumUnheardMsg)) { in Decode()
Dcdma_sms_parameter_record.cpp27 if (pdu.IsEmpty() || !pdu.ReadByte(id) || !pdu.ReadByte(len_) || id != id_) { in IsInvalidPdu()
/base/telephony/sms_mms/services/sms/include/
Dsms_pdu_buffer.h50 bool ReadByte(uint8_t &v);
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/
Dsmspdubuffer_fuzzer.cpp51 buffer->ReadByte(v1); in ReadBuffer()
/base/telephony/sms_mms/services/sms/
Dsms_pdu_buffer.cpp157 bool SmsReadBuffer::ReadByte(uint8_t &v) in ReadByte() function in OHOS::Telephony::SmsReadBuffer
/base/telephony/sms_mms/test/gtest/
Dcdma_sms_gtest.cpp168 EXPECT_TRUE(rBuffer->ReadByte(v));
Dzero_branch_cdma_sms_test.cpp238 EXPECT_TRUE(buffer->ReadByte(v));
240 EXPECT_FALSE(buffer->ReadByte(v));