Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/experiments/
Dquality_rampup_experiment_unittest.cc62 const uint32_t kMaxKbps = 800; in TEST_F() local
63 exp.SetMaxBitrate(/*pixels*/ 10000, kMaxKbps); in TEST_F()
65 const uint32_t kAvailableKbps = kMaxKbps; in TEST_F()
77 const uint32_t kMaxKbps = 800; in TEST_F() local
78 exp.SetMaxBitrate(/*pixels*/ 10000, kMaxKbps); in TEST_F()
79 exp.SetMaxBitrate(/*pixels*/ 10000, kMaxKbps - 1); in TEST_F()
81 EXPECT_FALSE(exp.BwHigh(NowMs(), kMaxKbps - 1)); in TEST_F()
82 EXPECT_FALSE(exp.BwHigh(AdvanceMs(2000), kMaxKbps - 1)); in TEST_F()
83 EXPECT_FALSE(exp.BwHigh(AdvanceMs(1), kMaxKbps)); in TEST_F()
84 EXPECT_TRUE(exp.BwHigh(AdvanceMs(2000), kMaxKbps)); in TEST_F()
[all …]