Home
last modified time | relevance | path

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

/frameworks/libs/modules-utils/javatests/com/android/modules/expresslog/
DScaledRangeOptionsTest.java35 assertEquals(3, options1.getBinsCount()); in testGetBinsCount()
38 assertEquals(12, options10.getBinsCount()); in testGetBinsCount()
84 assertEquals(12, options.getBinsCount()); in testBinIndexForRangeEqual1()
88 for (int i = 0, bins = options.getBinsCount(); i < bins; i++) { in testBinIndexForRangeEqual1()
97 assertEquals(12, options.getBinsCount()); in testBinIndexForRangeEqual2()
99 for (int i = 0, bins = options.getBinsCount(); i < bins; i++) { in testBinIndexForRangeEqual2()
108 assertEquals(4, options.getBinsCount()); in testBinIndexForRangeEqual5()
120 assertEquals(options.getBinsCount() - 2, options.getBinForSample(100)); in testBinIndexForRangeEqual10()
121 assertEquals(options.getBinsCount() - 1, options.getBinForSample(101)); in testBinIndexForRangeEqual10()
124 for (int i = 1, bins = options.getBinsCount() - 1; i < bins; i++) { in testBinIndexForRangeEqual10()
[all …]
DUniformOptionsTest.java34 assertEquals(3, options1.getBinsCount()); in testGetBinsCount()
37 assertEquals(12, options10.getBinsCount()); in testGetBinsCount()
58 for (int i = 0, bins = options.getBinsCount(); i < bins; i++) { in testBinIndexForRangeEqual1()
66 for (int i = 0, bins = options.getBinsCount(); i < bins; i++) { in testBinIndexForRangeEqual2()
75 assertEquals(4, options.getBinsCount()); in testBinIndexForRangeEqual5()
87 assertEquals(options.getBinsCount() - 2, options.getBinForSample(100)); in testBinIndexForRangeEqual10()
88 assertEquals(options.getBinsCount() - 1, options.getBinForSample(101)); in testBinIndexForRangeEqual10()
91 for (int i = 1, bins = options.getBinsCount() - 1; i < bins; i++) { in testBinIndexForRangeEqual10()
/frameworks/libs/modules-utils/java/com/android/modules/expresslog/
DHistogram.java79 int getBinsCount(); in getBinsCount() method
129 public int getBinsCount() { in getBinsCount() method in Histogram.UniformOptions
184 public int getBinsCount() { in getBinsCount() method in Histogram.ScaledRangeOptions