Searched refs:quantileFunction (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | IntHistogramTest.java | 271 double q = mHistogram.quantileFunction(0.2, 0, 50); in testEmptyQuantile() 285 q = mHistogram.quantileFunction(i / 111.0, 0, 111); in testQuantileUniformDistribution() 289 q = mHistogram.quantileFunction(.8, 0, 42); in testQuantileUniformDistribution() 295 new IntHistogram(TEST_BUCKET_BOUNDARIES).quantileFunction(0.5, 80, 40); in backwardsBoundsShouldFail() 300 new IntHistogram(TEST_BUCKET_BOUNDARIES).quantileFunction(-0.1, 0, 50); in negativeProbablilityShouldFail() 305 new IntHistogram(TEST_BUCKET_BOUNDARIES).quantileFunction(1.1, 0, 50); in largerThanUnityProbablilityShouldFail()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | IntHistogram.java | 153 public double quantileFunction(double probability, int minimum, int maximum) { in quantileFunction() method in IntHistogram
|