Home
last modified time | relevance | path

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

/ohos5.0/base/telephony/sms_mms/test/unittest/
H A Dsms_gsm_message_test.cpp116 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in Test7BitSubmitSms()
134 …std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21020B818176251308F40008046D4B8BD5"… in TestUcs2SubmitSms()
153 … StringUtils::HexToByteVector("0891683108200075F4240D91688129562983F600001240800102142302C130"); in Test7BitDeliverySms()
172 …StringUtils::HexToByteVector("0891683110206005F0240DA1688176251308F4000832500381459323044F60597D"); in TestUcs2DeliverySms()
191 …StringUtils::HexToByteVector("0891683110808805F006510B818176251308F4325013113382233250131143802300… in TestStatusReportSms()
210 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in TestMultiPageUcs2Sms()
233 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in TestWapPushSms()
256 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in TestDataSmsDeliverySms()
295 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in TestMultiPage7bitSms()
318 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("00010005910110F0000003E17018"); in Test7BitOtherSubmitSms()
[all …]
H A Dshort_message_test.cpp30 … StringUtils::HexToByteVector("0891683108200075F4240D91688129562983F600001240800102142302C130"); in TestCreateMessage()
48 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in Test3Gpp2CreateMessage()
H A Dsms_broadcast_subscriber.cpp44 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(pdus[index]); in OnReceiveEvent()
/ohos5.0/base/telephony/sms_mms/test/fuzztest/gsmsmsparamcodec_fuzzer/
H A Dgsmsmsparamcodec_fuzzer.cpp49 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in T7BitSubmitSms()
60 …std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21020B818176251308F40008046D4B8BD5"… in Ucs2SubmitSms()
72 … StringUtils::HexToByteVector("0891683108200075F4240D91688129562983F600001240800102142302C130"); in T7BitDeliverySms()
84 …StringUtils::HexToByteVector("0891683110206005F0240DA1688176251308F4000832500381459323044F60597D"); in Ucs2DeliverySms()
96 …StringUtils::HexToByteVector("0891683110808805F006510B818176251308F4325013113382233250131143802300… in StatusReportSms()
108 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in MultiPageUcs2Sms()
124 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in WapPushSms()
140 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in DataSmsDeliverySms()
153 …std::vector<unsigned char> pdu = StringUtils::HexToByteVector("00240D91689141468496F60000127072114… in Smsc00DeliverySms()
165 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in MultiPage7bitSms()
[all …]
/ohos5.0/base/telephony/sms_mms/test/fuzztest/setgetcbconfig_fuzzer/
H A Dsetgetcbconfig_fuzzer.cpp138 cbMessage->PduAnalysis(StringUtils::HexToByteVector(pdu)); in UpdataCBMessage()
150 umtsCbMessage->PduAnalysis(StringUtils::HexToByteVector(pdu)); in UpdataCBMessage()
151 auto cbMessageByVectorInit = GsmCbCodec::CreateCbMessage(StringUtils::HexToByteVector(pdu)); in UpdataCBMessage()
/ohos5.0/base/telephony/sms_mms/test/fuzztest/smsrecvitem_fuzzer/
H A Dsmsrecvitem_fuzzer.cpp70 …auto indexer = SmsReceiveIndexer(StringUtils::HexToByteVector(strData), size, size, size % SLOT_NU… in DoRecvItemsTest()
75 …StringUtils::HexToByteVector(strData), size, size, size % SLOT_NUM, size % SLOT_NUM, strData, strD… in DoRecvItemsTest()
92 …std::make_shared<SmsReceiveIndexer>(StringUtils::HexToByteVector(strData), size, size, size % SLOT… in DoRecvItemsTest()
/ohos5.0/drivers/peripheral/location/gnss/hdi_service/
H A Dstring_utils.h31 static std::vector<uint8_t> HexToByteVector(const std::string &str);
H A Dstring_utils.cpp43 std::vector<uint8_t> StringUtils::HexToByteVector(const std::string &str) in HexToByteVector() function in OHOS::HDI::Location::StringUtils
H A Dgnss_interface_impl.cpp551 std::vector<uint8_t> data = StringUtils::HexToByteVector(msg); in SendNetworkInitiatedMsg()
/ohos5.0/base/telephony/sms_mms/utils/
H A Dstring_utils.h34 static std::vector<uint8_t> HexToByteVector(const std::string &str);
H A Dstring_utils.cpp104 std::vector<uint8_t> StringUtils::HexToByteVector(const std::string &str) in HexToByteVector() function in OHOS::Telephony::StringUtils
/ohos5.0/base/location/services/location_gnss/gnss/include/
H A Dstring_utils.h36 static std::vector<uint8_t> HexToByteVector(const std::string &str);
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dsms_gtest.cpp1160 …StringUtils::HexToByteVector("0891683110808805F0040D91686106571209F800003210921134922307D3F69C5A9E… in ReceiveSmsTestFunc()
1343 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in Create7bitSubmitSmsTestFuc()
1406 …std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21020B818176251308F40008046D4B8BD5"… in CreateUcs2SubmitSmsTestFuc()
1470 … StringUtils::HexToByteVector("0891683108200075F4240D91688129562983F600001240800102142302C130"); in Create7bitDeliverySmsTestFuc()
1534 …StringUtils::HexToByteVector("0891683110206005F0240DA1688176251308F4000832500381459323044F60597D"); in CreateUcs2DeliverySmsTestFuc()
1598 …StringUtils::HexToByteVector("0891683110808805F006510B818176251308F4325013113382233250131143802300… in CreateStatusReportSmsTestFuc()
1661 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in CreateMultiPageSmsTestFuc()
1729 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in CreateWapPushSmsTestFuc()
H A Dzero_branch_cb_test.cpp330 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(ETWS_PDU);
388 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(CMAS_PDU);
446 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(CBS_PDU);
504 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(CMAS_JP_PDU);
H A Dzero_branch_sms_test.cpp160 …auto indexer = SmsReceiveIndexer(StringUtils::HexToByteVector(strData), strData.size(), strData.si…
165 …StringUtils::HexToByteVector(strData), strData.size(), strData.size(), false, false, strData, strD…
185 …std::make_shared<SmsReceiveIndexer>(StringUtils::HexToByteVector(strData), strData.size(), strData…
H A Dmms_gtest.cpp143 message->pdu = StringUtils::HexToByteVector( in ReceiveWapPushTestFunc()
/ohos5.0/base/location/services/location_gnss/gnss/source/
H A Dstring_utils.cpp106 std::vector<uint8_t> StringUtils::HexToByteVector(const std::string &str) in HexToByteVector() function in OHOS::Location::StringUtils
H A Dagnss_ni_manager.cpp240 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(pdus[0]); in CheckSmsSuplInit()
/ohos5.0/base/location/test/location_gnss/source/
H A Dgnss_ability_test.cpp2273 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str);
2284 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str);
2295 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str);
2306 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str);
2317 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str);
/ohos5.0/base/telephony/sms_mms/services/sms/
H A Dsms_misc_manager.cpp462 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(v); in GetAllSimMessages()
H A Dsms_persist_helper.cpp501 info.SetPdu(StringUtils::HexToByteVector(columnValue)); in ConvertStringToIndexer()
H A Dgsm_cb_codec.cpp63 result = message->PduAnalysis(StringUtils::HexToByteVector(pdu)); in CreateCbMessage()
H A Dsms_sender.cpp273 smsIndexer->SetAckPdu(std::move(StringUtils::HexToByteVector(info->pdu))); in FindCacheMapAndTransform()
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_message.cpp387 message->rawPdu_ = StringUtils::HexToByteVector(pdu); in CreateMessage()