Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryUsageStatsProvider.java46 private List<PowerCalculator> mPowerCalculators; field in BatteryUsageStatsProvider
65 if (mPowerCalculators == null) { in getPowerCalculators()
66 mPowerCalculators = new ArrayList<>(); in getPowerCalculators()
69 mPowerCalculators.add(new BatteryChargeCalculator()); in getPowerCalculators()
70 mPowerCalculators.add(new CpuPowerCalculator(mPowerProfile)); in getPowerCalculators()
71 mPowerCalculators.add(new MemoryPowerCalculator(mPowerProfile)); in getPowerCalculators()
72 mPowerCalculators.add(new WakelockPowerCalculator(mPowerProfile)); in getPowerCalculators()
74 mPowerCalculators.add(new MobileRadioPowerCalculator(mPowerProfile)); in getPowerCalculators()
76 mPowerCalculators.add(new WifiPowerCalculator(mPowerProfile)); in getPowerCalculators()
77 mPowerCalculators.add(new BluetoothPowerCalculator(mPowerProfile)); in getPowerCalculators()
[all …]
DBatteryStatsHelper.java79 private List<PowerCalculator> mPowerCalculators; field in BatteryStatsHelper
330 if (mPowerCalculators == null) { in refreshStats()
331 mPowerCalculators = new ArrayList<>(); in refreshStats()
334 mPowerCalculators.add(new CpuPowerCalculator(mPowerProfile)); in refreshStats()
335 mPowerCalculators.add(new MemoryPowerCalculator(mPowerProfile)); in refreshStats()
336 mPowerCalculators.add(new WakelockPowerCalculator(mPowerProfile)); in refreshStats()
338 mPowerCalculators.add(new MobileRadioPowerCalculator(mPowerProfile)); in refreshStats()
340 mPowerCalculators.add(new WifiPowerCalculator(mPowerProfile)); in refreshStats()
341 mPowerCalculators.add(new BluetoothPowerCalculator(mPowerProfile)); in refreshStats()
342 mPowerCalculators.add(new SensorPowerCalculator( in refreshStats()
[all …]