/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(uaprof)); 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()
|
/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);
|
/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
|
/base/telephony/core_service/frameworks/cj/telephony_sim/src/ |
H A D | telephony_sim_impl.cpp | 109 static std::string ToUtf8(std::u16string str16) in ToUtf8() function 161 operatorName = errCode == ERROR_NONE ? ToUtf8(countryCode) : ""; in getISOCountryCodeForSim() 177 std::string operatorNumeric = errCode == ERROR_NONE ? ToUtf8(u16OperatorNumeric) : ""; in getSimOperatorNumeric() 192 std::string spn = errCode == ERROR_NONE ? ToUtf8(u16Spn) : ""; in getSimSpn() 245 accountInfo.iccId = MallocCString(ToUtf8(iccAccountInfo.iccId)); in IccAccountInfoConversion() 246 accountInfo.showName = MallocCString(ToUtf8(iccAccountInfo.showName)); in IccAccountInfoConversion() 247 accountInfo.showNumber = MallocCString(ToUtf8(iccAccountInfo.showNumber)); in IccAccountInfoConversion() 318 std::string opkey = errCode == ERROR_NONE ? ToUtf8(u16Opkey) : ""; in getOpKey() 333 std::string opName = errCode == ERROR_NONE ? ToUtf8(u16OpName) : ""; in getOpName()
|
/base/telephony/sms_mms/test/unittest/ |
H A D | short_message_test.cpp | 70 std::cout << "GetVisibleMessageBody = " << StringUtils::ToUtf8(shortMessage_->GetVisibleMessageBody()) in TestGetVisibleMessageBody() 82 std::cout << "GetSmscAddr = " << StringUtils::ToUtf8(smscAddress) << std::endl; in TestShowShortMessage() 83 std::cout << "GetVisibleMessageBody = " << StringUtils::ToUtf8(shortMessage_->GetVisibleMessageBody()) in TestShowShortMessage() 85 std::cout << "GetVisibleRawAddress = " << StringUtils::ToUtf8(shortMessage_->GetVisibleRawAddress()) in TestShowShortMessage()
|
H A D | gsm_sms_sender_test.cpp | 232 std::cout << "TestGetSmscAddr:" << StringUtils::ToUtf8(result) << std::endl; in TestGetSmscAddr() 350 << " message:" << StringUtils::ToUtf8(item.GetVisibleMessageBody()) << std::endl; in TestGetAllSimMessages() 498 std::cout << StringUtils::ToUtf8(item) << std::endl; in TestSplitMessage() 572 std::cout << "GetImsShortMessageFormat:" << StringUtils::ToUtf8(format) << std::endl; in TestGetImsShortMessageFormat()
|
/base/telephony/sms_mms/services/sms/ |
H A D | sms_service.cpp | 162 if (!ValidDestinationAddress(StringUtils::ToUtf8(desAddr))) { in SendMessage() 170 InsertSessionAndDetail(slotId, StringUtils::ToUtf8(desAddr), StringUtils::ToUtf8(text), dataId); in SendMessage() 175 predicates.EqualTo(SmsMmsInfo::RECEIVER_NUMBER, StringUtils::ToUtf8(desAddr)); in SendMessage() 177 predicates.EqualTo(SmsMmsInfo::MSG_CONTENT, StringUtils::ToUtf8(text)); in SendMessage() 182 bool ret = interfaceManager->TextBasedSmsDelivery(StringUtils::ToUtf8(desAddr), StringUtils::ToUtf8(scAddr), in SendMessage() 183 StringUtils::ToUtf8(text), sendCallback, deliveryCallback, dataId, isMmsApp); in SendMessage() 184 DelayedSingleton<SmsPersistHelper>::GetInstance()->UpdateContact(StringUtils::ToUtf8(desAddr)); in SendMessage() 303 if (!ValidDestinationAddress(StringUtils::ToUtf8(desAdd in SendMessage() [all...] |
H A D | sms_interface_stub.cpp | 508 result = GetBase64Encode(StringUtils::ToUtf8(src), dest); in OnGetBase64Encode() 521 result = GetBase64Decode(StringUtils::ToUtf8(src), dest); in OnGetBase64Decode() 535 std::string str = StringUtils::ToUtf8(strEncodeString); in OnGetEncodeStringFunc() 584 TELEPHONY_LOGI("SmsInterfaceStub::OnDownloadMms dbUrls:%{public}s", StringUtils::ToUtf8(mmsData).c_str()); in OnDownloadMms()
|
/base/telephony/state_registry/frameworks/cj/src/ |
H A D | telephony_observer_utils.cpp | 33 std::string ToUtf8(std::u16string str16) in ToUtf8() function
|
H A D | telephony_observer_utils.h | 38 std::string ToUtf8(std::u16string str16);
|
/base/telephony/sms_mms/test/gtest/ |
H A D | sms_delivery_callback_gtest.cpp | 38 std::string pduStr = StringUtils::ToUtf8(pdu); in OnSmsDeliveryResult()
|
/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
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | sim_type_convert_test.cpp | 167 EXPECT_EQ(ToUtf8(testU16Str), testU8Str); in HWTEST_F() 169 EXPECT_EQ(ToUtf8(testU32Str), testU8Str); in HWTEST_F() 170 EXPECT_EQ(ToUtf8(testWstr), testU8Str); in HWTEST_F()
|
/base/location/services/location_gnss/gnss/include/ |
H A D | string_utils.h | 33 static std::string ToUtf8(const std::u16string &str16);
|
/base/telephony/core_service/frameworks/js/esim/src/ |
H A D | napi_esim.cpp | 180 SetPropertyToNapiObject(env, val, "osVersion", NapiUtil::ToUtf8(resultInfo.osVersion_)); in EuiccInfoConversion() 200 SetPropertyToNapiObject(env, val, "certificateHashHexStr", NapiUtil::ToUtf8(accessInfo.certificateHashHexStr_)); in AccessRuleInfoConversion() 201 SetPropertyToNapiObject(env, val, "packageName", NapiUtil::ToUtf8(accessInfo.packageName_)); in AccessRuleInfoConversion() 211 SetPropertyToNapiObject(env, val, "activationCode", NapiUtil::ToUtf8(profileInfo.encodedActivationCode_)); in ProfileInfoConversion() 212 SetPropertyToNapiObject(env, val, "confirmationCode", NapiUtil::ToUtf8(profileInfo.confirmationCode_)); in ProfileInfoConversion() 213 SetPropertyToNapiObject(env, val, "carrierName", NapiUtil::ToUtf8(profileInfo.carrierName_)); in ProfileInfoConversion() 259 SetPropertyToNapiObject(env, val, "mcc", NapiUtil::ToUtf8(operatorId.mcc_)); in OperatorIdConversion() 260 SetPropertyToNapiObject(env, val, "mnc", NapiUtil::ToUtf8(operatorId.mnc_)); in OperatorIdConversion() 261 SetPropertyToNapiObject(env, val, "gid1", NapiUtil::ToUtf8(operatorId.gid1_)); in OperatorIdConversion() 262 SetPropertyToNapiObject(env, val, "gid2", NapiUtil::ToUtf8(operatorI in OperatorIdConversion() [all...] |
/base/telephony/sms_mms/frameworks/js/napi/src/ |
H A D | napi_send_recv_mms.cpp | 151 std::string pduFileName = NapiUtil::ToUtf8(asyncContext->data); in NativeSendMms() 409 std::string fileName = NapiUtil::ToUtf8(context.data); in DownloadExceptionCase() 468 TELEPHONY_LOGI("NativeDownloadMms dbUrls:%{public}s", NapiUtil::ToUtf8(dbUrls).c_str()); in NativeDownloadMms() 474 helper.SetDbUrl(NapiUtil::ToUtf8(dbUrls)); in NativeDownloadMms() 475 helper.SetStoreFileName(NapiUtil::ToUtf8(asyncContext->data)); in NativeDownloadMms()
|
H A D | delivery_callback.cpp | 127 pContext->pduStr = NapiUtil::ToUtf8(pdu); in OnSmsDeliveryResult()
|
/base/telephony/core_service/frameworks/js/sim/src/ |
H A D | napi_sim.cpp | 299 SetPropertyToNapiObject(env, val, "iccId", NapiUtil::ToUtf8(iccAccountInfo.iccId)); in IccAccountInfoConversion() 300 SetPropertyToNapiObject(env, val, "showName", NapiUtil::ToUtf8(iccAccountInfo.showName)); in IccAccountInfoConversion() 301 SetPropertyToNapiObject(env, val, "showNumber", NapiUtil::ToUtf8(iccAccountInfo.showNumber)); in IccAccountInfoConversion() 637 asyncContext->callbackVal = NapiUtil::ToUtf8(countryCode); in NativeGetIsoForSim() 668 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync() 675 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync() 682 std::string code = NapiUtil::ToUtf8(countryCode); in GetISOCountryCodeForSimSync() 702 asyncContext->callbackVal = NapiUtil::ToUtf8(operatorNumeric); in NativeGetSimOperatorNumeric() 733 std::string numeric = NapiUtil::ToUtf8(operatorNumeric); in GetSimOperatorNumericSync() 740 std::string numeric = NapiUtil::ToUtf8(operatorNumeri in GetSimOperatorNumericSync() [all...] |
/base/telephony/core_service/services/sim/src/ |
H A D | esim_file.cpp | 292 std::string appId = OHOS::Telephony::ToUtf8(aid);
in ProcessEsimOpenChannel() 757 std::string str = OHOS::Telephony::ToUtf8(esimProfile_.iccId);
in ProcessDisableProfile() 1128 std::string iccid = OHOS::Telephony::ToUtf8(esimProfile_.iccId);
in ProcessGetProfile() 1339 std::string address = OHOS::Telephony::ToUtf8(esimProfile_.defaultSmdpAddress);
in ProcessEstablishDefaultSmdpAddress() 1471 std::string hexStr = OHOS::Telephony::ToUtf8(esimProfile_.apduData.data_);
in ProcessSendApduData() 1600 dst.smdpSigned2 = OHOS::Telephony::ToUtf8(src.smdpSigned2);
in ConvertPreDownloadParaFromApiStru() 1601 dst.smdpSignature2 = OHOS::Telephony::ToUtf8(src.smdpSignature2);
in ConvertPreDownloadParaFromApiStru() 1602 dst.smdpCertificate = OHOS::Telephony::ToUtf8(src.smdpCertificate);
in ConvertPreDownloadParaFromApiStru() 1603 dst.hashCc = OHOS::Telephony::ToUtf8(src.hashCc);
in ConvertPreDownloadParaFromApiStru() 1852 std::string boundProfilePackage = OHOS::Telephony::ToUtf8(esimProfile in ProcessLoadBoundProfilePackage() [all...] |
/base/telephony/core_service/frameworks/cj/telephony_radio/src/ |
H A D | telephony_radio_impl.cpp | 169 static std::string ToUtf8(std::u16string str16) in ToUtf8() function 277 std::string code = ToUtf8(countryCode); in GetISOCountryCodeForNetwork() 391 std::string operatorName = ToUtf8(u16OperatorName); in GetOperatorName()
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
H A D | short_message.cpp | 206 std::string indicates = StringUtils::ToUtf8(specification); in CreateMessage()
|
/base/telephony/core_service/frameworks/js/napi/ |
H A D | napi_util.h | 32 static std::string ToUtf8(std::u16string str16);
|