Searched refs:rtcp_packet_ (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/pc/ |
D | srtp_session_unittest.cc | 42 memcpy(rtcp_packet_, kRtcpReport, rtcp_len_); in SetUp() 54 EXPECT_TRUE(s1_.ProtectRtcp(rtcp_packet_, rtcp_len_, sizeof(rtcp_packet_), in TestProtectRtcp() 57 EXPECT_NE(0, memcmp(rtcp_packet_, kRtcpReport, rtcp_len_)); in TestProtectRtcp() 68 EXPECT_TRUE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); in TestUnprotectRtcp() 70 EXPECT_EQ(0, memcmp(rtcp_packet_, kRtcpReport, out_len)); in TestUnprotectRtcp() 75 char rtcp_packet_[sizeof(kRtcpReport) + 4 + 10]; member in rtc::SrtpSessionTest 154 rtcp_packet_[1] = 0x34; in TEST_F() 159 EXPECT_FALSE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); in TEST_F() 176 EXPECT_FALSE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); in TEST_F() 189 EXPECT_FALSE(s1_.ProtectRtcp(rtcp_packet_, rtcp_len_, in TEST_F() [all …]
|
D | channel_unittest.cc | 122 rtcp_packet_(rtcp_data.data(), rtcp_data.size()) { in ChannelTest() 1414 rtc::Buffer rtcp_packet_; member in ChannelTest
|