/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/src/ |
H A D | mms_encode_buffer.cpp | 118 if (!WriteByte(value)) { in EncodeShortLength() 156 if (!WriteByte(value)) { in EncodeOctet() 182 if (!WriteByte(lengthQuote)) { in EncodeValueLength() 231 if (!WriteByte(count)) { in EncodeLongInteger() 237 if (!WriteByte(result[i])) { in EncodeLongInteger() 264 if (!WriteByte(quoteText)) { in EncodeText() 270 if (!WriteByte(value.at(i))) { in EncodeText() 275 if (!WriteByte(0)) { in EncodeText() 296 if (!WriteByte('\"')) { in EncodeQuotedText() 306 if (!WriteByte(0)) { in EncodeQuotedText() [all …]
|
H A D | mms_body_part_header.cpp | 377 …if (!encodeBuffer.WriteByte(static_cast<uint8_t>(MmsHeaderParam::P_CONTENT_LOCATION_V2) | setHighe… in EncodeContentLocation() 404 …if (!encodeBuffer.WriteByte(static_cast<uint8_t>(MmsHeaderParam::P_CONTENT_ID) | setHighestBitOne)… in EncodeContentId() 437 …if (!encodeBuffer.WriteByte(static_cast<uint8_t>(MmsHeaderParam::P_CONTENT_DISPOSITION_V1) | setHi… in EncodeContentDisposition() 446 … if (!encodeBuffer.WriteByte(static_cast<uint8_t>(MmsDispositonParam::P_DISPOSITION_FROM_DATA))) { in EncodeContentDisposition() 453 … if (!encodeBuffer.WriteByte(static_cast<uint8_t>(MmsDispositonParam::P_DISPOSITION_ATTACHMENT))) { in EncodeContentDisposition() 460 … if (!encodeBuffer.WriteByte(static_cast<uint8_t>(MmsDispositonParam::P_DISPOSITION_INLINE))) { in EncodeContentDisposition()
|
H A D | mms_content_type.cpp | 407 if (!encodeBuffer.WriteByte(fields[i])) { in EncodeTextField() 434 if (!encodeBuffer.WriteByte(static_cast<uint8_t>(ContentParam::CT_P_CHARSET))) { in EncodeCharsetField() 459 if (!encodeBuffer.WriteByte(static_cast<uint8_t>(ContentParam::CT_P_TYPE))) { in EncodeTypeField() 529 if (!tmpEncodeBuffer.WriteByte(static_cast<uint8_t>(u8ContentType) | 0x80)) { in EncodeMmsBodyPartContentType()
|
H A D | mms_header.cpp | 1068 if (!buff.WriteByte(fieldId)) { in EncodeOctetValue() 1072 if (!buff.WriteByte(value)) { in EncodeOctetValue() 1081 if (!buff.WriteByte(fieldId)) { in EncodeShortIntegerValue() 1098 if (!buff.WriteByte(fieldId)) { in EncodeTextStringValue() 1121 if (!buff.WriteByte(fieldId)) { in EncodeEncodeStringValue() 1134 if (!buff.WriteByte(fieldId)) { in EncodeLongIntergerValue() 1217 if (!buff.WriteByte(MMS_EXPIRY)) { in EncodeFieldExpriyValue() 1258 if (!buff.WriteByte(MMS_FROM)) { in EncodeFieldFromValue() 1267 if (!tempBuff.WriteByte(insertAddressToken)) { in EncodeFieldFromValue() 1272 if (!tempBuff.WriteByte(addressPresentToken)) { in EncodeFieldFromValue() [all …]
|
H A D | mms_body.cpp | 125 if (!encodeBuffer.WriteByte((int8_t)(MMS_CONTENT_TYPE))) { in EncodeMmsHeaderContentType()
|
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_user_data_pdu.cpp | 202 if (!buffer.WriteByte(HEX_VALUE_01)) { in EncodeHeader() 216 if (!buffer.WriteByte(HEX_VALUE_01)) { in EncodeHeader() 232 if (!buffer.WriteByte(UDH_APP_PORT_8BIT)) { in EncodeHeaderAppPort8bit() 236 if (!buffer.WriteByte(HEX_VALUE_02)) { in EncodeHeaderAppPort8bit() 252 if (!buffer.WriteByte(UDH_APP_PORT_16BIT)) { in EncodeHeaderAppPort16bit() 256 if (!buffer.WriteByte(HEX_VALUE_04)) { in EncodeHeaderAppPort16bit() 292 if (!buffer.WriteByte(addrLen)) { in EncodeHeaderReplyAddress() 323 if (!buffer.WriteByte(UDH_CONCAT_8BIT)) { in EncodeHeaderConcat8Bit() 327 if (!buffer.WriteByte(HEX_VALUE_03)) { in EncodeHeaderConcat8Bit() 347 if (!buffer.WriteByte(UDH_CONCAT_16BIT)) { in EncodeHeaderConcat16Bit() [all …]
|
H A D | gsm_sms_tpdu_encode.cpp | 47 if (!buffer.WriteByte(pSubmit->msgRef)) { in EncodeSubmitPdu() 70 if (!buffer.WriteByte(pSubmit->pid)) { in EncodeSubmitPdu() 281 if (!buffer.WriteByte(oneByte | HEX_VALUE_80)) { in EncodeDeliverPartData() 306 if (!buffer.WriteByte(pDeliver->pid)) { in EncodeDeliverPartData() 381 if (!buffer.WriteByte(pDeliverRep->failCause)) { in EncodeDeliverReportPdu() 388 if (!buffer.WriteByte(pDeliverRep->paramInd)) { in EncodeDeliverReportPdu() 394 if (!buffer.WriteByte(pDeliverRep->pid)) { in EncodeDeliverReportPdu() 480 if (!buffer.WriteByte(pStatusRep->msgRef)) { in EncodeStatusReportPdu() 552 if (!buffer.WriteByte(pStatusRep->status)) { in EncodeStatusReportData() 557 if (!buffer.WriteByte(pStatusRep->paramInd)) { in EncodeStatusReportData() [all …]
|
H A D | gsm_sms_common_utils.cpp | 46 if (!buffer.WriteByte(userData[srcIdx])) { in Pack7bitChar() 99 if (!buffer.WriteByte(oneByte | nextByte)) { in Pack7bitCharPartData()
|
/ohos5.0/base/telephony/sms_mms/services/sms/cdma/ |
H A D | cdma_sms_sub_parameter.cpp | 52 if (pdu.WriteByte(id_) && pdu.WriteByte(len_) && pdu.WriteByte(data_)) { in Encode() 106 if (pdu.WriteByte(id_) && pdu.WriteByte(len_)) { in Encode() 165 if (pdu.WriteByte(id_) && pdu.WriteByte(len_)) { in Encode() 167 pdu.WriteByte(EncodeBCD(time_.day)) && pdu.WriteByte(EncodeBCD(time_.hour)) && in Encode() 226 if (pdu.WriteByte(id_) && pdu.WriteByte(len_)) { in Encode() 267 if (pdu.WriteByte(id_) && pdu.WriteByte(len_)) { in Encode() 308 if (pdu.WriteByte(id_) && pdu.WriteByte(len_)) { in Encode() 976 if (pdu.WriteByte(id_) && pdu.WriteByte(len_)) { in Encode() 1017 … if (pdu.WriteByte(id_) && pdu.WriteByte(len_) && pdu.WriteByte(static_cast<uint8_t>(language_))) { in Encode() 1160 if (pdu.WriteByte(id_) && pdu.WriteByte(len_) && pdu.WriteWord(index_)) { in Encode() [all …]
|
H A D | cdma_sms_parameter_record.cpp | 47 if (pdu.WriteByte(id_) && pdu.WriteByte(len_) && pdu.WriteWord(teleserviceId_)) { in Encode() 77 if (pdu.WriteByte(id_) && pdu.WriteByte(len_) && pdu.WriteWord(serviceCat_)) { in Encode() 107 if (pdu.WriteByte(id_) && pdu.WriteByte(len_) && pdu.WriteBits(replySeq_, BIT6)) { in Encode() 142 if (!pdu.WriteByte(id_)) { in Encode() 211 if (!pdu.WriteByte(id_)) { in Encode() 352 if (!pdu.WriteByte(id_)) { in Encode() 473 if (!pdu.WriteByte(id_)) { in Encode()
|
H A D | cdma_sms_transport_message.cpp | 45 if (!pdu.WriteByte(type_)) { in Encode()
|
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/include/ |
H A D | mms_encode_buffer.h | 27 bool WriteByte(uint8_t byte);
|
/ohos5.0/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_pdu_buffer.h | 60 bool WriteByte(uint8_t v);
|
/ohos5.0/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/ |
H A D | smspdubuffer_fuzzer.cpp | 86 buffer->WriteByte(data[i]); in WriteBuffer()
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/ |
H A D | js_buffer.h | 86 void WriteByte(uint8_t number, uint32_t offset);
|
H A D | js_buffer.cpp | 288 WriteByte(value, index); in Set() 318 void Buffer::WriteByte(uint8_t number, uint32_t offset) in WriteByte() function in OHOS::buffer::Buffer
|
/ohos5.0/base/telephony/sms_mms/services/sms/ |
H A D | sms_pdu_buffer.cpp | 253 bool SmsWriteBuffer::WriteByte(uint8_t v) in WriteByte() function in OHOS::Telephony::SmsWriteBuffer
|
/ohos5.0/base/telephony/sms_mms/test/gtest/ |
H A D | zero_branch_cdma_sms_test.cpp | 405 EXPECT_TRUE(buffer->WriteByte(v)); 409 EXPECT_FALSE(buffer->WriteByte(v)); 430 EXPECT_FALSE(buffer->WriteByte(v));
|
H A D | cdma_sms_gtest.cpp | 259 EXPECT_TRUE(wBuffer->WriteByte(v));
|
H A D | zero_branch_sms_test.cpp | 1746 buffer.WriteByte(v);
|