Searched refs:supportedMultiStateBuckets (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/power/ |
D | EnergyConsumerStats.java | 99 @NonNull int[] supportedMultiStateBuckets, in Config() argument 105 for (int bucket : supportedMultiStateBuckets) { in Config() 144 final int[] supportedMultiStateBuckets = new int[multiStateBucketCount]; in writeToParcel() local 148 supportedMultiStateBuckets[index++] = bucket; in writeToParcel() 152 out.writeIntArray(supportedMultiStateBuckets); in writeToParcel() 170 final int[] supportedMultiStateBuckets = new int[supportedMultiStateBucketCount]; in createFromParcel() local 171 in.readIntArray(supportedMultiStateBuckets); in createFromParcel() 174 supportedMultiStateBuckets, stateNames); in createFromParcel()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/power/ |
D | EnergyConsumerStatsTest.java | 469 final int[] supportedMultiStateBuckets = new int[]{POWER_BUCKET_SCREEN_ON}; in testReset() local 472 supportedMultiStateBuckets, new String[]{"s1", "s2"}); in testReset() 535 final int[] supportedMultiStateBuckets = {POWER_BUCKET_CPU, POWER_BUCKET_WIFI}; in testConfig_isCompatible() local 541 supportedMultiStateBuckets, in testConfig_isCompatible() 549 supportedMultiStateBuckets, in testConfig_isCompatible() 561 supportedMultiStateBuckets, in testConfig_isCompatible() 569 supportedMultiStateBuckets, in testConfig_isCompatible() 585 supportedMultiStateBuckets, in testConfig_isCompatible()
|