Searched refs:customBucketNames (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/power/ |
D | EnergyConsumerStatsTest.java | 58 final String[] customBucketNames = {"A", "B"}; in testConstruction() local 64 new EnergyConsumerStats.Config(supportedStandardBuckets, customBucketNames, in testConstruction() 84 for (int i = 0; i < customBucketNames.length; i++) { in testConstruction() 94 final String[] customBucketNames = {"A", "B"}; in testReadWriteParcel() local 100 new EnergyConsumerStats.Config(supportedStandardBuckets, customBucketNames, in testReadWriteParcel() 126 for (int i = 0; i < customBucketNames.length; i++) { in testReadWriteParcel() 131 newStats.getAccumulatedCustomBucketCharge(customBucketNames.length + 1)); in testReadWriteParcel() 138 final String[] customBucketNames = {"A", "B"}; in testCreateAndReadConfigFromParcel() local 144 new EnergyConsumerStats.Config(supportedStandardBuckets, customBucketNames, in testCreateAndReadConfigFromParcel() 189 final String[] customBucketNames = {"A", "B"}; in testCreateAndReadSummaryFromParcel() local [all …]
|
/frameworks/base/core/java/com/android/internal/power/ |
D | EnergyConsumerStats.java | 98 @Nullable String[] customBucketNames, in Config() argument 102 mCustomBucketNames = customBucketNames != null ? customBucketNames : new String[0]; in Config() 168 final String[] customBucketNames = in.readStringArray(); in createFromParcel() local 173 return new Config(supportedStandardBuckets, customBucketNames, in createFromParcel()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | MockBatteryStatsImpl.java | 100 public void initMeasuredEnergyStats(String[] customBucketNames) { in initMeasuredEnergyStats() argument 106 customBucketNames, new int[0], new String[]{""}); in initMeasuredEnergyStats()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryExternalStatsWorker.java | 219 String[] customBucketNames = null; in systemServicesReady() local 241 customBucketNames = mEnergyConsumerSnapshot.getOtherOrdinalNames(); in systemServicesReady() 246 mStats.initEnergyConsumerStatsLocked(supportedStdBuckets, customBucketNames); in systemServicesReady()
|
D | BatteryStatsImpl.java | 15780 String[] customBucketNames) { 15789 supportedStandardBuckets, customBucketNames,
|