Searched refs:InsertByte (Results 1 – 10 of 10) sorted by relevance
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_user_data_encode.cpp | 84 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()
|
D | gsm_sms_tpdu_encode.cpp | 115 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 …]
|
D | gsm_sms_common_utils.cpp | 69 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/ |
D | sms_pdu_buffer.h | 65 bool InsertByte(uint8_t v, uint16_t index);
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_parameter_record.cpp | 158 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()
|
D | cdma_sms_sub_parameter.cpp | 387 return pdu.InsertByte(len_, lenIndex); in Encode() 1093 return pdu.InsertByte(len_, lenIndex); in Encode()
|
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/ |
D | smspdubuffer_fuzzer.cpp | 108 buffer->InsertByte(data[i], i); in WriteBuffer()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_pdu_buffer.cpp | 311 bool SmsWriteBuffer::InsertByte(uint8_t v, uint16_t index) in InsertByte() function in OHOS::Telephony::SmsWriteBuffer
|
/base/telephony/sms_mms/test/gtest/ |
D | cdma_sms_gtest.cpp | 179 EXPECT_TRUE(wBuffer->InsertByte(v, 1));
|
D | zero_branch_cdma_sms_test.cpp | 395 EXPECT_TRUE(buffer->InsertByte(v, i)); 397 EXPECT_FALSE(buffer->InsertByte(v, pduLen));
|