Home
last modified time | relevance | path

Searched refs:appsPowerMah (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DSensorPowerCalculator.java49 double appsPowerMah = 0; in calculate() local
55 appsPowerMah += calculateApp(app, app.getBatteryStatsUid(), rawRealtimeUs); in calculate()
61 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_SENSORS, appsPowerMah); in calculate()
64 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_SENSORS, appsPowerMah); in calculate()
DGnssPowerCalculator.java53 double appsPowerMah = 0; in calculate() local
66 appsPowerMah += powerMah; in calculate()
76 powerMah = appsPowerMah; in calculate()
83 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS, appsPowerMah, powerModel); in calculate()
/frameworks/base/core/java/android/os/
DBatteryUsageStats.java603 final double appsPowerMah = appsConsumer.getConsumedPower(key); in dump() local
604 if (devicePowerMah == 0 && appsPowerMah == 0) { in dump()
613 printPowerComponent(pw, prefix, label, devicePowerMah, appsPowerMah, in dump()
626 final double appsPowerMah = in dump() local
628 if (devicePowerMah == 0 && appsPowerMah == 0) { in dump()
633 devicePowerMah, appsPowerMah, in dump()
644 double devicePowerMah, double appsPowerMah, int powerModel, long durationMs) { in printPowerComponent() argument
654 sb.append(" apps: ").append(BatteryStats.formatCharge(appsPowerMah)); in printPowerComponent()