Home
last modified time | relevance | path

Searched defs:batteryStats (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DWifiPowerCalculatorTest.java83 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in setupTestNetworkNumbers() local
145 final BatteryStatsImpl batteryStats = setupTestNetworkNumbers(); in testPowerControllerBasedModel_nonMeasured() local
182 final BatteryStatsImpl batteryStats = setupTestNetworkNumbers(); in testPowerControllerBasedModel_powerProfile_byProcessState() local
237 final BatteryStatsImpl batteryStats = setupTestNetworkNumbers(); in testPowerControllerBasedModel_measured() local
271 final BatteryStatsImpl batteryStats = setupTestNetworkNumbers(); in testPowerControllerBasedModel_measured_byProcessState() local
325 final BatteryStatsImpl batteryStats = setupTestNetworkNumbers(); in setupTimerBasedModelTestNumbers() local
337 final BatteryStatsImpl batteryStats = setupTimerBasedModelTestNumbers(); in testTimerBasedModel_nonMeasured() local
358 final BatteryStatsImpl batteryStats = setupTimerBasedModelTestNumbers(); in testTimerBasedModel_measured() local
DScreenPowerCalculatorTest.java62 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel() local
149 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_multiDisplay() local
241 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testPowerProfileBasedModel() local
314 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testPowerProfileBasedModel_multiDisplay() local
398 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in setProcState() local
DBatteryChargeCalculatorTest.java61 final BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testDischargeTotals() local
104 final BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testDischargeTotals_chargeUahUnavailable() local
DBluetoothPowerCalculatorTest.java70 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testTimerBasedModel() local
101 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testTimerBasedModel_byProcessState() local
222 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_byProcessState() local
DCustomEnergyConsumerPowerCalculatorTest.java53 final BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testMeasuredEnergyCopiedIntoBatteryConsumers() local
DWakelockPowerCalculatorTest.java58 BatteryStatsImpl batteryStats = mStatsRule.getBatteryStats(); in testTimerBasedModel() local
DBatteryUsageStatsTest.java267 final MockBatteryStatsImpl batteryStats = new MockBatteryStatsImpl(clocks); in buildBatteryUsageStats1() local
311 final MockBatteryStatsImpl batteryStats = new MockBatteryStatsImpl(clocks); in buildBatteryUsageStats2() local
347 MockBatteryStatsImpl batteryStats, int uid, String packageWithHighestDrain, in addUidBatteryConsumer()
/frameworks/base/services/core/java/com/android/server/power/stats/
DAmbientDisplayPowerCalculator.java53 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
68 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
73 BatteryStats batteryStats, long rawRealtimeUs, long consumptionUC) { in calculateTotalPower()
83 private double calculateEstimatedPower(BatteryStats batteryStats, long rawRealtimeUs) { in calculateEstimatedPower()
DMemoryPowerCalculator.java46 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
58 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
68 private double calculatePower(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculatePower()
DSystemServicePowerCalculator.java66 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
120 private double calculatePowerUsingEnergyConsumption(BatteryStats batteryStats, in calculatePowerUsingEnergyConsumption()
137 private double calculatePowerUsingPowerProfile(BatteryStats batteryStats) { in calculatePowerUsingPowerProfile()
DScreenPowerCalculator.java72 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
131 @BatteryConsumer.PowerModel int powerModel, BatteryStats batteryStats, in calculateTotalDurationAndPower()
161 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
165 private double calculateTotalPowerFromBrightness(BatteryStats batteryStats, in calculateTotalPowerFromBrightness()
DIdlePowerCalculator.java53 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
70 private void calculatePowerAndDuration(BatteryStats batteryStats, long rawRealtimeUs, in calculatePowerAndDuration()
DBatteryStatsDumpHelperImpl.java31 public BatteryUsageStats getBatteryUsageStats(BatteryStats batteryStats, boolean detailed) { in getBatteryUsageStats()
DWakelockPowerCalculator.java51 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
158 private long calculateWakeTimeMillis(BatteryStats batteryStats, long rawRealtimeUs, in calculateWakeTimeMillis()
DUserPowerCalculator.java41 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DBatteryChargeCalculator.java36 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DPhonePowerCalculator.java43 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DFlashlightPowerCalculator.java45 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DAudioPowerCalculator.java54 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DVideoPowerCalculator.java51 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DCameraPowerCalculator.java47 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DPowerCalculator.java53 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DCustomEnergyConsumerPowerCalculator.java47 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
DSensorPowerCalculator.java47 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate()
/frameworks/base/core/java/android/os/health/
DSystemHealthManager.java95 public SystemHealthManager(@NonNull IBatteryStats batteryStats, in SystemHealthManager()

12