Searched refs:blame1 (Results 1 – 1 of 1) sorted by relevance
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BatteryStatsNoteTest.java | 1006 long blame1 = 0; in testUpdateDisplayMeasuredEnergyStatsLocked() local 1014 checkMeasuredCharge("A", uid1, blame1, uid2, blame2, globalDoze, bi); in testUpdateDisplayMeasuredEnergyStatsLocked() 1023 checkMeasuredCharge("B", uid1, blame1, uid2, blame2, globalDoze, bi); in testUpdateDisplayMeasuredEnergyStatsLocked() 1030 checkMeasuredCharge("C", uid1, blame1, uid2, blame2, globalDoze, bi); in testUpdateDisplayMeasuredEnergyStatsLocked() 1036 blame1 += 0; // Screen had been off during the measurement period in testUpdateDisplayMeasuredEnergyStatsLocked() 1040 blame1 += 530_000; in testUpdateDisplayMeasuredEnergyStatsLocked() 1049 blame1 += 540_000 * (20 + 40) / (20 + 40 + 40); in testUpdateDisplayMeasuredEnergyStatsLocked() 1059 blame1 += 550_000 * (40 + 120) / (40 + 40 + 120); in testUpdateDisplayMeasuredEnergyStatsLocked() 1067 blame1 += 570_000; // All of this pre-doze time is blamed on uid1. in testUpdateDisplayMeasuredEnergyStatsLocked() 1074 blame1 += 0; // The screen had been doze during the energy period in testUpdateDisplayMeasuredEnergyStatsLocked() [all …]
|