Home
last modified time | relevance | path

Searched refs:bucketCount (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/powerstats/
DIntervalRandomNoiseGeneratorTest.java56 final int bucketCount = expectedBuckets.length; in assertDistribution() local
60 }, sampleCount, bucketCount, 100, 200); in assertDistribution()
72 int bucketCount, int lowBound, int highBound) { in buildHistogram() argument
73 int[] buckets = new int[bucketCount]; in buildHistogram()
78 buckets[(int) ((double) (sample - lowBound) / (highBound - lowBound) * bucketCount)]++; in buildHistogram()
/frameworks/base/core/java/com/android/internal/os/
DBinderLatencyBuckets.java39 public BinderLatencyBuckets(int bucketCount, int firstBucketSize, float scaleFactor) { in BinderLatencyBuckets() argument
40 int[] buffer = new int[bucketCount - 1]; in BinderLatencyBuckets()
48 for (int i = 1; i < bucketCount - 1; i++) { in BinderLatencyBuckets()
DBinderLatencyObserver.java293 int bucketCount, int firstBucketSize, float bucketScaleFactor) { in setHistogramBucketsParams() argument
295 if (bucketCount != mBucketCount || firstBucketSize != mFirstBucketSize in setHistogramBucketsParams()
297 mBucketCount = bucketCount; in setHistogramBucketsParams()
/frameworks/base/telephony/java/android/telephony/
DTelephonyHistogram.java79 public TelephonyHistogram (int category, int id, int bucketCount) { in TelephonyHistogram() argument
80 if (bucketCount <= 1) { in TelephonyHistogram()
90 mBucketCount = bucketCount; in TelephonyHistogram()
91 mBucketEndPoints = new int[bucketCount - 1]; in TelephonyHistogram()
92 mBucketCounters = new int[bucketCount]; in TelephonyHistogram()
/frameworks/base/core/java/android/net/
DRssiCurve.java111 int bucketCount = in.readInt(); in RssiCurve() local
112 rssiBuckets = new byte[bucketCount]; in RssiCurve()
/frameworks/base/core/java/android/net/netstats/
DNetworkStatsDataMigrationUtils.java369 final int bucketCount; in readPlatformHistory() local
382 bucketCount = bucketStart.length; in readPlatformHistory()
397 bucketCount = bucketStart.length; in readPlatformHistory()
406 new NetworkStatsHistory.Builder(bucketDuration, bucketCount); in readPlatformHistory()
407 for (int i = 0; i < bucketCount; i++) { in readPlatformHistory()
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp139 bool Bench::allocateBuckets(size_t bucketCount) { in allocateBuckets() argument
140 if (bucketCount == mTimeBuckets) { in allocateBuckets()
149 mTimeBuckets = bucketCount; in allocateBuckets()
/frameworks/native/opengl/include/EGL/
DPlatform.h197 int bucketCount);
203 int bucketCount) in DefaultHistogramCustomCounts() argument
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java1823 final int bucketCount = mPrintJobsForRunningApp.size(); in getPrintJobs() local
1824 for (int i = 0; i < bucketCount; i++) { in getPrintJobs()
1848 final int bucketCount = mPrintJobsForRunningApp.size(); in dumpLocked() local
1849 for (int i = 0; i < bucketCount; i++) { in dumpLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java787 histogramProto.bucketCount = rilHistogram.getBucketCount(); in buildProto()