/base/telephony/sms_mms/test/unittest/ |
D | gsm_sms_sender_test.cpp | 57 … smsService->SendMessage(slotId, StringUtils::ToUtf16(dest), StringUtils::ToUtf16(sca), port, data, in TestGsmSendShortData() 89 … smsService->SendMessage(slotId, StringUtils::ToUtf16(dest), StringUtils::ToUtf16(sca), port, data, in TestGsmSendLongData() 116 smsService->SendMessage(slotId, StringUtils::ToUtf16(dest), StringUtils::ToUtf16(sca), in TestSendShortText() 117 StringUtils::ToUtf16(text), sendCallBackPtr, deliveryCallBackPtr); in TestSendShortText() 134 std::u16string mmsc(StringUtils::ToUtf16(CU_MMSC)); in TestSendMms() 135 std::u16string data(StringUtils::ToUtf16(SEND_MMS_FILE_URL)); in TestSendMms() 171 smsService->SendMessage(slotId, StringUtils::ToUtf16(dest), StringUtils::ToUtf16(sca), in TestSendLongText() 172 StringUtils::ToUtf16(text), sendCallBackPtr, deliveryCallBackPtr); in TestSendLongText() 193 result = smsService->SetSmscAddr(slotId, StringUtils::ToUtf16(sca)); in TestSetSmscAddr() 243 … result = smsService->AddSimMessage(slotId, StringUtils::ToUtf16(smsc), StringUtils::ToUtf16(pdu), in TestAddSimMessage() [all …]
|
/base/telephony/core_service/utils/common/include/ |
D | str_convert.h | 23 std::u16string ToUtf16(std::string str);
|
/base/telephony/sms_mms/utils/ |
D | string_utils.h | 32 static std::u16string ToUtf16(const std::string &str);
|
D | string_utils.cpp | 127 std::u16string StringUtils::ToUtf16(const std::string &str) in ToUtf16() function in OHOS::Telephony::StringUtils
|
/base/telephony/core_service/utils/common/src/ |
D | str_convert.cpp | 22 std::u16string ToUtf16(std::string str) in ToUtf16() function
|
/base/telephony/sms_mms/services/sms/ |
D | sms_send_manager.cpp | 265 splitMessage.emplace_back(StringUtils::ToUtf16(item.text)); in SplitMessage() 347 format = StringUtils::ToUtf16(NET_TYPE_UNKNOWN_STRING); in GetImsShortMessageFormat() 354 format = StringUtils::ToUtf16(NET_TYPE_GSM_STRING); in GetImsShortMessageFormat() 357 format = StringUtils::ToUtf16(NET_TYPE_CDMA_STRING); in GetImsShortMessageFormat()
|
D | sms_interface_stub.cpp | 464 reply.WriteString16(StringUtils::ToUtf16(dest)); in OnGetBase64Encode() 477 reply.WriteString16(StringUtils::ToUtf16(dest)); in OnGetBase64Decode() 498 reply.WriteString16(StringUtils::ToUtf16(encodeString)); in OnGetEncodeStringFunc()
|
D | sms_service.cpp | 701 message.visibleMessageBody_ = StringUtils::ToUtf16(baseMessage->GetVisibleMessageBody()); in CreateMessage() 702 message.visibleRawAddress_ = StringUtils::ToUtf16(baseMessage->GetVisibleOriginatingAddress()); in CreateMessage() 704 message.scAddress_ = StringUtils::ToUtf16(baseMessage->GetSmscAddr()); in CreateMessage()
|
D | sms_misc_manager.cpp | 417 smscAddress = StringUtils::ToUtf16(smscAddr_); in GetSmscAddr()
|
/base/telephony/sms_mms/test/gtest/ |
D | sms_gtest.cpp | 283 helper.slotId, StringUtils::ToUtf16(scAddr)); in SetSmscAddrTestFuc() 890 …ton<SmsServiceManagerClient>::GetInstance()->SendMessage(helper.slotId, StringUtils::ToUtf16(dest), in SendDataMessageTestFuc() 891 …StringUtils::ToUtf16(sca), port, DATA_SMS, (sizeof(DATA_SMS) / sizeof(DATA_SMS[0]) - 1), sendCallB… in SendDataMessageTestFuc() 918 …ton<SmsServiceManagerClient>::GetInstance()->SendMessage(helper.slotId, StringUtils::ToUtf16(dest), in SendDataMessageTestFuc2() 919 …StringUtils::ToUtf16(sca), port, DATA_SMS, (sizeof(DATA_SMS) / sizeof(DATA_SMS[0]) - 1), sendCallB… in SendDataMessageTestFuc2() 1021 …ton<SmsServiceManagerClient>::GetInstance()->SendMessage(helper.slotId, StringUtils::ToUtf16(dest), in SendTextMessageTestFuc() 1022 … StringUtils::ToUtf16(sca), StringUtils::ToUtf16(text), sendCallBackPtr, deliveryCallBackPtr); in SendTextMessageTestFuc() 1050 …ton<SmsServiceManagerClient>::GetInstance()->SendMessage(helper.slotId, StringUtils::ToUtf16(dest), in SendTextMessageTestFuc2() 1051 … StringUtils::ToUtf16(sca), StringUtils::ToUtf16(text), sendCallBackPtr, deliveryCallBackPtr); in SendTextMessageTestFuc2()
|
/base/telephony/core_service/frameworks/js/napi/ |
D | napi_util.h | 33 static std::u16string ToUtf16(std::string str);
|
D | napi_util.cpp | 103 std::u16string NapiUtil::ToUtf16(std::string str) in ToUtf16() function in OHOS::Telephony::NapiUtil
|
/base/telephony/core_service/frameworks/js/sim/src/ |
D | napi_sim.cpp | 280 telNumber->name_ = NapiUtil::ToUtf16(info.alphaTag.data()); in GetDiallingNumberInfo() 281 telNumber->number_ = NapiUtil::ToUtf16(info.number.data()); in GetDiallingNumberInfo() 282 telNumber->pin2_ = NapiUtil::ToUtf16(info.pin2.data()); in GetDiallingNumberInfo() 1185 pinContext->asyncContext.slotId, NapiUtil::ToUtf16(pinContext->inStr1.data()), response); in NativeUnlockPin() 1242 …NapiUtil::ToUtf16(pukContext->inStr1.data()), NapiUtil::ToUtf16(pukContext->inStr2.data()), respon… in NativeUnlockPuk() 1302 alterPinContext->asyncContext.slotId, NapiUtil::ToUtf16(alterPinContext->inStr1.data()), in NativeAlterPin() 1303 NapiUtil::ToUtf16(alterPinContext->inStr2.data()), response); in NativeAlterPin() 1363 …const LockInfo info { static_cast<LockType>(lockContext->result), NapiUtil::ToUtf16(lockContext->i… in NativeSetLockState() 1514 std::u16string name = NapiUtil::ToUtf16(std::data(context->inputStr)); in NativeSetShowName() 1600 context->asyncContext.slotId, NapiUtil::ToUtf16(std::data(context->inputStr))); in NativeSetShowNumber() [all …]
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_type_convert_test.cpp | 166 EXPECT_EQ(ToUtf16(testU8Str), testU16Str);
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_sms.cpp | 115 return NapiUtil::ToUtf16(str8); in GetU16StrFromNapiValue() 281 context.textContent = NapiUtil::ToUtf16(text); in ParseMessageParameter() 423 std::u16string specification16 = NapiUtil::ToUtf16(asyncContext->specification); in NativeCreateMessage() 766 NapiUtil::ToUtf16(context->smscAddr)); in NativeSetSmscAddr() 929 … context->slotId, NapiUtil::ToUtf16(context->smsc), NapiUtil::ToUtf16(context->pdu), status); in NativeAddSimMessage() 1110 NapiUtil::ToUtf16(context->pdu), NapiUtil::ToUtf16(context->smsc)); in NativeUpdateSimMessage() 1393 std::u16string content = NapiUtil::ToUtf16(context->content); in NativeSplitMessage() 1480 std::u16string content = NapiUtil::ToUtf16(context->content); in NativeGetSmsSegmentsInfo()
|
D | napi_mms.cpp | 1579 asyncContext->data = NapiUtil::ToUtf16(helper.GetDbUrl()); in NativeSendMms() 1661 context.mmsc = NapiUtil::ToUtf16(str8); in GetMmsNameProperty() 1669 context.data = NapiUtil::ToUtf16(str8); in GetMmsNameProperty() 1679 context.mmsConfig.userAgent = NapiUtil::ToUtf16(str8); in GetMmsNameProperty() 1687 context.mmsConfig.userAgentProfile = NapiUtil::ToUtf16(str8); in GetMmsNameProperty() 1810 context.data = NapiUtil::ToUtf16(dbUrl); in StoreDownloadMmsPduToDataBase()
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
D | sms_service_proxy.cpp | 624 dataParcel.WriteString16(StringUtils::ToUtf16(src)); in GetBase64Encode() 656 dataParcel.WriteString16(StringUtils::ToUtf16(src)); in GetBase64Decode() 691 dataParcel.WriteString16(StringUtils::ToUtf16(strEncodeString)); in GetEncodeStringFunc()
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_sender.cpp | 432 deliveryCallback->OnSmsDeliveryResult(StringUtils::ToUtf16(ackpdu)); in StatusReportAnalysis()
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_sender.cpp | 461 deliveryCallback->OnSmsDeliveryResult(StringUtils::ToUtf16(ackpdu)); in StatusReportAnalysis()
|