Home
last modified time | relevance | path

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

/external/webrtc/modules/pacing/
Dpacing_controller_unittest.cc217 pacer_ = std::make_unique<PacingController>(&clock_, &callback_, nullptr, in SetUp()
227 pacer_->CreateProbeCluster(kFirstClusterRate, /*cluster_id=*/0); in Init()
228 pacer_->CreateProbeCluster(kSecondClusterRate, /*cluster_id=*/1); in Init()
232 pacer_->SetProbingEnabled(false); in Init()
233 pacer_->SetPacingRates(kTargetRate * kPaceMultiplier, DataRate::Zero()); in Init()
243 pacer_->EnqueuePacket( in Send()
284 return std::max(pacer_->NextSendTime() - now, TimeDelta::Zero()); in TimeUntilNextProcess()
289 Timestamp next_send_time = pacer_->NextSendTime(); in AdvanceTimeAndProcess()
291 pacer_->ProcessPackets(); in AdvanceTimeAndProcess()
300 EXPECT_EQ(TimeDelta::Zero(), pacer_->OldestPacketWaitTime()); in ConsumeInitialBudget()
[all …]
Dpaced_sender_unittest.cc83 pacer_ = std::make_unique<PacedSender>(&clock_, &callback_, nullptr, in SetUp()
120 std::unique_ptr<PacedSender> pacer_; member in webrtc::test::PacedSenderTest
126 pacer_->SetPacingRates( in TEST_P()
133 pacer_->EnqueuePackets(std::move(packets)); in TEST_P()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_unittest.cc253 pacer_(time_controller, in RtpSenderContext()
259 config.paced_sender ? config.paced_sender : &pacer_) { in RtpSenderContext()
268 pacer_.task_queue()->PostTask( in InjectPacket()
278 TaskQueuePacketSender pacer_; member