Lines Matching defs:kTimeout
63 static const uint32_t kTimeout = 5000U;
269 // Send frames for a full kTimeout's worth of 15fps video.
271 while (frame_count < static_cast<int>(kTimeout) / 66) {
420 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout);
443 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout);
454 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout);
466 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout);
468 EXPECT_FRAME_WAIT(2, codec.width, codec.height, kTimeout);
477 EXPECT_FRAME_WAIT(3, codec.width, codec.height, kTimeout);
489 EXPECT_FRAME_WAIT(frame + i * fps, codec.width, codec.height, kTimeout);
574 renderer1, 1, DefaultCodec().width, DefaultCodec().height, kTimeout);
576 renderer2, 1, DefaultCodec().width, DefaultCodec().height, kTimeout);
586 EXPECT_EQ_WAIT(NumRtpPackets(), GetSenderStats(0).packets_sent, kTimeout);
594 EXPECT_EQ_WAIT(NumRtpBytes(), GetReceiverStats(i).bytes_rcvd, kTimeout);
596 kTimeout);
616 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout);
617 EXPECT_FRAME_WAIT(1, DefaultCodec().width, DefaultCodec().height, kTimeout);
639 renderer2, 1, kTestWidth, kTestHeight, kTimeout);
645 for (uint32_t i = 0; i < kTimeout; ++i) {
686 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout);
693 EXPECT_EQ_WAIT(NumRtpPackets(), NumRtpPackets(ssrc), kTimeout);
694 EXPECT_EQ_WAIT(NumRtpBytes(), NumRtpBytes(ssrc), kTimeout);
710 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout);
717 EXPECT_EQ_WAIT(NumRtpPackets(), NumRtpPackets(ssrc), kTimeout);
718 EXPECT_EQ_WAIT(NumRtpBytes(), NumRtpBytes(ssrc), kTimeout);
738 EXPECT_FRAME_WAIT(1, DefaultCodec().width, DefaultCodec().height, kTimeout);
758 EXPECT_FRAME_WAIT(1, DefaultCodec().width, DefaultCodec().height, kTimeout);
777 EXPECT_TRUE_WAIT(NumRtpPackets() > rtp_packets, kTimeout);
887 renderer1, 1, DefaultCodec().width, DefaultCodec().height, kTimeout);
911 renderer1, 2, DefaultCodec().width, DefaultCodec().height, kTimeout);
939 renderer1, 1, DefaultCodec().width, DefaultCodec().height, kTimeout);
941 renderer2, 1, DefaultCodec().width, DefaultCodec().height, kTimeout);
964 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout);
989 !renderer_.black_frame(), kTimeout);
1002 renderer_.black_frame(), kTimeout);
1025 EXPECT_FRAME_WAIT(1, 640, 400, kTimeout);
1032 EXPECT_FRAME_WAIT(2, 640, 400, kTimeout);
1092 renderer1, 1, kTestWidth, kTestHeight, kTimeout);
1097 renderer2, 1, kTestWidth, kTestHeight, kTimeout);
1126 renderer, 1, codec.width, codec.height, kTimeout);
1144 renderer, 2, kScaledWidth, kScaledHeight, kTimeout);
1160 EXPECT_FRAME_WAIT(2, codec.width, codec.height, kTimeout);
1174 EXPECT_FRAME_WAIT(2, codec.width, codec.height, kTimeout);
1203 EXPECT_FRAME_WAIT(frame_count, codec.width, codec.height, kTimeout);
1214 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout);
1224 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout);
1235 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout);
1247 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout);
1253 EXPECT_FRAME_WAIT(2, codec.width / 2, codec.height / 2, kTimeout);
1260 EXPECT_FRAME_WAIT(frame_count, codec.width, codec.height, kTimeout);
1276 EXPECT_FRAME_WAIT(frame_count, format.width, format.height, kTimeout);
1297 EXPECT_FRAME_WAIT(1, DefaultCodec().width, DefaultCodec().height, kTimeout);
1331 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout);
1338 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout);
1345 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout);
1351 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout);
1389 EXPECT_EQ_WAIT(1, renderer2_.num_rendered_frames(), kTimeout);
1438 EXPECT_EQ_WAIT(2, NumRtpPackets(), kTimeout);
1439 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout);
1451 EXPECT_EQ_WAIT(2, renderer_.num_rendered_frames(), kTimeout);
1457 EXPECT_EQ_WAIT(1, renderer2_.num_rendered_frames(), kTimeout);
1472 EXPECT_EQ_WAIT(2, NumRtpPackets(), kTimeout);
1473 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout);