Home
last modified time | relevance | path

Searched refs:getAccumulatedCustomBucketCharge (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DEnergyConsumerStatsTest.java85 assertEquals(0L, stats.getAccumulatedCustomBucketCharge(i)); in testConstruction()
127 assertEquals(stats.getAccumulatedCustomBucketCharge(i), in testReadWriteParcel()
128 newStats.getAccumulatedCustomBucketCharge(i)); in testReadWriteParcel()
131 newStats.getAccumulatedCustomBucketCharge(customBucketNames.length + 1)); in testReadWriteParcel()
220 assertEquals(stats.getAccumulatedCustomBucketCharge(i), in testCreateAndReadSummaryFromParcel()
221 newStats.getAccumulatedCustomBucketCharge(i)); in testCreateAndReadSummaryFromParcel()
224 newStats.getAccumulatedCustomBucketCharge(customBucketNames.length + 1)); in testCreateAndReadSummaryFromParcel()
276 assertEquals(stats.getAccumulatedCustomBucketCharge(i), in testCreateAndReadSummaryFromParcel_configChange()
277 newStats.getAccumulatedCustomBucketCharge(i)); in testCreateAndReadSummaryFromParcel_configChange()
280 newStats.getAccumulatedCustomBucketCharge(customBucketNames.length + 1)); in testCreateAndReadSummaryFromParcel_configChange()
[all …]
/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java501 public long getAccumulatedCustomBucketCharge(int customBucket) { in getAccumulatedCustomBucketCharge() method in EnergyConsumerStats