Searched refs:updateStandardBucket (Results 1 – 3 of 3) sorted by relevance
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/power/ |
H A D | MeasuredEnergyStatsTest.java | 87 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 10); in testCreateFromTemplate() 88 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 5); in testCreateFromTemplate() 89 stats.updateStandardBucket(POWER_BUCKET_SCREEN_OTHER, 40); in testCreateFromTemplate() 120 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 10); in testReadWriteParcel() 121 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 5); in testReadWriteParcel() 155 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 10); in testCreateAndReadSummaryFromParcel() 156 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 5); in testCreateAndReadSummaryFromParcel() 199 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 7); in testCreateAndReadSummaryFromParcel_existingTemplate() 314 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 5); in testCreateAndReadSummaryFromParcel_nullTemplate() 380 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 5); in testUpdateBucket() [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/power/ |
H A D | MeasuredEnergyStats.java | 218 public void updateStandardBucket(@StandardPowerBucket int bucket, long chargeDeltaUC) { in updateStandardBucket() method in MeasuredEnergyStats
|
/aosp12/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 8157 getOrCreateMeasuredEnergyStatsLocked().updateStandardBucket(powerBucket, chargeDeltaUC); in addChargeToStandardBucketLocked() 12233 mGlobalMeasuredEnergyStats.updateStandardBucket( in updateWifiState() 12290 mGlobalMeasuredEnergyStats.updateStandardBucket( in noteModemControllerActivity() 12762 mGlobalMeasuredEnergyStats.updateStandardBucket( in updateBluetoothStateLocked() 12871 mGlobalMeasuredEnergyStats.updateStandardBucket(MeasuredEnergyStats.POWER_BUCKET_CPU, in updateCpuMeasuredEnergyStatsLocked() 12993 mGlobalMeasuredEnergyStats.updateStandardBucket(powerBucket, chargeUC); in updateDisplayMeasuredEnergyStatsLocked() 13051 mGlobalMeasuredEnergyStats.updateStandardBucket(MeasuredEnergyStats.POWER_BUCKET_GNSS,
|