Home
last modified time | relevance | path

Searched refs:charset (Results 1 – 25 of 33) 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.cpp154 void MmsAttachment::SetCharSet(uint32_t charset) in SetCharSet() argument
156 charset_ = charset; in SetCharSet()
Dmms_msg.cpp231 …ol MmsMsg::SetHeaderEncodedStringValue(uint8_t fieldId, const std::string &value, uint32_t charset) in SetHeaderEncodedStringValue() argument
233 return mmsHeader_.SetEncodeStringValue(fieldId, charset, value); in SetHeaderEncodedStringValue()
/base/telephony/sms_mms/interfaces/innerkits/
Dmms_address.h86 …void SetMmsAddressString(const std::string addressString, MmsCharSets charset = MmsCharSets::UTF_8…
94 MmsAddress(const std::string addressString, MmsCharSets charset = MmsCharSets::UTF_8);
Dmms_attachment.h152 void SetCharSet(uint32_t charset);
Dmms_msg.h232 bool SetHeaderEncodedStringValue(uint8_t fieldId, const std::string &value, uint32_t charset);
Dsms_service_manager_client.h275 … std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString);
Dsms_service_proxy.h247 …std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString) over…
Di_sms_service_interface.h357 … std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString) = 0;
/base/telephony/sms_mms/test/gtest/
Dmms_gtest.cpp221 MmsCharSets charset = address.GetAddressCharset(); variable
222 EXPECT_EQ(charset, MmsCharSets::UTF_8);
286 uint32_t charset = 0; variable
296 attachment.SetCharSet(charset);
298 EXPECT_EQ(charset, retU32t);
394 uint32_t charset = 10; variable
398 mmsContentParam.SetCharSet(charset);
400 EXPECT_EQ(charset, retU32t);
506 uint32_t charset = 10; variable
513 bool ret = mmsEncodeString1.SetEncodeString(charset, testStr);
/base/telephony/sms_mms/services/sms/
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.h44 bool SetEncodeStringValue(uint8_t fieldId, uint32_t charset, const std::string &value);
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_mms.h51 int32_t charset = DEFAULT_ERROR; member
65 int32_t charset = DEFAULT_ERROR; member
104 uint32_t charset = DEFAULT_ERROR; member
/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/interfaces/kits/js/
D@ohos.telephony.sms.d.ts1793 charset?: MmsCharSets; property
1823 charset: MmsCharSets; property
/base/telephony/sms_mms/frameworks/native/sms/src/
Dsms_service_manager_client.cpp266 std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString) in GetEncodeStringFunc() argument
269 …return smsServiceInterface_->GetEncodeStringFunc(encodeString, charset, valLength, strEncodeString… in GetEncodeStringFunc()
/base/telephony/sms_mms/test/fuzztest/getsmssegmentsinfo_fuzzer/
Dgetsmssegmentsinfo_fuzzer.cpp245 int32_t charset = static_cast<int32_t>(size); in GetEncodeStringFunc() local
249 dataParcel.WriteInt32(charset); in GetEncodeStringFunc()
/base/telephony/sms_mms/utils/
Dtext_coder.h33 …std::string &encodeString, uint32_t charset, uint32_t valLength, const std::string &strEncodeStrin…
/base/telephony/sms_mms/services/sms/include/
Dsms_service.h288 …std::string &encodeString, uint32_t charset, uint32_t valLength, std::string strEncodeString) over…

12