Home
last modified time | relevance | path

Searched refs:Decode (Results 1 – 23 of 23) sorted by relevance

/base/telephony/sms_mms/test/fuzztest/cdmasmsdecode_fuzzer/
Dcdmasmsdecode_fuzzer.cpp40 parameter->Decode(pdu); in TeleserviceIdDecode()
49 parameter->Decode(rBuffer1); in TeleserviceIdDecode()
62 parameter->Decode(pdu); in ServiceCategoryDecode()
71 parameter->Decode(rBuffer1); in ServiceCategoryDecode()
84 parameter->Decode(pdu); in BearerReplyDecode()
93 parameter->Decode(rBuffer1); in BearerReplyDecode()
106 parameter->Decode(pdu); in CauseCodesDecode()
115 parameter->Decode(rBuffer1); in CauseCodesDecode()
128 parameter->Decode(pdu); in AddressParameterDecode()
137 parameter->Decode(rBuffer1); in AddressParameterDecode()
[all …]
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_sub_parameter.h29 virtual bool Decode(SmsReadBuffer &pdu) = 0;
71 bool Decode(SmsReadBuffer &pdu) override;
81 bool Decode(SmsReadBuffer &pdu) override;
88 bool Decode(SmsReadBuffer &pdu) override;
100 bool Decode(SmsReadBuffer &pdu) override;
114 bool Decode(SmsReadBuffer &pdu) override;
124 bool Decode(SmsReadBuffer &pdu) override;
134 bool Decode(SmsReadBuffer &pdu) override;
144 bool Decode(SmsReadBuffer &pdu) override;
183 bool Decode(SmsReadBuffer &pdu) override;
[all …]
Dcdma_sms_parameter_record.h30 virtual bool Decode(SmsReadBuffer &pdu) = 0;
57 bool Decode(SmsReadBuffer &pdu) override;
67 bool Decode(SmsReadBuffer &pdu) override;
77 bool Decode(SmsReadBuffer &pdu) override;
87 bool Decode(SmsReadBuffer &pdu) override;
98 bool Decode(SmsReadBuffer &pdu) override;
113 bool Decode(SmsReadBuffer &pdu) override;
126 bool Decode(SmsReadBuffer &pdu) override;
Dcdma_sms_transport_message.h33 virtual bool Decode(SmsReadBuffer &pdu);
Dcdma_sms_teleservice_message.h32 virtual bool Decode(SmsReadBuffer &pdu);
/base/telephony/sms_mms/test/gtest/
Dzero_branch_cdma_sms_test.cpp513 EXPECT_FALSE(message->Decode(*buffer2));
518 EXPECT_FALSE(message->Decode(*buffer3));
545 EXPECT_FALSE(message->Decode(rBuffer));
567 EXPECT_FALSE(message->Decode(buffer));
578 EXPECT_TRUE(message->Decode(buffer));
602 EXPECT_FALSE(message->Decode(*buffer2));
637 EXPECT_FALSE(message->Decode(rBuffer));
645 EXPECT_FALSE(message1->Decode(rBuffer));
649 EXPECT_FALSE(message2->Decode(rBuffer));
653 EXPECT_FALSE(message3->Decode(rBuffer));
[all …]
Dcdma_sms_gtest.cpp229 EXPECT_EQ(transportMessage->Decode(pduBuffer), true);
263 EXPECT_TRUE(message->Decode(rBuffer));
287 EXPECT_TRUE(transportMessage->Decode(pduBuffer));
326 EXPECT_TRUE(message->Decode(rBuffer)); in CheckDeliverUserData()
343 EXPECT_TRUE(message->Decode(rBuffer)); in CheckSubmitUserData()
362 EXPECT_TRUE(message2->Decode(rBuffer2)); in CheckSubmitUserData()
413 EXPECT_TRUE(message->Decode(rBuffer));
Dmms_gtest.cpp544 std::string ret = mmsBase64.Decode(valueStr);
575 mmsQuotedPrintable.Decode(valueStr, valueStr);
576 bool ret = mmsQuotedPrintable.Decode("", valueStr);
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_parameter_record.cpp55 bool CdmaSmsTeleserviceId::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsTeleserviceId
85 bool CdmaSmsServiceCategory::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsServiceCategory
116 bool CdmaSmsBearerReply::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsBearerReply
161 bool CdmaSmsCauseCodes::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsCauseCodes
238 bool CdmaSmsAddressParameter::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsAddressParameter
378 bool CdmaSmsSubaddress::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsSubaddress
486 bool CdmaSmsBearerData::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsBearerData
497 return teleserviceMessage_->Decode(pdu); in Decode()
Dcdma_sms_sub_parameter.cpp59 bool CdmaSmsBaseParameter::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsBaseParameter
82 bool CdmaSmsReservedParameter::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsReservedParameter
118 bool CdmaSmsMessageId::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsMessageId
177 bool CdmaSmsAbsoluteTime::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsAbsoluteTime
237 bool CdmaSmsPriorityInd::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsPriorityInd
278 bool CdmaSmsPrivacyInd::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsPrivacyInd
320 bool CdmaSmsReplyOption::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsReplyOption
556 bool CdmaSmsUserData::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsUserData
757 bool CdmaSmsCmasData::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsCmasData
987 bool CdmaSmsAlertPriority::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsAlertPriority
[all …]
Dcdma_sms_transport_message.cpp58 bool CdmaSmsTransportMessage::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsTransportMessage
79 if (parameter_[i] == nullptr || !parameter_[i]->Decode(pdu)) { in Decode()
222 parameter_[parameter_.size() - 1]->Decode(pdu); in CdmaSmsBroadcastMessage()
Dcdma_sms_teleservice_message.cpp50 bool CdmaSmsTeleserviceMessage::Decode(SmsReadBuffer &pdu) in Decode() function in OHOS::Telephony::CdmaSmsTeleserviceMessage
62 if (parameter_[i] == nullptr || !parameter_[i]->Decode(pdu)) { in Decode()
85 if (messageId.Decode(pdu)) { in GetMessageType()
Dcdma_sms_message.cpp181 …if (transportMessage == nullptr || transportMessage->IsEmpty() || !transportMessage->Decode(pduBuf… in PduAnalysis()
/base/telephony/sms_mms/frameworks/native/mms/include/utils/
Dmms_base64.h26 static std::string Decode(const std::string data);
Dmms_quoted_printable.h28 static bool Decode(const std::string src, std::string &dest);
/base/telephony/sms_mms/frameworks/native/mms/src/utils/
Dmms_base64.cpp31 std::string MmsBase64::Decode(const std::string src) in Decode() function in OHOS::Telephony::MmsBase64
Dmms_quoted_printable.cpp49 bool MmsQuotedPrintable::Decode(const std::string src, std::string &dest) in Decode() function in OHOS::Telephony::MmsQuotedPrintable
/base/web/webview/ohos_adapter/net_proxy_adapter/include/
Dnet_proxy_adapter_impl.h62 std::string Decode(const std::string& encoded);
/base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test/
Dnet_proxy_adapter_test.cpp284 result = Base64::Decode(source);
287 Base64::Decode(source);
289 Base64::Decode(source);
/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_body_part.cpp211 encodebuffer = MmsBase64::Decode(encodeString); in DecodePartBody()
213 MmsQuotedPrintable::Decode(encodeString, encodebuffer); in DecodePartBody()
/base/web/webview/ohos_adapter/net_proxy_adapter/src/
Dnet_proxy_adapter_impl.cpp141 std::string Decode(const std::string& encoded) in Decode() function
/base/web/webview/test/unittest/pasteboard_adapter/
Dpasteboard_client_adapter_test.cpp111 MOCK_METHOD1(Decode, bool(const std::vector<uint8_t> &));
118 MOCK_METHOD1(Decode, bool(const std::vector<uint8_t> &));
/base/telephony/sms_mms/test/unittest/
Dcdma_sms_test.cpp705 if (!message->Decode(pduBuffer)) { in TestDecodeMsg()
735 if (!message->Decode(rBuffer)) { in TestDecodeBearerData()