Searched refs:blame1 (Results 1 – 1 of 1) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
H A D | BatteryStatsNoteTest.java | 1140 long blame1 = 0; in testUpdateDisplayMeasuredEnergyStatsLocked() local 1148 checkMeasuredCharge("A", uid1, blame1, uid2, blame2, globalDoze, bi); in testUpdateDisplayMeasuredEnergyStatsLocked() 1157 checkMeasuredCharge("B", uid1, blame1, uid2, blame2, globalDoze, bi); in testUpdateDisplayMeasuredEnergyStatsLocked() 1164 checkMeasuredCharge("C", uid1, blame1, uid2, blame2, globalDoze, bi); in testUpdateDisplayMeasuredEnergyStatsLocked() 1170 blame1 += 0; // Screen had been off during the measurement period in testUpdateDisplayMeasuredEnergyStatsLocked() 1174 blame1 += 530_000; in testUpdateDisplayMeasuredEnergyStatsLocked() 1183 blame1 += 540_000 * (20 + 40) / (20 + 40 + 40); in testUpdateDisplayMeasuredEnergyStatsLocked() 1193 blame1 += 550_000 * (40 + 120) / (40 + 40 + 120); in testUpdateDisplayMeasuredEnergyStatsLocked() 1201 blame1 += 570_000; // All of this pre-doze time is blamed on uid1. in testUpdateDisplayMeasuredEnergyStatsLocked() 1208 blame1 += 0; // The screen had been doze during the energy period in testUpdateDisplayMeasuredEnergyStatsLocked() [all …]
|