Home
last modified time | relevance | path

Searched refs:decodeData (Results 1 – 7 of 7) sorted by relevance

/base/telephony/sms_mms/services/
Dsms_base_message.cpp396 unsigned char decodeData[(MAX_GSM_7BIT_DATA_LEN * MAX_SEGMENT_NUM) + 1]; in SplitMessage() local
397 if (memset_s(decodeData, sizeof(decodeData), 0x00, sizeof(decodeData)) != EOK) { in SplitMessage()
406 … encodeLen = DecodeMessage(decodeData, sizeof(decodeData), codingType, msgText, bAbnormal, langId); in SplitMessage()
432 … splitInfo.encodeData = std::vector<uint8_t>(&decodeData[index], &decodeData[index] + userDataLen); in SplitMessage()
441 unsigned char decodeData[(MAX_GSM_7BIT_DATA_LEN * MAX_SEGMENT_NUM) + 1]; in GetSmsSegmentsInfo() local
442 if (memset_s(decodeData, sizeof(decodeData), 0x00, sizeof(decodeData)) != EOK) { in GetSmsSegmentsInfo()
454 … encodeLen = DecodeMessage(decodeData, sizeof(decodeData), codingType, message, bAbnormal, langId); in GetSmsSegmentsInfo()
/base/telephony/sms_mms/services/cdma/
Dcdma_sms_message.cpp543 int CdmaSmsMessage::DecodeMessage(unsigned char *decodeData, unsigned int len, SmsCodingScheme &cod… in DecodeMessage() argument
567 if (memcpy_s(decodeData, maxDecodeLen, pMsgText, dataLen) != EOK) { in DecodeMessage()
576 if (memcpy_s(decodeData, maxDecodeLen, pMsgText, dataLen) != EOK) { in DecodeMessage()
584 decodeLen = textCvt->ConvertUTF8ToUCS2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()
589 …decodeLen = textCvt->ConvertCdmaUTF8ToAuto(decodeData, maxDecodeLen, pMsgText, dataLen, &codingTyp… in DecodeMessage()
/base/telephony/sms_mms/services/gsm/
Dgsm_sms_message.cpp658 int GsmSmsMessage::DecodeMessage(unsigned char *decodeData, unsigned int len, SmsCodingScheme &codi… in DecodeMessage() argument
678decodeData, maxDecodeLen, const_cast<unsigned char *>(pMsgText), dataLen, &langId, &bAbnormal); in DecodeMessage()
687 if (memcpy_s(decodeData, maxDecodeLen, pMsgText, dataLen) != EOK) { in DecodeMessage()
695 decodeLen = textCvt->ConvertUTF8ToUCS2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()
701 …decodeLen = textCvt->ConvertGsmUTF8ToAuto(decodeData, maxDecodeLen, pMsgText, dataLen, &encodeType… in DecodeMessage()
/base/telephony/sms_mms/services/include/gsm/
Dgsm_sms_message.h93 …virtual int DecodeMessage(unsigned char *decodeData, unsigned int length, SmsCodingScheme &codingT…
/base/telephony/sms_mms/services/include/cdma/
Dcdma_sms_message.h80 …virtual int DecodeMessage(unsigned char *decodeData, unsigned int length, SmsCodingScheme &codingT…
/base/telephony/sms_mms/utils/
Dmsg_text_convert.cpp1163 char *decodeData = reinterpret_cast<char *>(g_base64_decode(src.data(), &out_len)); in Base64Decode() local
1164 if (decodeData == nullptr) { in Base64Decode()
1167 std::string temp(decodeData, out_len); in Base64Decode()
1170 if (decodeData != nullptr) { in Base64Decode()
1171 g_free(decodeData); in Base64Decode()
/base/telephony/sms_mms/services/include/
Dsms_base_message.h143 …virtual int DecodeMessage(unsigned char *decodeData, unsigned int length, SmsCodingScheme &codingT…