/ohos5.0/base/telephony/sms_mms/services/mms/ |
H A D | mms_send_manager.cpp | 46 …StringUtils::ToUtf8(mmsc), StringUtils::ToUtf8(data), StringUtils::ToUtf8(ua), StringUtils::ToUtf8… in SendMms()
|
H A D | mms_receive_manager.cpp | 46 StringUtils::ToUtf8(mmsc), dataPdu, StringUtils::ToUtf8(ua), StringUtils::ToUtf8(uaprof)); in DownloadMms()
|
H A D | mms_apn_info.cpp | 118 std::string mccmnc = StringUtils::ToUtf8(operatorNumeric); in PdpProfileSelect()
|
/ohos5.0/base/telephony/core_service/utils/common/include/ |
H A D | str_convert.h | 24 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 D | str_convert.cpp | 27 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 D | short_message_test.cpp | 70 …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 D | gsm_sms_sender_test.cpp | 216 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 D | sms_service.cpp | 160 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 D | sms_interface_stub.cpp | 176 …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 D | sim_type_convert_test.cpp | 167 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 D | napi_sim.cpp | 666 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 D | napi_send_recv_mms.cpp | 143 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 D | delivery_callback.cpp | 127 pContext->pduStr = NapiUtil::ToUtf8(pdu); in OnSmsDeliveryResult()
|
/ohos5.0/base/telephony/sms_mms/utils/ |
H A D | string_utils.h | 31 static std::string ToUtf8(const std::u16string &str16);
|
H A D | string_utils.cpp | 118 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 D | sms_delivery_callback_gtest.cpp | 38 std::string pduStr = StringUtils::ToUtf8(pdu); in OnSmsDeliveryResult()
|
H A D | sms_gtest.cpp | 901 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 D | string_utils.h | 33 static std::string ToUtf8(const std::u16string &str16);
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | shared_block.cpp | 51 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 D | napi_util.h | 32 static std::string ToUtf8(std::u16string str16);
|
/ohos5.0/base/telephony/sms_mms/frameworks/native/sms/src/ |
H A D | short_message.cpp | 206 std::string indicates = StringUtils::ToUtf8(specification); in CreateMessage()
|
H A D | sms_service_proxy.cpp | 655 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 D | shared_block.h | 326 static std::string ToUtf8(const std::u16string& str16);
|
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_sms_cb_handler.cpp | 193 …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 D | string_utils.cpp | 120 std::string StringUtils::ToUtf8(const std::u16string &str16) in ToUtf8() function in OHOS::Location::StringUtils
|