Home
last modified time | relevance | path

Searched refs:HexToByteVector (Results 1 - 22 of 22) sorted by relevance

/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("00240D91689141468496F600001270721142432302B319"); in Smsc00DeliverySms()
165 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in MultiPage7bitSms()
[all...]
/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()
276 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("00240D91689141468496F600001270721142432302B319"); in TestSmsc00DeliverySms()
295 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in TestMultiPage7bitSms()
[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()
/base/telephony/sms_mms/test/gtest/
H A Dsms_utils_gtest.cpp45 auto vect = StringUtils::HexToByteVector(str); in HWTEST_F()
H A Dsms_gtest.cpp1137 StringUtils::HexToByteVector("0891683110808805F0040D91686106571209F800003210921134922307D3F69C5A9ED301"); in ReceiveSmsTestFunc()
1314 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in Create7bitSubmitSmsTestFuc()
1377 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21020B818176251308F40008046D4B8BD5"); in CreateUcs2SubmitSmsTestFuc()
1441 StringUtils::HexToByteVector("0891683108200075F4240D91688129562983F600001240800102142302C130"); in Create7bitDeliverySmsTestFuc()
1505 StringUtils::HexToByteVector("0891683110206005F0240DA1688176251308F4000832500381459323044F60597D"); in CreateUcs2DeliverySmsTestFuc()
1569 StringUtils::HexToByteVector("0891683110808805F006510B818176251308F4325013113382233250131143802300"); in CreateStatusReportSmsTestFuc()
1632 std::vector<unsigned char> pdu = StringUtils::HexToByteVector( in CreateMultiPageSmsTestFuc()
1700 std::vector<unsigned char> pdu = StringUtils::HexToByteVector("21010B818176251308F4000002C130"); in CreateWapPushSmsTestFuc()
H A Dzero_branch_cb_test.cpp325 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(ETWS_PDU); in HWTEST_F()
379 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(CMAS_PDU); in HWTEST_F()
433 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(CBS_PDU); in HWTEST_F()
487 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(CMAS_JP_PDU); in HWTEST_F()
871 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(ETWS_PDU); in HWTEST_F()
921 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(ETWS_PDU); in HWTEST_F()
950 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(ETWS_PDU); in HWTEST_F()
1015 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(CMAS_JP_PDU); in HWTEST_F()
H A Dzero_branch_sms_test.cpp165 auto indexer = SmsReceiveIndexer(StringUtils::HexToByteVector(strData), strData.size(), strData.size(), false, in HWTEST_F()
170 StringUtils::HexToByteVector(strData), strData.size(), strData.size(), false, false, strData, strData, strData); in HWTEST_F()
190 std::make_shared<SmsReceiveIndexer>(StringUtils::HexToByteVector(strData), strData.size(), strData.size(), in HWTEST_F()
H A Dmms_gtest.cpp143 message->pdu = StringUtils::HexToByteVector( in ReceiveWapPushTestFunc()
/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
/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()
/base/telephony/sms_mms/test/fuzztest/smsrecvitem_fuzzer/
H A Dsmsrecvitem_fuzzer.cpp70 auto indexer = SmsReceiveIndexer(StringUtils::HexToByteVector(strData), size, size, size % SLOT_NUM, strData, in DoRecvItemsTest()
75 StringUtils::HexToByteVector(strData), size, size, size % SLOT_NUM, size % SLOT_NUM, strData, strData, strData); in DoRecvItemsTest()
92 std::make_shared<SmsReceiveIndexer>(StringUtils::HexToByteVector(strData), size, size, size % SLOT_NUM, strData, in DoRecvItemsTest()
/base/location/services/location_gnss/gnss/include/
H A Dstring_utils.h36 static std::vector<uint8_t> HexToByteVector(const std::string &str);
/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.cpp231 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(pdus[0]); in CheckSmsSuplInit()
/base/telephony/sms_mms/services/sms/
H A Dgsm_cb_codec.cpp63 result = message->PduAnalysis(StringUtils::HexToByteVector(pdu)); in CreateCbMessage()
H A Dsms_sender.cpp313 smsIndexer->SetAckPdu(std::move(StringUtils::HexToByteVector(info->pdu))); in FindCacheMapAndTransform()
H A Dsms_persist_helper.cpp561 info.SetPdu(StringUtils::HexToByteVector(columnValue)); in ConvertStringToIndexer()
H A Dsms_misc_manager.cpp462 std::vector<unsigned char> pdu = StringUtils::HexToByteVector(v); in GetAllSimMessages()
/base/location/test/location_gnss/source/
H A Dgnss_ability_test.cpp2273 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str); in HWTEST_F()
2284 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str); in HWTEST_F()
2295 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str); in HWTEST_F()
2306 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str); in HWTEST_F()
2317 std::vector<uint8_t> ret = StringUtils::HexToByteVector(str); in HWTEST_F()
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_message.cpp387 message->rawPdu_ = StringUtils::HexToByteVector(pdu); in CreateMessage()

Completed in 30 milliseconds