Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java50 public void writeUid(HealthStatsWriter uidWriter, BatteryStats bs, BatteryStats.Uid uid) { in writeUid() argument
65 uidWriter.addMeasurement(UidHealthStats.MEASUREMENT_REALTIME_BATTERY_MS, in writeUid()
69 uidWriter.addMeasurement(UidHealthStats.MEASUREMENT_UPTIME_BATTERY_MS, in writeUid()
73 uidWriter.addMeasurement(UidHealthStats.MEASUREMENT_REALTIME_SCREEN_OFF_BATTERY_MS, in writeUid()
78 uidWriter.addMeasurement(UidHealthStats.MEASUREMENT_UPTIME_SCREEN_OFF_BATTERY_MS, in writeUid()
92 addTimers(uidWriter, UidHealthStats.TIMERS_WAKELOCKS_FULL, key, timer); in writeUid()
96 addTimers(uidWriter, UidHealthStats.TIMERS_WAKELOCKS_PARTIAL, key, timer); in writeUid()
100 addTimers(uidWriter, UidHealthStats.TIMERS_WAKELOCKS_WINDOW, key, timer); in writeUid()
104 addTimers(uidWriter, UidHealthStats.TIMERS_WAKELOCKS_DRAW, key, timer); in writeUid()
110 addTimers(uidWriter, UidHealthStats.TIMERS_SYNCS, entry.getKey(), entry.getValue()); in writeUid()
[all …]
DBatteryStatsService.java2679 final HealthStatsWriter uidWriter = new HealthStatsWriter(UidHealthStats.CONSTANTS); in getHealthStatsForUidLocked() local
2682 writer.writeUid(uidWriter, mStats, uid); in getHealthStatsForUidLocked()
2684 return new HealthStatsParceler(uidWriter); in getHealthStatsForUidLocked()