Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_unittest.cc110 LossAccount loss_account_; member in webrtc::testing::bwe::LossAccountTest
119 loss_account_.Add(rhs); in TEST_F()
120 EXPECT_EQ(loss_account_.num_total, kTotal); in TEST_F()
121 EXPECT_EQ(loss_account_.num_lost, kLost); in TEST_F()
122 EXPECT_NEAR(loss_account_.LossRatio(), static_cast<float>(kLost) / kTotal, in TEST_F()
125 loss_account_.Subtract(rhs); in TEST_F()
126 EXPECT_EQ(loss_account_.num_total, 0UL); in TEST_F()
127 EXPECT_EQ(loss_account_.num_lost, 0UL); in TEST_F()
128 EXPECT_NEAR(loss_account_.LossRatio(), 0.0f, 0.001f); in TEST_F()
Dbwe.cc35 loss_account_() { in BweReceiver()
42 loss_account_() { in BweReceiver()
126 loss_account_.Add(LinkedSetPacketLossRatio()); in UpdateLoss()
144 loss_account_.Subtract(LinkedSetPacketLossRatio()); in RelieveSetAndUpdateLoss()
149 return loss_account_.LossRatio(); in GlobalReceiverPacketLossRatio()
Dbwe.h171 LossAccount loss_account_; variable