Home
last modified time | relevance | path

Searched refs:SrtpFilter (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/talk/session/media/
Dsrtpfilter.cc117 SrtpFilter::SrtpFilter() in SrtpFilter() function in cricket::SrtpFilter
122 SrtpFilter::~SrtpFilter() { in ~SrtpFilter()
125 bool SrtpFilter::IsActive() const { in IsActive()
129 bool SrtpFilter::SetOffer(const std::vector<CryptoParams>& offer_params, in SetOffer()
138 bool SrtpFilter::SetAnswer(const std::vector<CryptoParams>& answer_params, in SetAnswer()
143 bool SrtpFilter::SetProvisionalAnswer( in SetProvisionalAnswer()
149 bool SrtpFilter::SetRtpParams(int send_cs, in SetRtpParams()
182 bool SrtpFilter::SetRtcpParams(int send_cs, in SetRtcpParams()
214 bool SrtpFilter::ProtectRtp(void* p, int in_len, int max_len, int* out_len) { in ProtectRtp()
223 bool SrtpFilter::ProtectRtp(void* p, in ProtectRtp()
[all …]
Dsrtpfilter.h69 class SrtpFilter {
82 SrtpFilter();
83 ~SrtpFilter();
232 sigslot::repeater3<uint32_t, SrtpFilter::Mode, SrtpFilter::Error>
278 sigslot::signal3<uint32_t, SrtpFilter::Mode, SrtpFilter::Error>
286 mode(SrtpFilter::PROTECT), in FailureKey()
287 error(SrtpFilter::ERROR_NONE) { in FailureKey()
290 SrtpFilter::Mode in_mode, in FailureKey()
291 SrtpFilter::Error in_error) in FailureKey()
300 SrtpFilter::Mode mode;
[all …]
Dsrtpfilter_unittest.cc139 cricket::SrtpFilter f1_;
140 cricket::SrtpFilter f2_;
765 error_(cricket::SrtpFilter::ERROR_NONE) { in SrtpStatTest()
772 cricket::SrtpFilter::Mode mode, in OnSrtpError()
773 cricket::SrtpFilter::Error error) { in OnSrtpError()
781 error_ = cricket::SrtpFilter::ERROR_NONE; in Reset()
787 cricket::SrtpFilter::Error error_;
798 EXPECT_EQ(cricket::SrtpFilter::ERROR_NONE, error_); in TEST_F()
802 EXPECT_EQ(cricket::SrtpFilter::PROTECT, mode_); in TEST_F()
803 EXPECT_EQ(cricket::SrtpFilter::ERROR_AUTH, error_); in TEST_F()
[all …]
Dchannel_unittest.cc1669 mode_(cricket::SrtpFilter::UNPROTECT), in TestSrtpError()
1670 error_(cricket::SrtpFilter::ERROR_NONE) {} in TestSrtpError()
1671 void OnSrtpError(uint32 ssrc, cricket::SrtpFilter::Mode mode, in TestSrtpError()
1672 cricket::SrtpFilter::Error error) { in TestSrtpError()
1676 cricket::SrtpFilter::Mode mode_; in TestSrtpError()
1677 cricket::SrtpFilter::Error error_; in TestSrtpError()
1712 EXPECT_EQ_WAIT(cricket::SrtpFilter::ERROR_FAIL, error_handler.error_, 500); in TestSrtpError()
1713 EXPECT_EQ(cricket::SrtpFilter::PROTECT, error_handler.mode_); in TestSrtpError()
1714 error_handler.error_ = cricket::SrtpFilter::ERROR_NONE; in TestSrtpError()
1715 error_handler.mode_ = cricket::SrtpFilter::UNPROTECT; in TestSrtpError()
[all …]
Dchannel.h175 SrtpFilter* srtp_filter() { return &srtp_filter_; } in srtp_filter()
321 SrtpFilter srtp_filter_;