Home
last modified time | relevance | path

Searched refs:codec (Results 1 - 10 of 10) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_param_codec.cpp28 GsmSmsParamEncode codec; in EncodeAddressPdu() local
29 return codec.EncodeAddressPdu(num, resultNum); in EncodeAddressPdu()
34 GsmSmsParamEncode codec; in EncodeSmscPdu() local
35 return codec.EncodeSmscPdu(num, resultNum); in EncodeSmscPdu()
40 GsmSmsParamEncode codec; in EncodeSmscPdu() local
41 return codec.EncodeSmscPdu(num, smscNum, smscLen); in EncodeSmscPdu()
46 GsmSmsParamEncode codec; in EncodeTimePdu() local
47 codec.EncodeTimePdu(timeStamp, resultValue); in EncodeTimePdu()
52 GsmSmsParamEncode codec; in EncodeDCS() local
53 codec in EncodeDCS()
58 GsmSmsParamDecode codec; DecodeAddressPdu() local
64 GsmSmsParamDecode codec; DecodeTimePdu() local
70 GsmSmsParamDecode codec; DecodeDcsPdu() local
76 GsmSmsParamDecode codec; DecodeSmscPdu() local
82 GsmSmsParamDecode codec; DecodeSmscPdu() local
[all...]
H A Dgsm_sms_message.cpp49 GsmSmsParamCodec codec; in CalcReplyEncodeAddress() local
50 codec.EncodeAddressPdu(&replyAddr, encodedAddr); in CalcReplyEncodeAddress()
294 GsmSmsParamCodec codec; in GetSubmitEncodeInfo() local
295 encodeSmscLen = codec.EncodeSmscPdu(&pAddress, encodeSmscAddr, sizeof(encodeSmscAddr)); in GetSubmitEncodeInfo()
405 GsmSmsParamCodec codec; in PduAnalysis() local
406 uint8_t smscLen = codec.DecodeSmscPdu(reinterpret_cast<const uint8_t *>(pdu.c_str()), pdu.length(), smsc); in PduAnalysis()
H A Dgsm_user_data_pdu.cpp286 GsmSmsParamCodec codec; in EncodeHeaderReplyAddress() local
287 if (!codec.EncodeAddressPdu(&(header.udh.alternateAddress), encodedAddr)) { in EncodeHeaderReplyAddress()
645 GsmSmsParamCodec codec; in DecodeHeaderReplyAddress() local
646 if (!codec.DecodeAddressPdu(buffer, &(pHeader.udh.alternateAddress))) { in DecodeHeaderReplyAddress()
/base/telephony/sms_mms/test/fuzztest/gsmsmsparamcodec_fuzzer/
H A Dgsmsmsparamcodec_fuzzer.cpp195 auto codec = std::make_shared<GsmSmsParamCodec>(); in EncodePduItemsTest() local
198 codec->EncodeAddressPdu(pAddress, addrParam); in EncodePduItemsTest()
205 codec->EncodeSmscPdu(addrParam.c_str(), decodeData); in EncodePduItemsTest()
207 codec->EncodeAddressPdu(pAddress, addrParam); in EncodePduItemsTest()
208 codec->EncodeSmscPdu(pAddress, decodeData, len); in EncodePduItemsTest()
209 codec->EncodeAddressPdu(nullptr, addrParam); in EncodePduItemsTest()
210 codec->EncodeSmscPdu(nullptr, decodeData); in EncodePduItemsTest()
211 codec->EncodeSmscPdu(nullptr, decodeData, len); in EncodePduItemsTest()
214 codec->EncodeTimePdu(nullptr, timeParam); in EncodePduItemsTest()
218 codec in EncodePduItemsTest()
244 auto codec = std::make_shared<GsmSmsParamCodec>(); DecodePduItemsTest() local
[all...]
/base/telephony/sms_mms/test/gtest/
H A Dsms_gsm_gtest.cpp65 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local
72 EXPECT_FALSE(codec->CheckVoicemail(smsReadBuff, &setType, &indType)); in HWTEST_F()
82 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local
89 EXPECT_FALSE(codec->CheckVoicemail(smsReadBuff, &setType, &indType)); in HWTEST_F()
99 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local
107 EXPECT_FALSE(codec->CheckVoicemail(smsReadBuff, &setType, &indType)); in HWTEST_F()
117 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local
125 EXPECT_FALSE(codec->CheckVoicemail(smsReadBuff, &setType, &indType)); in HWTEST_F()
136 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local
144 EXPECT_FALSE(codec in HWTEST_F()
154 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); HWTEST_F() local
173 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); HWTEST_F() local
[all...]
/base/telephony/sms_mms/test/fuzztest/unittesttwo_fuzzer/
H A Dunittesttwo_fuzzer.cpp266 GsmCbCodec codec; in TestISSomething() local
268 codec.IsEtwsPrimary(result); in TestISSomething()
269 codec.IsCmasMessage(result); in TestISSomething()
270 codec.IsEtwsEmergencyUserAlert(result); in TestISSomething()
271 codec.IsEtwsPopupAlert(result); in TestISSomething()
273 codec.ParamsCheck(GetPduVect()); in TestISSomething()
275 codec.IsEtwsPrimary(result); in TestISSomething()
276 codec.IsCmasMessage(result); in TestISSomething()
277 codec.IsEtwsEmergencyUserAlert(result); in TestISSomething()
278 codec in TestISSomething()
282 GsmCbCodec codec; TestToString() local
[all...]
/base/telephony/core_service/services/sim/src/
H A Desim_file.cpp197 RequestApduBuild codec(currentChannelId_); in CommBuildOneApduReqInfo()
198 codec.BuildStoreData(hexStr); in CommBuildOneApduReqInfo()
199 std::list<std::unique_ptr<ApduCommand>> list = codec.GetCommands(); in CommBuildOneApduReqInfo()
1472 RequestApduBuild codec(currentChannelId_); in ProcessSendApduData()
1473 codec.BuildStoreData(hexStr); in ProcessSendApduData()
1474 std::list<std::unique_ptr<ApduCommand>> list = codec.GetCommands(); in ProcessSendApduData()
1652 RequestApduBuild codec(currentChannelId_); in SplitSendLongData()
1653 codec.BuildStoreData(hexStr); in SplitSendLongData()
1654 std::list<std::unique_ptr<ApduCommand>> apduCommandList = codec.GetCommands(); in SplitSendLongData()
1679 RequestApduBuild codec(currentChannelId in ProcessIfNeedMoreResponse()
1775 BuildApduForInitSecureChannel( RequestApduBuild& codec, std::shared_ptr<Asn1Node> &bppNode, std::shared_ptr<Asn1Node> &initSecureChannelReq) BuildApduForInitSecureChannel() argument
1786 BuildApduForFirstSequenceOf87(RequestApduBuild &codec, std::shared_ptr<Asn1Node> &firstSequenceOf87) BuildApduForFirstSequenceOf87() argument
1793 BuildApduForSequenceOf88(RequestApduBuild &codec, std::shared_ptr<Asn1Node> &sequenceOf88) BuildApduForSequenceOf88() argument
1814 BuildApduForSequenceOf86(RequestApduBuild &codec, std::shared_ptr<Asn1Node> &bppNode, std::shared_ptr<Asn1Node> &sequenceOf86) BuildApduForSequenceOf86() argument
[all...]
/base/telephony/sms_mms/services/sms/
H A Dgsm_cb_codec.cpp44 bool GsmCbCodec::operator==(const GsmCbCodec &codec) const in operator ==()
46 if (cbHeader_ == nullptr || codec.cbHeader_ == nullptr) { in operator ==()
50 return cbHeader_->serialNum.geoScope == codec.cbHeader_->serialNum.geoScope && in operator ==()
51 cbHeader_->serialNum.msgCode == codec.cbHeader_->serialNum.msgCode && in operator ==()
52 cbHeader_->msgId == codec.cbHeader_->msgId; in operator ==()
/base/telephony/core_service/services/sim/include/
H A Desim_file.h160 RequestApduBuild& codec, std::shared_ptr<Asn1Node> &bppNode, std::shared_ptr<Asn1Node> &initSecureChannelReq);
161 void BuildApduForFirstSequenceOf87(RequestApduBuild &codec, std::shared_ptr<Asn1Node> &firstSequenceOf87);
162 void BuildApduForSequenceOf88(RequestApduBuild &codec, std::shared_ptr<Asn1Node> &sequenceOf88);
163 void BuildApduForSequenceOf86(RequestApduBuild &codec, std::shared_ptr<Asn1Node> &bppNode,
/base/telephony/core_service/test/unittest/esim_gtest/
H A Desim_test.cpp1148 RequestApduBuild codec(currentChannelId_); in HWTEST_F()
1150 esimFile->BuildApduForInitSecureChannel(codec, bppNode, initSecureChannelReq); in HWTEST_F()
1151 bool bRet = codec.GetCommands().size() != 0 ? true : false; in HWTEST_F()
1163 RequestApduBuild codec(currentChannelId_); in HWTEST_F()
1165 esimFile->BuildApduForFirstSequenceOf87(codec, firstSequenceOf87); in HWTEST_F()
1166 bool bRet = codec.GetCommands().size() != 0 ? true : false; in HWTEST_F()
1178 RequestApduBuild codec(currentChannelId_); in HWTEST_F()
1180 esimFile->BuildApduForSequenceOf88(codec, sequenceOf88); in HWTEST_F()
1181 bool bRet = codec.GetCommands().size() != 0 ? true : false; in HWTEST_F()
1193 RequestApduBuild codec(currentChannelId in HWTEST_F()
[all...]

Completed in 16 milliseconds