Searched refs:bucketValues (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 182 frequencyBucketCreator.bucketValues(new long[]{1, 1, 1, 1, 1, 1, 1, 1})); in testBucketSetup_simple() 196 frequencyBucketCreator.bucketValues(new long[]{1, 1, 1, 1, 1, 1, 1, 1})); in testBucketSetup_noBig() 210 frequencyBucketCreator.bucketValues(new long[]{1, 1, 1, 1, 1, 1, 1, 1})); in testBucketSetup_moreLittle() 224 frequencyBucketCreator.bucketValues(new long[]{1, 1, 1, 1, 1, 1, 1, 1})); in testBucketSetup_moreBig() 238 frequencyBucketCreator.bucketValues(new long[]{1, 1, 1, 1, 1, 1, 1, 1})); in testBucketSetup_equalBuckets() 252 frequencyBucketCreator.bucketValues( in testBucketSetup_moreBigBucketsThanFrequencies() 267 frequencyBucketCreator.bucketValues( in testBucketSetup_oneBucket() 281 frequencyBucketCreator.bucketValues( in testBucketSetup_threeClusters() 294 frequencyBucketCreator.bucketValues(new long[] {1, 1, 1, 1, 1, 1, 1, 1})); in testBucketSetup_moreClustersThanBuckets()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReader.java | 322 int[] cpuUsages = mFrequencyBucketCreator.bucketValues(cpuUsagesLong); in getThreadCpuUsage() 415 public int[] bucketValues(long[] values) { in bucketValues() method in KernelCpuThreadReader.FrequencyBucketCreator
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 682 long[] bucketValues = new long[buckets.length]; in readEventsLocked() local 683 for (int i = 0; i < bucketValues.length; ++i) { in readEventsLocked() 684 bucketValues[i] = Long.parseLong(buckets[i]); in readEventsLocked() 686 builder.setColorValues(bucketValues, colorSampleDuration); in readEventsLocked()
|