Lines Matching refs:f2_
86 EXPECT_TRUE(f2_.SetOffer(params1, CS_REMOTE));
88 EXPECT_FALSE(f2_.IsActive());
89 EXPECT_TRUE(f2_.SetAnswer(params2, CS_LOCAL));
92 EXPECT_TRUE(f2_.IsActive());
111 EXPECT_TRUE(f2_.UnprotectRtp(rtp_packet, out_len, &out_len));
115 EXPECT_TRUE(f2_.ProtectRtp(rtp_packet, rtp_len,
127 EXPECT_TRUE(f2_.UnprotectRtcp(rtcp_packet, out_len, &out_len));
131 EXPECT_TRUE(f2_.ProtectRtcp(rtcp_packet, rtcp_len,
140 cricket::SrtpFilter f2_;
205 EXPECT_TRUE(f2_.SetOffer(MakeVector(kTestCryptoParams1), CS_REMOTE));
206 EXPECT_TRUE(f2_.SetOffer(MakeVector(kTestCryptoParams2), CS_REMOTE));
207 EXPECT_FALSE(f2_.IsActive());
208 EXPECT_TRUE(f2_.SetAnswer(MakeVector(kTestCryptoParams2), CS_LOCAL));
209 EXPECT_TRUE(f2_.IsActive());
210 EXPECT_TRUE(f2_.SetOffer(MakeVector(kTestCryptoParams1), CS_REMOTE));
211 EXPECT_TRUE(f2_.SetOffer(MakeVector(kTestCryptoParams2), CS_REMOTE));
212 EXPECT_TRUE(f2_.SetAnswer(MakeVector(kTestCryptoParams2), CS_LOCAL));
225 EXPECT_TRUE(f2_.SetOffer(MakeVector(kTestCryptoParams2), CS_REMOTE));
226 EXPECT_FALSE(f2_.SetOffer(MakeVector(kTestCryptoParams1), CS_LOCAL));
227 EXPECT_FALSE(f2_.IsActive());
228 EXPECT_TRUE(f2_.SetAnswer(MakeVector(kTestCryptoParams2), CS_LOCAL));
229 EXPECT_TRUE(f2_.IsActive());
230 EXPECT_TRUE(f2_.SetOffer(MakeVector(kTestCryptoParams2), CS_REMOTE));
231 EXPECT_FALSE(f2_.SetOffer(MakeVector(kTestCryptoParams1), CS_LOCAL));
232 EXPECT_TRUE(f2_.SetAnswer(MakeVector(kTestCryptoParams2), CS_LOCAL));
347 EXPECT_TRUE(f2_.SetOffer(offer, CS_REMOTE));
348 EXPECT_TRUE(f2_.SetAnswer(answer, CS_LOCAL));
391 EXPECT_TRUE(f2_.SetOffer(offer, CS_REMOTE));
399 EXPECT_TRUE(f2_.SetAnswer(answer, CS_LOCAL));
415 EXPECT_TRUE(f2_.SetOffer(offer, CS_REMOTE));
417 EXPECT_FALSE(f2_.IsActive());
418 EXPECT_TRUE(f2_.SetProvisionalAnswer(answer, CS_LOCAL));
421 EXPECT_TRUE(f2_.IsActive());
427 EXPECT_TRUE(f2_.SetAnswer(answer, CS_LOCAL));
430 EXPECT_TRUE(f2_.IsActive());
440 EXPECT_TRUE(f2_.SetOffer(offer, CS_REMOTE));
442 EXPECT_FALSE(f2_.IsActive());
443 EXPECT_TRUE(f2_.SetProvisionalAnswer(answer, CS_LOCAL));
446 EXPECT_FALSE(f2_.IsActive());
449 EXPECT_TRUE(f2_.SetAnswer(answer, CS_LOCAL));
452 EXPECT_TRUE(f2_.IsActive());
463 EXPECT_TRUE(f2_.SetOffer(offer, CS_REMOTE));
465 EXPECT_TRUE(f2_.SetProvisionalAnswer(answer, CS_LOCAL));
467 EXPECT_FALSE(f2_.IsActive());
471 EXPECT_FALSE(f2_.SetOffer(offer, CS_REMOTE));
473 EXPECT_FALSE(f2_.IsActive());
476 EXPECT_TRUE(f2_.SetAnswer(answer, CS_LOCAL));
479 EXPECT_TRUE(f2_.IsActive());
494 EXPECT_TRUE(f2_.SetOffer(offer, CS_REMOTE));
496 EXPECT_TRUE(f2_.IsActive());
502 EXPECT_TRUE(f2_.SetAnswer(answer, CS_LOCAL));
506 EXPECT_FALSE(f2_.IsActive());
514 EXPECT_TRUE(f2_.SetRtpParams(rtc::SRTP_AES128_CM_SHA1_80, kTestKey2,
520 EXPECT_TRUE(f2_.SetRtcpParams(rtc::SRTP_AES128_CM_SHA1_80, kTestKey2,
524 EXPECT_TRUE(f2_.IsActive());
533 EXPECT_TRUE(f2_.SetRtpParams(rtc::SRTP_AES128_CM_SHA1_32, kTestKey2,
539 EXPECT_TRUE(f2_.SetRtcpParams(rtc::SRTP_AES128_CM_SHA1_32, kTestKey2,
543 EXPECT_TRUE(f2_.IsActive());