• Home
  • Raw
  • Download

Lines Matching refs:PacingController

71 class MockPacingControllerCallback : public PacingController::PacketSender {
109 class MockPacketSender : public PacingController::PacketSender {
127 class PacingControllerPadding : public PacingController::PacketSender {
164 class PacingControllerProbing : public PacingController::PacketSender {
210 : public ::testing::TestWithParam<PacingController::ProcessMode> {
217 pacer_ = std::make_unique<PacingController>(&clock_, &callback_, nullptr, in SetUp()
223 return GetParam() == PacingController::ProcessMode::kPeriodic; in PeriodicProcess()
324 std::unique_ptr<PacingController> pacer_;
328 : public ::testing::TestWithParam<PacingController::ProcessMode> {
340 void InsertPacket(PacingController* pacer, MediaStream* stream) { in InsertPacket()
345 void ProcessNext(PacingController* pacer) { in ProcessNext()
346 if (GetParam() == PacingController::ProcessMode::kPeriodic) { in ProcessNext()
368 PacingController pacer(&clock_, &callback_, nullptr, nullptr, GetParam()); in TEST_P()
383 PacingController pacer(&clock_, &callback_, nullptr, nullptr, GetParam()); in TEST_P()
399 PacingController pacer(&clock_, &callback_, nullptr, nullptr, GetParam()); in TEST_P()
410 if (GetParam() == PacingController::ProcessMode::kDynamic) { in TEST_P()
426 PacingController pacer(&clock_, &callback_, nullptr, nullptr, GetParam()); in TEST_P()
442 PacingController pacer(&clock_, &callback_, nullptr, nullptr, GetParam()); in TEST_P()
465 GetParam() == PacingController::ProcessMode::kPeriodic in TEST_P()
467 : PacingController::kMinSleepTime); in TEST_P()
472 PacingController pacer(&clock_, &callback_, nullptr, nullptr, GetParam()); in TEST_P()
653 : PacingController::kMinSleepTime); in TEST_P()
758 PacingController::kMinSleepTime); in TEST_P()
766 PacingController::kMinSleepTime); in TEST_P()
870 pacer_ = std::make_unique<PacingController>(&clock_, &callback, nullptr, in TEST_P()
1055 : PacingController::kMinSleepTime.us<double>()); in TEST_P()
1238 TimeDelta expected_time_until_send = PacingController::kPausedProcessInterval; in TEST_P()
1308 pacer_ = std::make_unique<PacingController>(&clock_, &callback_, nullptr, in TEST_P()
1329 (GetParam() == PacingController::ProcessMode::kDynamic in TEST_P()
1330 ? PacingController::kMinSleepTime in TEST_P()
1335 PacingController::kPausedProcessInterval); in TEST_P()
1336 clock_.AdvanceTime(PacingController::kPausedProcessInterval - time_margin); in TEST_P()
1339 PacingController::kPausedProcessInterval); in TEST_P()
1344 2 * PacingController::kPausedProcessInterval); in TEST_P()
1378 duration - PacingController::kMaxExpectedQueueLength; in TEST_P()
1406 pacer_ = std::make_unique<PacingController>(&clock_, &packet_sender, nullptr, in TEST_P()
1465 pacer_ = std::make_unique<PacingController>(&clock_, &packet_sender, in TEST_P()
1572 pacer_ = std::make_unique<PacingController>(&clock_, &packet_sender, nullptr, in TEST_P()
1638 pacer_ = std::make_unique<PacingController>(&clock_, &callback, nullptr, in TEST_P()
1695 pacer_ = std::make_unique<PacingController>(&clock_, &callback, nullptr, in TEST_P()
1743 pacer_ = std::make_unique<PacingController>(&clock_, &callback, nullptr, in TEST_P()
1843 PacingController::kPausedProcessInterval); in TEST_P()
1850 PacingController::kPausedProcessInterval); in TEST_P()
1902 pacer_ = std::make_unique<PacingController>(&clock_, &callback, nullptr, in TEST_P()
2031 PacingController::kPausedProcessInterval); in TEST_P()
2044 PacingController::kPausedProcessInterval); in TEST_P()
2144 ::testing::Values(PacingController::ProcessMode::kPeriodic,
2145 PacingController::ProcessMode::kDynamic));