Searched refs:decodeData (Results 1 – 7 of 7) sorted by relevance
/base/telephony/sms_mms/services/ |
D | sms_base_message.cpp | 396 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/ |
D | cdma_sms_message.cpp | 543 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/ |
D | gsm_sms_message.cpp | 658 int GsmSmsMessage::DecodeMessage(unsigned char *decodeData, unsigned int len, SmsCodingScheme &codi… in DecodeMessage() argument 678 … decodeData, 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/ |
D | gsm_sms_message.h | 93 …virtual int DecodeMessage(unsigned char *decodeData, unsigned int length, SmsCodingScheme &codingT…
|
/base/telephony/sms_mms/services/include/cdma/ |
D | cdma_sms_message.h | 80 …virtual int DecodeMessage(unsigned char *decodeData, unsigned int length, SmsCodingScheme &codingT…
|
/base/telephony/sms_mms/utils/ |
D | msg_text_convert.cpp | 1163 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/ |
D | sms_base_message.h | 143 …virtual int DecodeMessage(unsigned char *decodeData, unsigned int length, SmsCodingScheme &codingT…
|