Searched refs:kMaxRate (Results 1 – 4 of 4) sorted by relevance
/external/openthread/tests/unit/ |
D | test_link_quality.cpp | 380 const uint16_t kMaxRate = SuccessRateTracker::kMaxRateValue; in TestSuccessRateTracker() local 388 …VerifyOrQuit(rateTracker.GetSuccessRate() == kMaxRate, "SuccessRateTracker: Initial value incorrec… in TestSuccessRateTracker() 396 …VerifyOrQuit(rateTracker.GetSuccessRate() == kMaxRate, "SuccessRateTracker: incorrect rate all suc… in TestSuccessRateTracker() 401 …VerifyOrQuit(rateTracker.GetSuccessRate() == kMaxRate, "SuccessRateTracker: Rate incorrect after r… in TestSuccessRateTracker() 405 for (sampleCount = 1; sampleCount < kMaxRate; sampleCount++) in TestSuccessRateTracker() 410 VerifyOrQuit(rateTracker.GetFailureRate() == kMaxRate, in TestSuccessRateTracker() 465 … failureRate = static_cast<double>(rateTracker.GetFailureRate()) * 100.0 / kMaxRate; // in percent in TestSuccessRateTracker()
|
/external/webrtc/common_audio/resampler/ |
D | resampler_unittest.cc | 27 const int kMaxRate = 96000; variable 28 const int kRates[] = {8000, 16000, 32000, 44000, 48000, kMaxRate}; 31 const size_t kDataSize = static_cast<size_t>(kMaxChannels * kMaxRate / 100);
|
/external/cronet/components/nacl/renderer/ |
D | histogram.cc | 183 static const double kMaxRate = 30 * 1000.0; // max of 30MB/sec. in HistogramKBPerSec() local 184 int32_t rate = std::min(kb / (us / 1000000.0), kMaxRate); in HistogramKBPerSec()
|
/external/webrtc/modules/pacing/ |
D | pacing_controller.cc | 175 static constexpr DataRate kMaxRate = DataRate::KilobitsPerSec(100'000); in SetPacingRates() local 185 if (pacing_rate > kMaxRate || padding_rate > kMaxRate) { in SetPacingRates() 186 RTC_LOG(LS_WARNING) << "Very high pacing rates ( > " << kMaxRate.kbps() in SetPacingRates()
|