Searched refs:rtp_len_ (Results 1 – 1 of 1) sorted by relevance
/external/webrtc/talk/session/media/ |
D | srtpfilter_unittest.cc | 577 rtp_len_ = sizeof(kPcmuFrame); in SetUp() 579 memcpy(rtp_packet_, kPcmuFrame, rtp_len_); in SetUp() 584 EXPECT_TRUE(s1_.ProtectRtp(rtp_packet_, rtp_len_, in TestProtectRtp() 586 EXPECT_EQ(out_len, rtp_len_ + rtp_auth_tag_len(cs)); in TestProtectRtp() 587 EXPECT_NE(0, memcmp(rtp_packet_, kPcmuFrame, rtp_len_)); in TestProtectRtp() 588 rtp_len_ = out_len; in TestProtectRtp() 600 EXPECT_TRUE(s2_.UnprotectRtp(rtp_packet_, rtp_len_, &out_len)); in TestUnprotectRtp() 614 int rtp_len_; member in SrtpSessionTest 664 EXPECT_TRUE(s1_.ProtectRtp(rtp_packet_, rtp_len_, in TEST_F() 680 EXPECT_FALSE(s2_.UnprotectRtp(rtp_packet_, rtp_len_, &out_len)); in TEST_F() [all …]
|