Home
last modified time | relevance | path

Searched refs:ToUtf8 (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/base/telephony/sms_mms/services/mms/
H A Dmms_send_manager.cpp46 …StringUtils::ToUtf8(mmsc), StringUtils::ToUtf8(data), StringUtils::ToUtf8(ua), StringUtils::ToUtf8 in SendMms()
H A Dmms_receive_manager.cpp46 StringUtils::ToUtf8(mmsc), dataPdu, StringUtils::ToUtf8(ua), StringUtils::ToUtf8(uaprof)); in DownloadMms()
H A Dmms_apn_info.cpp118 std::string mccmnc = StringUtils::ToUtf8(operatorNumeric); in PdpProfileSelect()
/ohos5.0/base/telephony/core_service/utils/common/include/
H A Dstr_convert.h24 std::string ToUtf8(std::u16string str16);
26 std::string ToUtf8(std::u32string str32);
27 std::string ToUtf8(std::wstring wstr);
/ohos5.0/base/telephony/core_service/utils/common/src/
H A Dstr_convert.cpp27 std::string ToUtf8(std::u16string str16) in ToUtf8() function
37 std::string ToUtf8(std::u32string str32) in ToUtf8() function
42 std::string ToUtf8(std::wstring wstr) in ToUtf8() function
/ohos5.0/base/telephony/sms_mms/test/unittest/
H A Dshort_message_test.cpp70 …std::cout << "GetVisibleMessageBody = " << StringUtils::ToUtf8(shortMessage_->GetVisibleMessageBod… in TestGetVisibleMessageBody()
82 std::cout << "GetSmscAddr = " << StringUtils::ToUtf8(smscAddress) << std::endl; in TestShowShortMessage()
83 …std::cout << "GetVisibleMessageBody = " << StringUtils::ToUtf8(shortMessage_->GetVisibleMessageBod… in TestShowShortMessage()
85 …std::cout << "GetVisibleRawAddress = " << StringUtils::ToUtf8(shortMessage_->GetVisibleRawAddress(… in TestShowShortMessage()
H A Dgsm_sms_sender_test.cpp216 std::cout << "TestGetSmscAddr:" << StringUtils::ToUtf8(result) << std::endl; in TestGetSmscAddr()
334 << " message:" << StringUtils::ToUtf8(item.GetVisibleMessageBody()) << std::endl; in TestGetAllSimMessages()
482 std::cout << StringUtils::ToUtf8(item) << std::endl; in TestSplitMessage()
556 std::cout << "GetImsShortMessageFormat:" << StringUtils::ToUtf8(format) << std::endl; in TestGetImsShortMessageFormat()
/ohos5.0/base/telephony/sms_mms/services/sms/
H A Dsms_service.cpp160 if (!ValidDestinationAddress(StringUtils::ToUtf8(desAddr))) { in SendMessage()
165 …ret = interfaceManager->TextBasedSmsDelivery(StringUtils::ToUtf8(desAddr), StringUtils::ToUtf8(scA… in SendMessage()
277 if (!ValidDestinationAddress(StringUtils::ToUtf8(desAddr))) { in SendMessage()
283 …StringUtils::ToUtf8(desAddr), StringUtils::ToUtf8(scAddr), port, data, dataLen, sendCallback, deli… in SendMessage()
358 string sca = StringUtils::ToUtf8(scAddr); in SetSmscAddr()
420 std::string smscData = StringUtils::ToUtf8(smsc); in AddSimMessage()
421 std::string pduData = StringUtils::ToUtf8(pdu); in AddSimMessage()
478 std::string pduData = StringUtils::ToUtf8(pdu); in UpdateSimMessage()
479 std::string smscData = StringUtils::ToUtf8(smsc); in UpdateSimMessage()
624 std::string messageData = StringUtils::ToUtf8(message); in SplitMessage()
[all …]
H A Dsms_interface_stub.cpp176 …dSingleton<SmsService>::GetInstance()->InsertSessionAndDetail(slotId, StringUtils::ToUtf8(desAddr), in OnSendSmsTextRequest()
177 StringUtils::ToUtf8(text)); in OnSendSmsTextRequest()
474 result = GetBase64Encode(StringUtils::ToUtf8(src), dest); in OnGetBase64Encode()
487 result = GetBase64Decode(StringUtils::ToUtf8(src), dest); in OnGetBase64Decode()
501 std::string str = StringUtils::ToUtf8(strEncodeString); in OnGetEncodeStringFunc()
545 …TELEPHONY_LOGI("SmsInterfaceStub::OnDownloadMms dbUrls:%{public}s", StringUtils::ToUtf8(mmsData).c… in OnDownloadMms()
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_type_convert_test.cpp167 EXPECT_EQ(ToUtf8(testU16Str), testU8Str);
169 EXPECT_EQ(ToUtf8(testU32Str), testU8Str);
170 EXPECT_EQ(ToUtf8(testWstr), testU8Str);
/ohos5.0/base/telephony/core_service/frameworks/js/sim/src/
H A Dnapi_sim.cpp666 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync()
673 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync()
680 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync()
764 asyncContext->callbackVal = NapiUtil::ToUtf8(spn); in NativeGetSimSpn()
794 std::string simSpn = NapiUtil::ToUtf8(spn); in GetSimSpnSync()
801 std::string simSpn = NapiUtil::ToUtf8(spn); in GetSimSpnSync()
808 std::string simSpn = NapiUtil::ToUtf8(spn); in GetSimSpnSync()
1208 asyncContext->callbackVal = NapiUtil::ToUtf8(gid1); in NativeGetSimGid1()
2079 ConfigInfo &&config = {NapiUtil::ToUtf8(val.first), NapiUtil::ToUtf8(val.second)}; in NativeGetOperatorConfigs()
2714 std::string operatorKey = NapiUtil::ToUtf8(opKey); in GetOpKeySync()
[all …]
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dnapi_send_recv_mms.cpp143 std::string pduFileName = NapiUtil::ToUtf8(asyncContext->data); in NativeSendMms()
397 std::string fileName = NapiUtil::ToUtf8(context.data); in DownloadExceptionCase()
456 TELEPHONY_LOGI("NativeDownloadMms dbUrls:%{public}s", NapiUtil::ToUtf8(dbUrls).c_str()); in NativeDownloadMms()
462 helper.SetDbUrl(NapiUtil::ToUtf8(dbUrls)); in NativeDownloadMms()
463 helper.SetStoreFileName(NapiUtil::ToUtf8(asyncContext->data)); in NativeDownloadMms()
H A Ddelivery_callback.cpp127 pContext->pduStr = NapiUtil::ToUtf8(pdu); in OnSmsDeliveryResult()
/ohos5.0/base/telephony/sms_mms/utils/
H A Dstring_utils.h31 static std::string ToUtf8(const std::u16string &str16);
H A Dstring_utils.cpp118 std::string StringUtils::ToUtf8(const std::u16string &str16) in ToUtf8() function in OHOS::Telephony::StringUtils
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dsms_delivery_callback_gtest.cpp38 std::string pduStr = StringUtils::ToUtf8(pdu); in OnSmsDeliveryResult()
H A Dsms_gtest.cpp901 dest = StringUtils::ToUtf8(simcardNumber); in SendDataMessageTestFuc()
929 dest = StringUtils::ToUtf8(simcardNumber); in SendDataMessageTestFuc2()
1029 dest = StringUtils::ToUtf8(simcardNumber); in SendTextMessageTestFuc()
1058 dest = StringUtils::ToUtf8(simcardNumber); in SendTextMessageTestFuc2()
/ohos5.0/base/location/services/location_gnss/gnss/include/
H A Dstring_utils.h33 static std::string ToUtf8(const std::u16string &str16);
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Dshared_block.cpp51 std::string SharedBlock::ToUtf8(const std::u16string& str16) in ToUtf8() function in OHOS::AppDataFwk::SharedBlock
118 std::string name = ToUtf8(parcel.ReadString16()); in ReadMessageParcel()
/ohos5.0/base/telephony/core_service/frameworks/js/napi/
H A Dnapi_util.h32 static std::string ToUtf8(std::u16string str16);
/ohos5.0/base/telephony/sms_mms/frameworks/native/sms/src/
H A Dshort_message.cpp206 std::string indicates = StringUtils::ToUtf8(specification); in CreateMessage()
H A Dsms_service_proxy.cpp655 dest = StringUtils::ToUtf8(replyParcel.ReadString16()); in GetBase64Encode()
687 dest = StringUtils::ToUtf8(replyParcel.ReadString16()); in GetBase64Decode()
722 encodeString = StringUtils::ToUtf8(replyParcel.ReadString16()); in GetEncodeStringFunc()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
H A Dshared_block.h326 static std::string ToUtf8(const std::u16string& str16);
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_cb_handler.cpp193 …TELEPHONY_LOGI("plmn = %{private}s lac = %{private}s cid = %{private}s", StringUtils::ToUtf8(info.… in InitLocation()
411 want.SetParam(SmsCbData::PLMN, StringUtils::ToUtf8(plmn_)); in PackageWantData()
/ohos5.0/base/location/services/location_gnss/gnss/source/
H A Dstring_utils.cpp120 std::string StringUtils::ToUtf8(const std::u16string &str16) in ToUtf8() function in OHOS::Location::StringUtils

12