Home
last modified time | relevance | path

Searched refs:consumptionUC (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DWifiPowerCalculator.java109 final long consumptionUC = in calculate() local
111 final int powerModel = getPowerModel(consumptionUC, query); in calculate()
115 batteryStats.hasWifiActivityReporting(), consumptionUC); in calculate()
141 final long consumptionUC = batteryStats.getWifiEnergyConsumptionUC(); in calculate() local
142 final int powerModel = getPowerModel(consumptionUC, query); in calculate()
145 totalAppDurationMs, totalAppPowerMah, consumptionUC); in calculate()
162 long consumptionUC) { in calculateApp() argument
193 powerDurationAndTraffic.powerMah = uCtoMah(consumptionUC); in calculateApp()
243 powerDurationAndTraffic.powerMah = uCtoMah(consumptionUC); in calculateApp()
262 double totalAppPowerMah, long consumptionUC) { in calculateRemaining() argument
[all …]
DGnssPowerCalculator.java60 final long consumptionUC = in calculate() local
62 final int powerModel = getPowerModel(consumptionUC, query); in calculate()
64 rawRealtimeUs, averageGnssPowerMa, consumptionUC); in calculate()
70 final long consumptionUC = batteryStats.getGnssEnergyConsumptionUC(); in calculate() local
71 final int powerModel = getPowerModel(consumptionUC, query); in calculate()
74 powerMah = uCtoMah(consumptionUC); in calculate()
DCpuPowerCalculator.java129 final long consumptionUC = batteryStats.getCpuEnergyConsumptionUC(); in calculate() local
130 final int powerModel = getPowerModel(consumptionUC, query); in calculate()
139 ? uCtoMah(consumptionUC) : totalPowerMah, powerModel); in calculate()
144 final long consumptionUC = u.getCpuEnergyConsumptionUC(); in calculateApp() local
145 final int powerModel = getPowerModel(consumptionUC, query); in calculateApp()
146 calculatePowerAndDuration(u, powerModel, consumptionUC, BatteryStats.STATS_SINCE_CHARGED, in calculateApp()
176 final long consumptionUC = u.getCpuEnergyConsumptionUC(key.processState); in calculateEnergyConsumptionPerProcessState() local
177 if (consumptionUC != 0) { in calculateEnergyConsumptionPerProcessState()
178 app.setConsumedPower(key, uCtoMah(consumptionUC), in calculateEnergyConsumptionPerProcessState()
225 @BatteryConsumer.PowerModel int powerModel, long consumptionUC, int statsType, in calculatePowerAndDuration() argument
[all …]
DSystemServicePowerCalculator.java73 final long consumptionUC = systemUid.getCpuEnergyConsumptionUC(); in calculate() local
74 final int powerModel = getPowerModel(consumptionUC, query); in calculate()
79 systemUid, consumptionUC); in calculate()
121 BatteryStats.Uid systemUid, long consumptionUC) { in calculatePowerUsingEnergyConsumption() argument
131 return uCtoMah(consumptionUC) * systemServiceModeledPowerMah / systemUidModeledPowerMah; in calculatePowerUsingEnergyConsumption()
DScreenPowerCalculator.java76 final long consumptionUC = batteryStats.getScreenOnEnergyConsumptionUC(); in calculate() local
77 final int powerModel = getPowerModel(consumptionUC, query); in calculate()
79 rawRealtimeUs, BatteryStats.STATS_SINCE_CHARGED, consumptionUC); in calculate()
132 long rawRealtimeUs, int statsType, long consumptionUC) { in calculateTotalDurationAndPower() argument
138 totalPowerAndDuration.powerMah = uCtoMah(consumptionUC); in calculateTotalDurationAndPower()
DAmbientDisplayPowerCalculator.java73 BatteryStats batteryStats, long rawRealtimeUs, long consumptionUC) { in calculateTotalPower() argument
76 return uCtoMah(consumptionUC); in calculateTotalPower()