Home
last modified time | relevance | path

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

/base/telephony/sms_mms/services/sms/
Dsms_base_message.cpp401 uint8_t decodeData[(MAX_GSM_7BIT_DATA_LEN * MAX_SEGMENT_NUM) + 1]; in SplitMessage() local
402 if (memset_s(decodeData, sizeof(decodeData), 0x00, sizeof(decodeData)) != EOK) { in SplitMessage()
411 … encodeLen = DecodeMessage(decodeData, sizeof(decodeData), codingType, msgText, bAbnormal, langId); in SplitMessage()
437 … splitInfo.encodeData = std::vector<uint8_t>(&decodeData[index], &decodeData[index] + userDataLen); in SplitMessage()
446 uint8_t decodeData[(MAX_GSM_7BIT_DATA_LEN * MAX_SEGMENT_NUM) + 1]; in GetSmsSegmentsInfo() local
447 if (memset_s(decodeData, sizeof(decodeData), 0x00, sizeof(decodeData)) != EOK) { in GetSmsSegmentsInfo()
459 … encodeLen = DecodeMessage(decodeData, sizeof(decodeData), codingType, message, bAbnormal, langId); in GetSmsSegmentsInfo()
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_message.cpp532 int CdmaSmsMessage::DecodeMessage(uint8_t *decodeData, unsigned int len, DataCodingScheme &codingTy… in DecodeMessage() argument
551 if (memcpy_s(decodeData, maxDecodeLen, pMsgText, dataLen) != EOK) { in DecodeMessage()
560 if (memcpy_s(decodeData, maxDecodeLen, pMsgText, dataLen) != EOK) { in DecodeMessage()
568 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()
573 …decodeLen = TextCoder::Instance().CdmaUtf8ToAuto(decodeData, maxDecodeLen, pMsgText, dataLen, codi… in DecodeMessage()
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_message.h90 … virtual int DecodeMessage(uint8_t *decodeData, unsigned int length, DataCodingScheme &codingType,
/base/telephony/sms_mms/utils/
Dtext_coder.cpp194 gchar *decodeData = reinterpret_cast<gchar *>(g_base64_decode(src.data(), &out_len)); in Base64Decode() local
195 if (decodeData == nullptr) { in Base64Decode()
198 std::string temp(decodeData, out_len); in Base64Decode()
201 if (decodeData != nullptr) { in Base64Decode()
202 g_free(decodeData); in Base64Decode()
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_message.cpp684 int GsmSmsMessage::DecodeMessage(uint8_t *decodeData, unsigned int len, DataCodingScheme &codingTyp… in DecodeMessage() argument
700 decodeData, maxDecodeLen, const_cast<uint8_t *>(pMsgText), dataLen, langId); in DecodeMessage()
708 if (memcpy_s(decodeData, maxDecodeLen, pMsgText, dataLen) != EOK) { in DecodeMessage()
716 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()
722 …decodeLen = TextCoder::Instance().GsmUtf8ToAuto(decodeData, maxDecodeLen, pMsgText, dataLen, encod… in DecodeMessage()
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_message.h76 … virtual int DecodeMessage(uint8_t *decodeData, unsigned int length, DataCodingScheme &codingType,
/base/telephony/sms_mms/services/sms/include/
Dsms_base_message.h142 … virtual int DecodeMessage(uint8_t *decodeData, unsigned int length, DataCodingScheme &codingType,