Home
last modified time | relevance | path

Searched refs:kPacketsToSend (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/pacing/
Dpaced_sender_unittest.cc125 static constexpr size_t kPacketsToSend = 42; in TEST_P() local
127 DataRate::BitsPerSec(kDefaultPacketSize * 8 * kPacketsToSend), in TEST_P()
130 for (size_t i = 0; i < kPacketsToSend; ++i) { in TEST_P()
144 while (packets_sent < kPacketsToSend) { in TEST_P()
Dtask_queue_paced_sender_unittest.cc134 static constexpr size_t kPacketsToSend = 42; in TEST() local
136 DataRate::BitsPerSec(kDefaultPacketSize * 8 * kPacketsToSend), in TEST()
139 GeneratePackets(RtpPacketMediaType::kVideo, kPacketsToSend)); in TEST()
148 if (packets_sent == kPacketsToSend) { in TEST()
158 EXPECT_EQ(packets_sent, kPacketsToSend); in TEST()
Dpacing_controller_unittest.cc520 const size_t kPacketsToSend = in TEST_P() local
522 for (size_t i = 0; i < kPacketsToSend; ++i) { in TEST_P()
532 EXPECT_EQ(kPacketsToSend + 1, pacer_->QueueSizePackets()); in TEST_P()
550 for (size_t i = 0; i < kPacketsToSend - 1; ++i) { in TEST_P()
556 EXPECT_EQ(kPacketsToSend, pacer_->QueueSizePackets()); in TEST_P()
574 const size_t kPacketsToSend = (kSendInterval * kTargetRate).bytes() * in TEST_P() local
577 for (size_t i = 0; i < kPacketsToSend; ++i) { in TEST_P()
587 EXPECT_EQ(kPacketsToSend + 1, pacer_->QueueSizePackets()); in TEST_P()
742 const size_t kPacketsToSend = 20; in TEST_P() local
743 for (size_t i = 0; i < kPacketsToSend; ++i) { in TEST_P()