Lines Matching defs:channel2

111     FakeTransportChannel* channel2 = CreateChannel("video", 1);
112 ASSERT_NE(nullptr, channel2);
124 channel2->SignalCandidateGathered(channel2, CreateCandidate(1));
126 channel2->SetCandidatesGatheringComplete();
128 channel2->SetConnectionCount(2);
130 channel2->SetReceiving(true);
132 channel2->SetWritable(true);
134 channel2->SetConnectionCount(1);
209 FakeTransportChannel* channel2 = CreateChannel("video", 1);
210 ASSERT_NE(nullptr, channel2);
211 EXPECT_EQ(1000, channel2->receiving_timeout());
212 EXPECT_TRUE(channel2->gather_continually());
238 FakeTransportChannel* channel2 = CreateChannel("video", 1);
239 ASSERT_NE(nullptr, channel2);
240 EXPECT_EQ(cricket::ICEROLE_CONTROLLED, channel2->GetIceRole());
248 FakeTransportChannel* channel2 = CreateChannel("video", 1);
249 ASSERT_NE(nullptr, channel2);
253 EXPECT_EQ(cricket::ICEROLE_CONTROLLING, channel2->GetIceRole());
257 EXPECT_EQ(cricket::ICEROLE_CONTROLLED, channel2->GetIceRole());
293 FakeTransportChannel* channel2 = CreateChannel("video", 1);
294 ASSERT_NE(nullptr, channel2);
392 FakeTransportChannel* channel2 = CreateChannel("audio", 2);
393 ASSERT_NE(nullptr, channel2);
407 FakeTransportChannel* channel2 = CreateChannel("audio", 1);
408 ASSERT_NE(nullptr, channel2);
409 ASSERT_EQ(channel1, channel2);
429 FakeTransportChannel* channel2 = CreateChannel("video", 1);
430 ASSERT_NE(nullptr, channel2);
446 FakeTransportChannel* channel2 = CreateChannel("video", 1);
447 ASSERT_NE(nullptr, channel2);
470 channel2->SetConnectionCount(2);
471 channel2->SetWritable(true);
480 FakeTransportChannel* channel2 = CreateChannel("video", 1);
481 ASSERT_NE(nullptr, channel2);
504 channel2->SetCandidatesGatheringComplete();
505 channel2->SetConnectionCount(2);
506 channel2->SetWritable(true);
511 channel2->SetConnectionCount(1);
521 FakeTransportChannel* channel2 = CreateChannel("video", 1);
522 ASSERT_NE(nullptr, channel2);
527 channel2->SetCandidatesGatheringComplete();
528 channel2->SetConnectionCount(2);
529 channel2->SetWritable(true);
564 FakeTransportChannel* channel2 = CreateChannel("video", 1);
565 ASSERT_NE(nullptr, channel2);
572 channel2->SetReceiving(true);
574 channel2->SetReceiving(false);
592 FakeTransportChannel* channel2 = CreateChannel("video", 1);
593 ASSERT_NE(nullptr, channel2);
612 channel2->Connect();
613 channel2->MaybeStartGathering();
618 channel2->SetCandidatesGatheringComplete();
632 FakeTransportChannel* channel2 = CreateChannel("video", 1);
633 ASSERT_NE(nullptr, channel2);