Searched refs:MAX_ADDRESS_LEN (Results 1 – 4 of 4) sorted by relevance
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_param_decode.cpp | 42 if (!buffer.ReadByte(oneByte) || oneByte >= BCD_TO_DIGITAL * (MAX_ADDRESS_LEN + 1)) { in DecodeAddressPdu() 72 uint8_t tmresultNum[MAX_ADDRESS_LEN] = { 0 }; in DecodeAddressAlphaNum() 76 if (!utils.Unpack7bitChar(buffer, dataLen, 0x00, tmresultNum, MAX_ADDRESS_LEN, tmplength)) { in DecodeAddressAlphaNum() 84 …reinterpret_cast<uint8_t *>(resultNum->address), MAX_ADDRESS_LEN, tmresultNum, tmplength, langInfo… in DecodeAddressAlphaNum() 94 uint8_t bcdArr[MAX_ADDRESS_LEN + 1] = { 0 }; in DecodeAddressInternationalNum() 95 while (index < bcdLen && index < MAX_ADDRESS_LEN) { in DecodeAddressInternationalNum() 109 for (uint8_t i = 0; i < addrNum.size() && i < MAX_ADDRESS_LEN; i++) { in DecodeAddressInternationalNum() 124 uint8_t bcdArr[MAX_ADDRESS_LEN + 1] = { 0 }; in DecodeAddressDefaultNum() 125 while (index < bcdLen && index < MAX_ADDRESS_LEN) { in DecodeAddressDefaultNum() 138 for (uint8_t i = 0; i < addrNum.size() && i < MAX_ADDRESS_LEN; i++) { in DecodeAddressDefaultNum() [all …]
|
D | gsm_sms_message.cpp | 43 int ret = memset_s(replyAddr.address, sizeof(replyAddr.address), 0x00, MAX_ADDRESS_LEN + 1); in CalcReplyEncodeAddress() 48 …et = memcpy_s(replyAddr.address, sizeof(replyAddr.address), replyAddress.c_str(), MAX_ADDRESS_LEN); in CalcReplyEncodeAddress() 70 if (addLen < MAX_ADDRESS_LEN) { in SetSmsTpduDestAddress() 81 desAddr.c_str(), MAX_ADDRESS_LEN); in SetSmsTpduDestAddress() 84 desAddr.c_str(), MAX_ADDRESS_LEN - 1); in SetSmsTpduDestAddress() 90 tPdu->data.submit.destAddress.address[MAX_ADDRESS_LEN] = '\0'; in SetSmsTpduDestAddress() 164 MAX_ADDRESS_LEN + 1); in SetHeaderReply()
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_pdu_code_type.h | 23 static constexpr uint8_t MAX_ADDRESS_LEN = 21; variable
|
/base/telephony/sms_mms/services/sms/ |
D | sms_interface_stub.cpp | 209 if (desAddr.empty() || desAddr.size() >= MAX_ADDRESS_LEN) { in RemoveSpacesInDesAddr()
|