Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp53 kOutlierTolerancePercent(std::min(outlierTolerancePercent, kMaxPercent)), in VSyncPredictor()
75 if (percent >= kOutlierTolerancePercent && in validate()
76 percent <= (kMaxPercent - kOutlierTolerancePercent)) { in validate()
85 if (distancePercent < kOutlierTolerancePercent) { in validate()
200 if (percent >= kOutlierTolerancePercent) { in addVsyncTimestamp()
DVSyncPredictor.h82 size_t const kOutlierTolerancePercent; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncPredictorTest.cpp55 static constexpr size_t kOutlierTolerancePercent = 25; member
59 kOutlierTolerancePercent};
379 VSyncPredictor tracker{mPeriod, 20, kMinimumSamplesForPrediction, kOutlierTolerancePercent}; in TEST_F()
426 EXPECT_THAT(slope, IsCloseTo(mPeriod, mPeriod * kOutlierTolerancePercent / 100.f)); in TEST_F()