Home
last modified time | relevance | path

Searched refs:charset (Results 1 – 25 of 32) sorted by relevance

12

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_encode_string.cpp67 uint64_t charset = 0; in DecodeEncodeString() local
68 if (!decodeBuffer.DecodeInteger(charset)) { in DecodeEncodeString()
72 charset_ = static_cast<uint32_t>(charset); in DecodeEncodeString()
130 bool MmsEncodeString::SetEncodeString(uint32_t charset, const std::string &encodeString) in SetEncodeString() argument
135 if (charset == 0) { in SetEncodeString()
136 charset = CHARSET_UTF8; in SetEncodeString()
138 charset_ = charset; in SetEncodeString()
Dmms_address.cpp24 MmsAddress::MmsAddress(const std::string addressString, MmsCharSets charset) in MmsAddress() argument
25 : addressString_(addressString), charset_(charset) in MmsAddress()
34 void MmsAddress::SetMmsAddressString(const std::string addressString, MmsCharSets charset) in SetMmsAddressString() argument
37 charset_ = charset; in SetMmsAddressString()
Dmms_content_param.cpp49 void MmsContentParam::SetCharSet(uint32_t charset) in SetCharSet() argument
51 charset_ = charset; in SetCharSet()
Dmms_content_type.cpp309 int32_t charset = 0; in DecodeCharsetField() local
331 charset = static_cast<int32_t>(tmpCharSet); in DecodeCharsetField()
339 charset = (int32_t)tmp; in DecodeCharsetField()
343 msgContentParm_.SetCharSet(charset); in DecodeCharsetField()
Dmms_attachment.cpp150 void MmsAttachment::SetCharSet(uint32_t charset) in SetCharSet() argument
152 charset_ = charset; in SetCharSet()
Dmms_msg.cpp230 …ol MmsMsg::SetHeaderEncodedStringValue(uint8_t fieldId, const std::string &value, uint32_t charset) in SetHeaderEncodedStringValue() argument
232 return mmsHeader_.SetEncodeStringValue(fieldId, charset, value); in SetHeaderEncodedStringValue()
/base/telephony/sms_mms/interfaces/innerkits/
Dmms_address.h65 …void SetMmsAddressString(const std::string addressString, MmsCharSets charset = MmsCharSets::UTF_8…
73 MmsAddress(const std::string addressString, MmsCharSets charset = MmsCharSets::UTF_8);
Dmms_attachment.h152 void SetCharSet(uint32_t charset);
Dmms_msg.h243 bool SetHeaderEncodedStringValue(uint8_t fieldId, const std::string &value, uint32_t charset);
Dsms_service_manager_client.h63 … std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString);
Dsms_service_proxy.h240 …std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString) over…
Di_sms_service_interface.h304 … std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString) = 0;
/base/telephony/sms_mms/services/
Dsms_wap_push_content_type.cpp296 int32_t charset = 0; in DecodeCharsetField() local
316 charset = static_cast<int32_t>(tmpCharSet); in DecodeCharsetField()
324 charset = static_cast<int32_t>(temp); in DecodeCharsetField()
328 charset_ = static_cast<uint32_t>(charset); in DecodeCharsetField()
/base/telephony/sms_mms/frameworks/native/mms/include/
Dmms_encode_string.h35 bool SetEncodeString(uint32_t charset, const std::string &encodeStringt);
Dmms_content_param.h72 void SetCharSet(uint32_t charset);
Dmms_header.h43 bool SetEncodeStringValue(uint8_t fieldId, uint32_t charset, const std::string &value);
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_mms.h62 int32_t charset = DEFAULT_ERROR; member
76 int32_t charset = DEFAULT_ERROR; member
115 uint32_t charset; member
/base/telephony/sms_mms/frameworks/native/sms/src/
Dsms_service_manager_client.cpp241 std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString) in GetEncodeStringFunc() argument
244 …return smsServiceInterface_->GetEncodeStringFunc(encodeString, charset, valLength, strEncodeString… in GetEncodeStringFunc()
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts528 charset?: MmsCharSets; property
537 charset: MmsCharSets; property
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DMeasureFormatPatternFetcher.java25 import java.nio.charset.StandardCharsets;
DPluralFetcher.java25 import java.nio.charset.StandardCharsets;
/base/telephony/sms_mms/utils/
Dmsg_text_convert.h54 …std::string &encodeString, uint32_t charset, uint32_t valLength, const std::string &strEncodeStrin…
/base/telephony/sms_mms/test/gtest/
Dsms_mms_gtest.cpp1963 MmsCharSets charset = address.GetAddressCharset(); variable
1964 EXPECT_EQ(charset, MmsCharSets::UTF_8);
2028 uint32_t charset = 0; variable
2038 attachment.SetCharSet(charset);
2040 EXPECT_EQ(charset, retU32t);
2136 uint32_t charset = 10; variable
2140 mmsContentParam.SetCharSet(charset);
2142 EXPECT_EQ(charset, retU32t);
2248 uint32_t charset = 10; variable
2255 bool ret = mmsEncodeString1.SetEncodeString(charset, testStr);
/base/telephony/sms_mms/services/include/
Dsms_service.h288 …std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString) over…
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms.cpp281 attachmentContext.charset = static_cast<int32_t>(it.GetCharSet()); in getAttachmentByDecodeMms()
350 NapiUtil::SetPropertyInt32(env, attachment, "charset", context.charset); in CreateAttachmentValue()
819 int32_t charset = GetNapiInt32Value(env, value, "charset"); in ReadMmsAddress() local
820 MmsAddress mmsAddress(address, formatMmsCharSet(charset)); in ReadMmsAddress()
909 …notificationInd.charset = GetNapiUint32Value(env, napiValue, "charset", static_cast<uint32_t>(MmsC… in ReadEncodeMmsType()
1033 …attachmentContext.charset = GetNapiInt32Value(env, value, "charset", static_cast<int32_t>(MmsCharS… in BuildMmsAttachment()
1141 if (it->charset != DEFAULT_ERROR) { in setAttachmentToCore()
1142 itAttachment.SetCharSet(it->charset); in setAttachmentToCore()

12