Home
last modified time | relevance | path

Searched refs:StringToHex (Results 1 – 13 of 13) sorted by relevance

/base/telephony/sms_mms/utils/
Dstring_utils.h28 static std::string StringToHex(const std::string &data);
30 static std::string StringToHex(const char *data, int byteLength);
33 static std::string StringToHex(const std::vector<uint8_t> &data);
Dstring_utils.cpp54 std::string StringUtils::StringToHex(const std::string &data) in StringToHex() function in OHOS::Telephony::StringUtils
64 std::string StringUtils::StringToHex(const char *data, int byteLength) in StringToHex() function in OHOS::Telephony::StringUtils
74 std::string StringUtils::StringToHex(const std::vector<uint8_t> &data) in StringToHex() function in OHOS::Telephony::StringUtils
/base/telephony/sms_mms/services/sms/
Dsms_receive_reliability_handler.cpp154 string pdu = StringUtils::StringToHex(indexer.GetPdu()); in GetWapPushUserDataSinglePage()
170 string pdu = StringUtils::StringToHex(dbIndexers[place].GetPdu()); in GetWapPushUserDataMultipage()
190 pdu = StringUtils::StringToHex(locate->GetPdu()); in GetWapPushUserDataMultipage()
217 false, StringUtils::StringToHex(indexerObj.GetPdu())); in ReadyDecodeWapPushUserData()
243 pdus->push_back(StringUtils::StringToHex(position->GetPdu())); in SmsReceiveReliabilityProcessing()
273 StringUtils::StringToHex(dbIndexers[position].GetPdu()); in GetSmsUserDataMultipage()
284 … pdus->at(locate->GetMsgSeqId() - PDU_POS_OFFSET) = StringUtils::StringToHex(locate->GetPdu()); in GetSmsUserDataMultipage()
296 false, StringUtils::StringToHex(indexerObj.GetPdu())); in ReadySendSmsBroadcast()
Dsms_receive_handler.cpp59 … TELEPHONY_LOGI("[raw pdu] =%{private}s", StringUtils::StringToHex(message->GetRawPdu()).c_str()); in ProcessEvent()
94 string pdu = StringUtils::StringToHex(indexer->GetPdu()); in CombineMessagePart()
115 string pdu = StringUtils::StringToHex(v.GetPdu()); in CombineMessagePart()
189 bucket.Put(SmsSubsection::REW_PUD, StringUtils::StringToHex(indexer->GetPdu())); in AddMsgToDB()
Dsms_wap_push_handler.cpp56 … hexHeaderData_ = StringUtils::StringToHex(static_cast<char *>(headerBuffer.get()), headerLength); in DecodeWapPushPduData()
72 hexWbXmlData_ = StringUtils::StringToHex(static_cast<char *>(pduBuffer.get()), dataLength); in DecodeWapPushPduData()
/base/telephony/sms_mms/frameworks/native/sms/src/
Dshort_message.cpp197 int32_t errorCode = client->CreateMessage(StringUtils::StringToHex(pdu), indicates, messageObj); in CreateMessage()
220 …int32_t errorCode = client->CreateMessage(StringUtils::StringToHex(pduTemp), specification, messag… in CreateIccMessage()
/base/telephony/sms_mms/test/unittest/
Dshort_message_test.cpp96 std::cout << "raw pdu = " << StringUtils::StringToHex(shortMessage_->GetPdu()) << std::endl; in TestShowShortMessage()
Dgsm_sms_sender_test.cpp333 …std::cout << "[" << item.GetIndexOnSim() << "] " << StringUtils::StringToHex(item.GetPdu()) << std… in TestGetAllSimMessages()
Dcdma_sms_test.cpp503 std::cout << "TestEncodeSubmitMsg : " << StringUtils::StringToHex(*pdu) << std::endl; in EncodeMsg()
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_receive_handler.cpp176 std::string pdu = StringUtils::StringToHex(info->pdu); in TransformMessageInfo()
Dgsm_sms_sender.cpp328 smsData.smscPdu = StringUtils::StringToHex(smsIndexer->GetEncodeSmca()); in SendSmsToRil()
329 smsData.pdu = StringUtils::StringToHex(smsIndexer->GetEncodePdu()); in SendSmsToRil()
411 std::string pdu = StringUtils::StringToHex(statusInfo->pdu); in StatusReportAnalysis()
431 std::string ackpdu = StringUtils::StringToHex(message->GetRawPdu()); in StatusReportAnalysis()
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_receive_handler.cpp143 std::string pdu = StringUtils::StringToHex(info->pdu); in TransformMessageInfo()
Dcdma_sms_sender.cpp441 std::string pdu = StringUtils::StringToHex(statusInfo->GetPdu()); in StatusReportAnalysis()
460 std::string ackpdu = StringUtils::StringToHex(message->GetRawPdu()); in StatusReportAnalysis()
484 std::string pdu = StringUtils::StringToHex(smsIndexer->GetEncodePdu()); in SendSmsToRil()