/base/telephony/sms_mms/services/mms/ |
D | mms_send_manager.cpp | 48 …StringUtils::ToUtf8(mmsc), StringUtils::ToUtf8(data), StringUtils::ToUtf8(ua), StringUtils::ToUtf8… in SendMms()
|
D | mms_receive_manager.cpp | 48 …StringUtils::ToUtf8(mmsc), StringUtils::ToUtf8(data), StringUtils::ToUtf8(ua), StringUtils::ToUtf8… in DownloadMms()
|
D | mms_apn_info.cpp | 76 std::string mccmnc = StringUtils::ToUtf8(operatorNumeric); in PdpProfileSelect()
|
/base/telephony/core_service/utils/common/include/ |
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);
|
/base/telephony/core_service/utils/common/src/ |
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
|
/base/telephony/sms_mms/test/unittest/ |
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()
|
D | gsm_sms_sender_test.cpp | 216 std::cout << "TestGetSmscAddr:" << StringUtils::ToUtf8(result) << std::endl; in TestGetSmscAddr() 335 << " message:" << StringUtils::ToUtf8(item.GetVisibleMessageBody()) << std::endl; in TestGetAllSimMessages() 485 std::cout << StringUtils::ToUtf8(item) << std::endl; in TestSplitMessage() 559 std::cout << "GetImsShortMessageFormat:" << StringUtils::ToUtf8(format) << std::endl; in TestGetImsShortMessageFormat()
|
D | sms_broadcast_subscriber.cpp | 49 std::string messageBody = StringUtils::ToUtf8(message->GetVisibleMessageBody()); in OnReceiveEvent()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_service.cpp | 160 if (!ValidDestinationAddress(StringUtils::ToUtf8(desAddr))) { in SendMessage() 165 …return interfaceManager->TextBasedSmsDelivery(StringUtils::ToUtf8(desAddr), StringUtils::ToUtf8(sc… in SendMessage() 166 StringUtils::ToUtf8(text), sendCallback, deliveryCallback); in SendMessage() 275 if (!ValidDestinationAddress(StringUtils::ToUtf8(desAddr))) { in SendMessage() 281 …StringUtils::ToUtf8(desAddr), StringUtils::ToUtf8(scAddr), port, data, dataLen, sendCallback, deli… in SendMessage() 354 string sca = StringUtils::ToUtf8(scAddr); in SetSmscAddr() 416 std::string smscData = StringUtils::ToUtf8(smsc); in AddSimMessage() 417 std::string pduData = StringUtils::ToUtf8(pdu); in AddSimMessage() 474 std::string pduData = StringUtils::ToUtf8(pdu); in UpdateSimMessage() 475 std::string smscData = StringUtils::ToUtf8(smsc); in UpdateSimMessage() [all …]
|
D | sms_interface_stub.cpp | 172 …dSingleton<SmsService>::GetInstance()->InsertSessionAndDetail(slotId, StringUtils::ToUtf8(desAddr), in OnSendSmsTextRequest() 173 StringUtils::ToUtf8(text)); in OnSendSmsTextRequest() 459 result = GetBase64Encode(StringUtils::ToUtf8(src), dest); in OnGetBase64Encode() 472 result = GetBase64Decode(StringUtils::ToUtf8(src), dest); in OnGetBase64Decode() 486 std::string str = StringUtils::ToUtf8(strEncodeString); in OnGetEncodeStringFunc()
|
/base/telephony/sms_mms/utils/ |
D | string_utils.h | 31 static std::string ToUtf8(const std::u16string &str16);
|
D | string_utils.cpp | 118 std::string StringUtils::ToUtf8(const std::u16string &str16) in ToUtf8() function in OHOS::Telephony::StringUtils
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_type_convert_test.cpp | 167 EXPECT_EQ(ToUtf8(testU16Str), testU8Str); 169 EXPECT_EQ(ToUtf8(testU32Str), testU8Str); 170 EXPECT_EQ(ToUtf8(testWstr), testU8Str);
|
/base/telephony/sms_mms/test/gtest/ |
D | sms_delivery_callback_gtest.cpp | 38 std::string pduStr = StringUtils::ToUtf8(pdu); in OnSmsDeliveryResult()
|
D | sms_gtest.cpp | 873 dest = StringUtils::ToUtf8(simcardNumber); in SendDataMessageTestFuc() 901 dest = StringUtils::ToUtf8(simcardNumber); in SendDataMessageTestFuc2() 1002 dest = StringUtils::ToUtf8(simcardNumber); in SendTextMessageTestFuc() 1031 dest = StringUtils::ToUtf8(simcardNumber); in SendTextMessageTestFuc2()
|
/base/telephony/core_service/frameworks/js/sim/src/ |
D | napi_sim.cpp | 237 SetPropertyToNapiObject(env, val, "iccId", NapiUtil::ToUtf8(iccAccountInfo.iccId)); in IccAccountInfoConversion() 238 SetPropertyToNapiObject(env, val, "showName", NapiUtil::ToUtf8(iccAccountInfo.showName)); in IccAccountInfoConversion() 239 SetPropertyToNapiObject(env, val, "showNumber", NapiUtil::ToUtf8(iccAccountInfo.showNumber)); in IccAccountInfoConversion() 565 asyncContext->callbackVal = NapiUtil::ToUtf8(countryCode); in NativeGetIsoForSim() 596 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync() 603 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync() 610 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync() 630 asyncContext->callbackVal = NapiUtil::ToUtf8(operatorNumeric); in NativeGetSimOperatorNumeric() 661 std::string numeric = NapiUtil::ToUtf8(operatorNumeric); in GetSimOperatorNumericSync() 668 std::string numeric = NapiUtil::ToUtf8(operatorNumeric); in GetSimOperatorNumericSync() [all …]
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | delivery_callback.cpp | 113 pContext->pduStr = NapiUtil::ToUtf8(pdu); in OnSmsDeliveryResult()
|
D | napi_sms.cpp | 440 env, object, "visibleMessageBody", NapiUtil::ToUtf8(shortMessage.GetVisibleMessageBody())); in CreateShortMessageValue() 442 env, object, "visibleRawAddress", NapiUtil::ToUtf8(shortMessage.GetVisibleRawAddress())); in CreateShortMessageValue() 447 NapiUtil::SetPropertyStringUtf8(env, object, "scAddress", NapiUtil::ToUtf8(smscAddress)); in CreateShortMessageValue() 845 context->smscAddr = NapiUtil::ToUtf8(smscAddress); in NativeGetSmscAddr() 1411 std::string message = NapiUtil::ToUtf8(context->messageArray[i]); in SplitMessageCallback()
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
D | short_message.cpp | 195 std::string indicates = StringUtils::ToUtf8(specification); in CreateMessage()
|
D | sms_service_proxy.cpp | 637 dest = StringUtils::ToUtf8(dataParcel.ReadString16()); in GetBase64Encode() 669 dest = StringUtils::ToUtf8(dataParcel.ReadString16()); in GetBase64Decode() 704 encodeString = StringUtils::ToUtf8(dataParcel.ReadString16()); in GetEncodeStringFunc()
|
/base/telephony/core_service/frameworks/js/napi/ |
D | napi_util.h | 32 static std::string ToUtf8(std::u16string str16);
|
D | napi_util.cpp | 98 std::string NapiUtil::ToUtf8(std::u16string str16) in ToUtf8() function in OHOS::Telephony::NapiUtil
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_cb_handler.cpp | 171 …TELEPHONY_LOGI("plmn = %{private}s lac = %{private}s cid = %{private}s", StringUtils::ToUtf8(info.… in InitLocation() 344 want.SetParam(SmsCbData::PLMN, StringUtils::ToUtf8(plmn_)); in SetWantData()
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_receive_handler.cpp | 229 want.SetParam(SmsCbData::PLMN, StringUtils::ToUtf8(plmn_)); in SetCBBroadcastParam()
|
/base/telephony/core_service/frameworks/js/network_search/src/ |
D | napi_radio.cpp | 966 context->countryCode = NapiUtil::ToUtf8(countryCode); in NativeGetCountryCode() 1030 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForNetworkSync() 1037 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForNetworkSync() 1044 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForNetworkSync() 1327 std::string operatorName = NapiUtil::ToUtf8(u16OperatorName); in NativeGetOperatorName() 1395 std::string name = NapiUtil::ToUtf8(operatorName); in GetOperatorNameSync() 1402 std::string name = NapiUtil::ToUtf8(operatorName); in GetOperatorNameSync() 1409 std::string name = NapiUtil::ToUtf8(operatorName); in GetOperatorNameSync() 1725 context->getIMEIResult = NapiUtil::ToUtf8(imei); in NativeGetIMEI() 1795 context->getMEIDResult = NapiUtil::ToUtf8(meid); in NativeGetMEID() [all …]
|