Home
last modified time | relevance | path

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

/aosp14/system/core/libstats/expresslog/tests/
H A DHistogram_test.cpp25 TEST(UniformOptions, getBinsCount) { in TEST() argument
35 TEST(UniformOptions, constructZeroBinsCount) { in TEST() argument
41 TEST(UniformOptions, constructNegativeBinsCount) { in TEST() argument
47 TEST(UniformOptions, constructMaxValueLessThanMinValue) { in TEST() argument
53 TEST(UniformOptions, testBinIndexForRangeEqual1) { in TEST() argument
55 Histogram::UniformOptions::create(10, 1, 11)); in TEST()
61 TEST(UniformOptions, testBinIndexForRangeEqual2) { in TEST() argument
70 TEST(UniformOptions, testBinIndexForRangeEqual5) { in TEST() argument
72 Histogram::UniformOptions::create(2, 0, 10)); in TEST()
81 TEST(UniformOptions, testBinIndexForRangeEqual10) { in TEST() argument
[all …]
/aosp14/system/core/libstats/expresslog/
H A DHistogram.cpp29 std::shared_ptr<Histogram::UniformOptions> Histogram::UniformOptions::create( in create()
41 return std::shared_ptr<UniformOptions>( in create()
42 new UniformOptions(binCount, minValue, exclusiveMaxValue)); in create()
45 Histogram::UniformOptions::UniformOptions(int binCount, float minValue, float exclusiveMaxValue) in UniformOptions() function in android::expresslog::Histogram::UniformOptions
53 int Histogram::UniformOptions::getBinForSample(float sample) const { in getBinForSample()
/aosp14/system/core/libstats/expresslog/include/
H A DHistogram.h48 class UniformOptions : public BinOptions {
50 static std::shared_ptr<UniformOptions> create(int binCount, float minValue,
60 UniformOptions(int binCount, float minValue, float exclusiveMaxValue);
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DBinaryTransparencyService.java149 new Histogram.UniformOptions(50, 0, 500));
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobConcurrencyManager.java480 new Histogram.UniformOptions(100, 0, 99));