Searched refs:langInfo (Results 1 – 6 of 6) sorted by relevance
/base/telephony/sms_mms/utils/ |
D | text_coder.h | 38 …Utf8(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, const MsgLangInfo &langInfo); 56 …Ucs2(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, const MsgLangInfo &langInfo); 57 …int EscapeTurkishLockingToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16… 58 …int EscapePortuLockingToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16_t… 59 …int EscapeGsm7bitToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16_t &res… 60 uint16_t EscapeToUcs2(const uint8_t srcText, const MsgLangInfo &langInfo);
|
D | text_coder.cpp | 392 uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, const MsgLangInfo &langInfo) in Gsm7bitToUtf8() argument 412 …2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR), src, srcLength, langInfo); in Gsm7bitToUtf8() 767 uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, const MsgLangInfo &langInfo) in Gsm7bitToUcs2() argument 783 if (langInfo.bLockingShift) { in Gsm7bitToUcs2() 784 TELEPHONY_LOGI("National Language Locking Shift [%{public}d]", langInfo.lockingLang); in Gsm7bitToUcs2() 785 if (langInfo.lockingLang == MSG_ID_TURKISH_LANG) { in Gsm7bitToUcs2() 786 i += EscapeTurkishLockingToUcs2(&src[i], (srcLength - i), langInfo, result); in Gsm7bitToUcs2() 789 } else if (langInfo.lockingLang == MSG_ID_PORTUGUESE_LANG) { in Gsm7bitToUcs2() 790 i += EscapePortuLockingToUcs2(&src[i], (srcLength - i), langInfo, result); in Gsm7bitToUcs2() 795 i += EscapeGsm7bitToUcs2(&src[i], (srcLength - i), langInfo, result); in Gsm7bitToUcs2() [all …]
|
/base/telephony/sms_mms/services/sms/ |
D | sms_base_message.cpp | 364 MsgLangInfo langInfo = { in ConvertSpiltToUtf8() local 367 langInfo.bSingleShift = false; in ConvertSpiltToUtf8() 368 langInfo.bLockingShift = false; in ConvertSpiltToUtf8() 370 buff, MAX_MSG_TEXT_LEN, split.encodeData.data(), split.encodeData.size(), langInfo); in ConvertSpiltToUtf8()
|
D | gsm_cb_codec.cpp | 197 MsgLangInfo langInfo; in ConvertToUTF8() local 201 …odeSize = TextCoder::Instance().Gsm7bitToUtf8(outBuf, sizeof(outBuf), src, raw.length(), langInfo); in ConvertToUTF8()
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_param_decode.cpp | 80 MsgLangInfo langInfo; in DecodeAddressAlphaNum() local 81 langInfo.bSingleShift = false; in DecodeAddressAlphaNum() 82 langInfo.bLockingShift = false; in DecodeAddressAlphaNum() 84 …einterpret_cast<uint8_t *>(resultNum->address), MAX_ADDRESS_LEN, tmresultNum, tmplength, langInfo); in DecodeAddressAlphaNum()
|
D | gsm_sms_message.cpp | 573 MsgLangInfo langInfo; in ConvertUserPartData() local 576 langInfo.bSingleShift = true; in ConvertUserPartData() 577 langInfo.singleLang = langId; in ConvertUserPartData() 580 …, MAX_MSG_TEXT_LEN, reinterpret_cast<uint8_t *>(smsUserData_.data), smsUserData_.length, langInfo); in ConvertUserPartData()
|