Searched refs:NUMBER_STANDARD_POWER_BUCKETS (Results 1 – 7 of 7) sorted by relevance
21 import static com.android.internal.power.EnergyConsumerStats.NUMBER_STANDARD_POWER_BUCKETS;57 final boolean[] supportedStandardBuckets = new boolean[NUMBER_STANDARD_POWER_BUCKETS]; in testConstruction()69 for (int bucket = 0; bucket < NUMBER_STANDARD_POWER_BUCKETS; bucket++) { in testConstruction()93 final boolean[] supportedStandardBuckets = new boolean[NUMBER_STANDARD_POWER_BUCKETS]; in testReadWriteParcel()118 for (int bucket = 0; bucket < NUMBER_STANDARD_POWER_BUCKETS; bucket++) { in testReadWriteParcel()137 final boolean[] supportedStandardBuckets = new boolean[NUMBER_STANDARD_POWER_BUCKETS]; in testCreateAndReadConfigFromParcel()157 for (int bucket = 0; bucket < NUMBER_STANDARD_POWER_BUCKETS; bucket++) { in testCreateAndReadConfigFromParcel()188 final boolean[] supportedStandardBuckets = new boolean[NUMBER_STANDARD_POWER_BUCKETS]; in testCreateAndReadSummaryFromParcel()213 for (int i = 0; i < NUMBER_STANDARD_POWER_BUCKETS; i++) { in testCreateAndReadSummaryFromParcel()230 final boolean[] supportedStandardBuckets = new boolean[NUMBER_STANDARD_POWER_BUCKETS]; in testCreateAndReadSummaryFromParcel_configChange()[all …]
64 public static final int NUMBER_STANDARD_POWER_BUCKETS = 10; // Buckets above this are custom. field in EnergyConsumerStats255 for (int stdBucket = 0; stdBucket < NUMBER_STANDARD_POWER_BUCKETS; stdBucket++) { in EnergyConsumerStats()674 return mAccumulatedChargeMicroCoulomb.length - NUMBER_STANDARD_POWER_BUCKETS; in getNumberCustomPowerBuckets()678 return customBucket + NUMBER_STANDARD_POWER_BUCKETS; in customBucketToIndex()682 return index - NUMBER_STANDARD_POWER_BUCKETS; in indexToCustomBucket()692 return bucket >= 0 && bucket < NUMBER_STANDARD_POWER_BUCKETS; in isValidStandardBucket()
102 new boolean[EnergyConsumerStats.NUMBER_STANDARD_POWER_BUCKETS]; in initMeasuredEnergyStats()
152 new boolean[EnergyConsumerStats.NUMBER_STANDARD_POWER_BUCKETS]; in testMeasuredEnergyBasedModel()
281 mSupportedStandardBuckets = new boolean[EnergyConsumerStats.NUMBER_STANDARD_POWER_BUCKETS]; in initMeasuredEnergyStatsLocked()
108 mSupportedPowerBuckets = new boolean[EnergyConsumerStats.NUMBER_STANDARD_POWER_BUCKETS]; in setUp()
913 final boolean[] buckets = new boolean[EnergyConsumerStats.NUMBER_STANDARD_POWER_BUCKETS];