Home
last modified time | relevance | path

Searched refs:HexToByteVector (Results 1 – 15 of 15) sorted by relevance

/base/telephony/sms_mms/test/unittest/
Dsms_gsm_message_test.cpp92 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in Test7BitSubmitSms()
110 …std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21020B818176251308F40008046D4B8BD5"… in TestUcs2SubmitSms()
129 … StringUtils::HexToByteVector("0891683108200075F4240D91688129562983F600001240800102142302C130"); in Test7BitDeliverySms()
148 …StringUtils::HexToByteVector("0891683110206005F0240DA1688176251308F4000832500381459323044F60597D"); in TestUcs2DeliverySms()
167 …StringUtils::HexToByteVector("0891683110808805F006510B818176251308F4325013113382233250131143802300… in TestStatusReportSms()
186 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in TestMultiPageSms()
209 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in TestWapPushSms()
232 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in TestDataSmsDeliverySms()
Dshort_message_test.cpp30 … StringUtils::HexToByteVector("0891683108200075F4240D91688129562983F600001240800102142302C130"); in TestCreateMessage()
48 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in Test3Gpp2CreateMessage()
Dsms_broadcast_subscriber.cpp44 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(pdus[index]); in OnReceiveEvent()
/base/telephony/sms_mms/test/fuzztest/smsrecvitem_fuzzer/
Dsmsrecvitem_fuzzer.cpp68 …auto indexer = SmsReceiveIndexer(StringUtils::HexToByteVector(strData), size, size, size % SLOT_NU… in DoRecvItemsTest()
73 …StringUtils::HexToByteVector(strData), size, size, size % SLOT_NUM, size % SLOT_NUM, strData, strD… in DoRecvItemsTest()
90 …std::make_shared<SmsReceiveIndexer>(StringUtils::HexToByteVector(strData), size, size, size % SLOT… in DoRecvItemsTest()
/base/telephony/sms_mms/utils/
Dstring_utils.h34 static std::vector<uint8_t> HexToByteVector(const std::string &str);
Dstring_utils.cpp104 std::vector<uint8_t> StringUtils::HexToByteVector(const std::string &str) in HexToByteVector() function in OHOS::Telephony::StringUtils
/base/telephony/sms_mms/test/fuzztest/setgetcbconfig_fuzzer/
Dsetgetcbconfig_fuzzer.cpp131 auto cbMessageByVectorInit = GsmCbCodec::CreateCbMessage(StringUtils::HexToByteVector(pdu)); in UpdataCBMessage()
138 cbMessage->PduAnalysis(StringUtils::HexToByteVector(pdu)); in UpdataCBMessage()
/base/telephony/sms_mms/test/gtest/
Dsms_gtest.cpp1135 …StringUtils::HexToByteVector("0891683110808805F0040D91686106571209F800003210921134922307D3F69C5A9E… in ReceiveSmsTestFunc()
1319 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in Create7bitSubmitSmsTestFuc()
1383 …std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21020B818176251308F40008046D4B8BD5"… in CreateUcs2SubmitSmsTestFuc()
1448 … StringUtils::HexToByteVector("0891683108200075F4240D91688129562983F600001240800102142302C130"); in Create7bitDeliverySmsTestFuc()
1513 …StringUtils::HexToByteVector("0891683110206005F0240DA1688176251308F4000832500381459323044F60597D"); in CreateUcs2DeliverySmsTestFuc()
1578 …StringUtils::HexToByteVector("0891683110808805F006510B818176251308F4325013113382233250131143802300… in CreateStatusReportSmsTestFuc()
1642 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in CreateMultiPageSmsTestFuc()
1711 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in CreateWapPushSmsTestFuc()
Dmms_gtest.cpp115 message->pdu = StringUtils::HexToByteVector( in ReceiveWapPushTestFunc()
Dzero_branch_sms_test.cpp1173 …auto indexer = SmsReceiveIndexer(StringUtils::HexToByteVector(strData), strData.size(), strData.si…
1178 …StringUtils::HexToByteVector(strData), strData.size(), strData.size(), false, false, strData, strD…
1194 …std::make_shared<SmsReceiveIndexer>(StringUtils::HexToByteVector(strData), strData.size(), strData…
/base/telephony/sms_mms/services/sms/
Dsms_sender.cpp262 smsIndexer->SetAckPdu(std::move(StringUtils::HexToByteVector(info->pdu))); in FindCacheMapAndTransform()
Dsms_persist_helper.cpp316 info.SetPdu(StringUtils::HexToByteVector(columnValue)); in ConvertStringToIndexer()
Dsms_misc_manager.cpp381 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(v); in GetAllSimMessages()
Dgsm_cb_codec.cpp61 result = message->PduAnalysis(StringUtils::HexToByteVector(pdu)); in CreateCbMessage()
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_message.cpp390 message->rawPdu_ = StringUtils::HexToByteVector(pdu); in CreateMessage()