Home
last modified time | relevance | path

Searched refs:udhBytes (Results 1 – 2 of 2) sorted by relevance

/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_sub_parameter.cpp402 uint8_t udhBytes = headerPdu.GetIndex(); in EncodeHeader7Bit() local
403 if (udhBytes > 0) { in EncodeHeader7Bit()
404 uint8_t udhLen = (udhBytes + 1) * BIT8 / BIT7; in EncodeHeader7Bit()
406 uint8_t ignoredBits = BIT7 - (udhBytes + 1) * BIT8 % BIT7; in EncodeHeader7Bit()
415 if (!pdu.WriteBits(numFields, BIT8) || !pdu.WriteBits(udhBytes, BIT8)) { in EncodeHeader7Bit()
420 for (uint8_t i = 0; i < udhBytes; i++) { in EncodeHeader7Bit()
494 uint8_t udhBytes = headerPdu.GetIndex(); in EncodeHeaderUnicode() local
496 if (udhBytes > 0) { in EncodeHeaderUnicode()
497 numFields = (udhBytes + data_.userData.length) / HEX_STEP + 1; in EncodeHeaderUnicode()
498 if (!pdu.WriteBits(numFields, BIT8) || !pdu.WriteBits(udhBytes, BIT8)) { in EncodeHeaderUnicode()
[all …]
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_sub_parameter.h155 bool DecodeAscii7Bit(SmsReadBuffer &pdu, uint8_t numFields, uint8_t udhBytes);
156 bool DecodeGsm7Bit(SmsReadBuffer &pdu, uint8_t numFields, uint8_t udhBytes);