• Home
  • Raw
  • Download

Lines Matching refs:callee

345   auto callee = CreatePeerConnectionWithAudioVideo();  in TEST_P()  local
348 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
349 ASSERT_TRUE(callee->SetLocalDescription(callee->CreateAnswer())); in TEST_P()
351 EXPECT_TRUE_WAIT(callee->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P()
353 auto* answer = callee->pc()->local_description(); in TEST_P()
355 EXPECT_EQ(callee->observer()->GetCandidatesByMline(0).size(), in TEST_P()
358 EXPECT_EQ(callee->observer()->GetCandidatesByMline(1).size(), in TEST_P()
367 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
373 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
374 auto remote_candidates = callee->GetIceCandidatesFromRemoteDescription(); in TEST_P()
391 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
396 EXPECT_FALSE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
404 auto callee = CreatePeerConnection(); in TEST_P() local
406 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
411 callee->pc()->ice_connection_state()); in TEST_P()
433 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
439 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
444 EXPECT_EQ(0u, callee->observer()->candidates_.size()); in TEST_P()
469 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
471 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
488 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
490 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
492 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
505 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
507 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
527 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
529 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
531 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
547 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
549 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
551 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
568 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
570 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
572 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
576 ASSERT_TRUE(callee->AddIceCandidate(&candidate1)); in TEST_P()
584 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
585 EXPECT_EQ(2u, callee->GetIceCandidatesFromRemoteDescription().size()); in TEST_P()
664 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
666 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
669 callee->AddIceCandidate(&candidate); in TEST_P()
670 auto candidates = callee->GetIceCandidatesFromRemoteDescription(); in TEST_P()
681 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
683 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
685 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
705 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
707 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
710 callee->CreateJsepCandidateForFirstTransport(&candidate); in TEST_P()
712 callee->pc()->AddIceCandidate(std::move(jsep_candidate), in TEST_P()
719 auto candidates = callee->GetIceCandidatesFromRemoteDescription(); in TEST_P()
730 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
732 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
735 callee->CreateJsepCandidateForFirstTransport(&candidate); in TEST_P()
737 callee->pc()->AddIceCandidate( in TEST_P()
748 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
750 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
755 callee->pc()->CreateAnswer(answer_observer, RTCOfferAnswerOptions()); in TEST_P()
758 callee->CreateJsepCandidateForFirstTransport(&candidate); in TEST_P()
760 callee->pc()->AddIceCandidate( in TEST_P()
796 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
798 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
803 callee->pc()->CreateAnswer(answer_observer, RTCOfferAnswerOptions()); in TEST_P()
806 callee->CreateJsepCandidateForFirstTransport(&candidate); in TEST_P()
808 callee->pc()->AddIceCandidate( in TEST_P()
821 callee = nullptr; in TEST_P()
901 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
907 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
912 callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal(options))); in TEST_P()
914 EXPECT_EQ(0u, callee->GetIceCandidatesFromRemoteDescription().size()); in TEST_P()
922 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
929 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
938 ASSERT_TRUE(callee->SetRemoteDescription(std::move(restart_offer))); in TEST_P()
940 auto remote_candidates = callee->GetIceCandidatesFromRemoteDescription(); in TEST_P()
950 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
952 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
954 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
957 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
959 auto answer = callee->CreateAnswer(); in TEST_P()
962 GetFirstTransportDescription(callee->pc()->local_description()); in TEST_P()
970 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
972 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
985 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
987 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
994 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
1004 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1006 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
1009 ASSERT_TRUE(caller->SetRemoteDescription(callee->CreateOfferAndSetAsLocal())); in TEST_P()
1014 callee->SetRemoteDescription(caller->CreateAnswerAndSetAsLocal())); in TEST_P()
1023 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1025 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
1031 callee->pc()->RestartIce(); in TEST_P()
1032 ASSERT_TRUE(callee->ExchangeOfferAnswerWith(caller.get())); in TEST_P()
1041 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1043 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_P()
1062 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_F() local
1064 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_F()
1073 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_F()
1080 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_F() local
1083 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
1084 ASSERT_TRUE(caller->SetRemoteDescription(callee->CreateOfferAndSetAsLocal())); in TEST_F()
1093 callee->SetRemoteDescription(caller->CreateAnswerAndSetAsLocal())); in TEST_F()
1100 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_F() local
1102 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
1108 callee->pc()->RestartIce(); in TEST_F()
1109 ASSERT_TRUE(callee->ExchangeOfferAnswerWith(caller.get())); in TEST_F()
1118 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_F() local
1120 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
1140 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_F() local
1142 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_F()
1148 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_F()
1157 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_F() local
1159 ASSERT_TRUE(caller->ExchangeOfferAnswerWith(callee.get())); in TEST_F()
1196 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1198 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1200 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
1211 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
1213 auto answer = callee->CreateAnswer(); in TEST_P()
1216 GetFirstTransportDescription(callee->pc()->local_description()); in TEST_P()
1238 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1240 ASSERT_TRUE(callee->SetRemoteDescription(caller->CreateOfferAndSetAsLocal())); in TEST_P()
1242 caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal())); in TEST_P()
1254 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
1256 auto answer = callee->CreateAnswer(disable_bundle_options); in TEST_P()
1259 callee->pc()->local_description()->description()->transport_infos(); in TEST_P()
1278 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1284 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
1286 auto answer = callee->CreateAnswer(); in TEST_P()
1289 callee->SetLocalDescription(CloneSessionDescription(answer.get()))); in TEST_P()
1293 EXPECT_EQ(cricket::ICEROLE_CONTROLLING, GetIceRole(callee)); in TEST_P()
1302 auto callee = CreatePeerConnectionWithAudioVideo(); in TEST_P() local
1308 ASSERT_TRUE(callee->SetRemoteDescription(std::move(offer))); in TEST_P()
1310 auto answer = callee->CreateAnswer(); in TEST_P()
1313 callee->SetLocalDescription(CloneSessionDescription(answer.get()))); in TEST_P()
1317 EXPECT_EQ(cricket::ICEROLE_CONTROLLED, GetIceRole(callee)); in TEST_P()