Home
last modified time | relevance | path

Searched refs:bcdLen (Results 1 – 4 of 4) sorted by relevance

/base/telephony/sms_mms/utils/
Dsms_common_utils.h32 static int BcdToDigit(const unsigned char *bcd, int bcdLen, char *digit);
33 static int BcdToDigitCdma(const unsigned char *bcd, int bcdLen, char *digit);
Dsms_common_utils.cpp134 int SmsCommonUtils::BcdToDigit(const unsigned char *bcd, int bcdLen, char *digit) in BcdToDigit() argument
141 for (int i = 0; i < bcdLen; i++) { in BcdToDigit()
155 int SmsCommonUtils::BcdToDigitCdma(const unsigned char *bcd, int bcdLen, char *digit) in BcdToDigitCdma() argument
163 for (int i = 0; i < bcdLen; i++) { in BcdToDigitCdma()
/base/telephony/sms_mms/services/gsm/
Dgsm_sms_param_codec.cpp247 int bcdLen = 0; in DecodeAddress() local
263 bcdLen = addrLen / HEX_BYTE_STEP; in DecodeAddress()
265 bcdLen = addrLen / HEX_BYTE_STEP + 1; in DecodeAddress()
291 SmsCommonUtils::BcdToDigit(&(pTpdu[offset]), bcdLen, &((pAddress->address)[1])); in DecodeAddress()
296 SmsCommonUtils::BcdToDigit(&(pTpdu[offset]), bcdLen, &((pAddress->address)[0])); in DecodeAddress()
299 offset += bcdLen; in DecodeAddress()
/base/telephony/sms_mms/services/cdma/
Dcdma_sms_pdu_codec.cpp929 int bcdLen = enhancedVmn.anNumField / HEX_BYTE_STEP; in DecodeP2PEnhancedVmn() local
930 bcdLen = (enhancedVmn.anNumField % HEX_BYTE_STEP == 0) ? bcdLen : bcdLen + 1; in DecodeP2PEnhancedVmn()
931 …SmsCommonUtils::BcdToDigitCdma(&(tempStr[tempOff]), bcdLen, reinterpret_cast<char *>(enhancedVmn.a… in DecodeP2PEnhancedVmn()
959 int bcdLen = tempStr[tempOff++] / HEX_BYTE_STEP; in DecodeP2PEnhancedVmn() local
960 bcdLen = (enhancedVmn.cliNumField % HEX_BYTE_STEP == 0) ? bcdLen : bcdLen + 1; in DecodeP2PEnhancedVmn()
962 …SmsCommonUtils::BcdToDigitCdma(&(tempStr[tempOff]), bcdLen, reinterpret_cast<char *>(enhancedVmn.a… in DecodeP2PEnhancedVmn()
1507 … int bcdLen = (transAddr.addrLen % HEX_BYTE_STEP == 0) ? transAddr.addrLen : transAddr.addrLen + 1; in DecodeAddress() local
1509 SmsCommonUtils::BcdToDigitCdma(&(tempStr[1]), bcdLen, transAddr.szData); in DecodeAddress()
1636 int bcdLen = svcAddr.addrLen / HEX_BYTE_STEP; in DecodeCallBackNum() local
1637 bcdLen = (svcAddr.addrLen % HEX_BYTE_STEP == 0) ? bcdLen : bcdLen + 1; in DecodeCallBackNum()
[all …]