Home
last modified time | relevance | path

Searched refs:InsertByte (Results 1 – 10 of 10) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
Dgsm_user_data_encode.cpp84 if (!buffer.InsertByte((value / HEX_07), location)) { in EncodeGsmHeadPdu()
88 if (!buffer.InsertByte(static_cast<uint8_t>(udhl), location + 1)) { in EncodeGsmHeadPdu()
93 if (!buffer.InsertByte(userData->length, location)) { in EncodeGsmHeadPdu()
148 if (!buffer.InsertByte(static_cast<uint8_t>(udhl + 1 + userData->length), location)) { in Encode8bitHeadPdu()
152 if (!buffer.InsertByte(static_cast<uint8_t>(udhl), location + 1)) { in Encode8bitHeadPdu()
157 if (!buffer.InsertByte(userData->length, location)) { in Encode8bitHeadPdu()
223 if (!buffer.InsertByte(static_cast<uint8_t>(udhl + 1 + userData->length), location)) { in EncodeUcs2HeadPdu()
227 if (!buffer.InsertByte(static_cast<uint8_t>(udhl), location + 1)) { in EncodeUcs2HeadPdu()
232 if (!buffer.InsertByte(userData->length, location)) { in EncodeUcs2HeadPdu()
Dgsm_sms_tpdu_encode.cpp115 if (!buffer.InsertByte(HEX_VALUE_01, buffer.GetIndex())) { in EncodeSubmitTpduType()
126 if (!buffer.InsertByte(oneByte | HEX_VALUE_04, buffer.GetIndex())) { in EncodeSubmitTpduType()
146 if (!buffer.InsertByte(oneByte | HEX_VALUE_08, buffer.GetIndex())) { in EncodeSubmitTypePartData()
156 if (!buffer.InsertByte(oneByte | HEX_VALUE_10, buffer.GetIndex())) { in EncodeSubmitTypePartData()
166 if (!buffer.InsertByte(oneByte | HEX_VALUE_18, buffer.GetIndex())) { in EncodeSubmitTypePartData()
186 if (!buffer.InsertByte(oneByte | HEX_VALUE_20, buffer.GetIndex())) { in EncodeSubmitTypeData()
197 if (!buffer.InsertByte(oneByte | HEX_VALUE_40, buffer.GetIndex())) { in EncodeSubmitTypeData()
208 if (!buffer.InsertByte(oneByte | HEX_VALUE_80, buffer.GetIndex())) { in EncodeSubmitTypeData()
223 if (!buffer.InsertByte(0x00, buffer.GetIndex())) { in EncodeDeliverPdu()
235 if (!buffer.InsertByte(oneByte | HEX_VALUE_04, buffer.GetIndex())) { in EncodeDeliverPdu()
[all …]
Dgsm_sms_common_utils.cpp69 if (!buffer.InsertByte(oneByte, (buffer.GetIndex() - 1))) { in Pack7bitChar()
89 if (!buffer.InsertByte(oneByte, (buffer.GetIndex() - 1))) { in Pack7bitCharPartData()
/base/telephony/sms_mms/services/sms/include/
Dsms_pdu_buffer.h65 bool InsertByte(uint8_t v, uint16_t index);
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_parameter_record.cpp158 return pdu.InsertByte(len_, lenIndex); in Encode()
235 return pdu.InsertByte(len_, lenIndex); in Encode()
375 return pdu.InsertByte(len_, lenIndex); in Encode()
483 return pdu.InsertByte(len_, lenIndex); in Encode()
Dcdma_sms_sub_parameter.cpp387 return pdu.InsertByte(len_, lenIndex); in Encode()
1093 return pdu.InsertByte(len_, lenIndex); in Encode()
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/
Dsmspdubuffer_fuzzer.cpp108 buffer->InsertByte(data[i], i); in WriteBuffer()
/base/telephony/sms_mms/services/sms/
Dsms_pdu_buffer.cpp311 bool SmsWriteBuffer::InsertByte(uint8_t v, uint16_t index) in InsertByte() function in OHOS::Telephony::SmsWriteBuffer
/base/telephony/sms_mms/test/gtest/
Dcdma_sms_gtest.cpp179 EXPECT_TRUE(wBuffer->InsertByte(v, 1));
Dzero_branch_cdma_sms_test.cpp395 EXPECT_TRUE(buffer->InsertByte(v, i));
397 EXPECT_FALSE(buffer->InsertByte(v, pduLen));