Home
last modified time | relevance | path

Searched refs:batteryStatsHelper (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryUtils.java282 public long calculateRunningTimeBasedOnStatsType(BatteryStatsHelper batteryStatsHelper, in calculateRunningTimeBasedOnStatsType() argument
288 batteryStatsHelper.getStats().computeBatteryRealtime(elapsedRealtimeUs, statsType)); in calculateRunningTimeBasedOnStatsType()
357 public long calculateLastFullChargeTime(BatteryStatsHelper batteryStatsHelper, in calculateLastFullChargeTime() argument
359 return currentTimeMs - batteryStatsHelper.getStats().getStartClockTime(); in calculateLastFullChargeTime()
369 public long calculateScreenUsageTime(BatteryStatsHelper batteryStatsHelper) { in calculateScreenUsageTime() argument
371 batteryStatsHelper.getUsageList(), BatterySipper.DrainType.SCREEN); in calculateScreenUsageTime()
DBatteryInfoLoader.java38 public BatteryInfoLoader(Context context, BatteryStatsHelper batteryStatsHelper) { in BatteryInfoLoader() argument
40 mStatsHelper = batteryStatsHelper; in BatteryInfoLoader()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java309 public long calculateRunningTimeBasedOnStatsType(BatteryStatsHelper batteryStatsHelper, in calculateRunningTimeBasedOnStatsType() argument
315 batteryStatsHelper.getStats().computeBatteryRealtime(elapsedRealtimeUs, statsType)); in calculateRunningTimeBasedOnStatsType()
384 public long calculateLastFullChargeTime(BatteryStatsHelper batteryStatsHelper, in calculateLastFullChargeTime() argument
386 return currentTimeMs - batteryStatsHelper.getStats().getStartClockTime(); in calculateLastFullChargeTime()
396 public long calculateScreenUsageTime(BatteryStatsHelper batteryStatsHelper) { in calculateScreenUsageTime() argument
398 batteryStatsHelper.getUsageList(), BatterySipper.DrainType.SCREEN); in calculateScreenUsageTime()
DBatteryInfoLoader.java38 public BatteryInfoLoader(Context context, BatteryStatsHelper batteryStatsHelper) { in BatteryInfoLoader() argument
40 mStatsHelper = batteryStatsHelper; in BatteryInfoLoader()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageBaseTest.java97 private void setBatteryStatsHelper(BatteryStatsHelper batteryStatsHelper) { in setBatteryStatsHelper() argument
98 mStatsHelper = batteryStatsHelper; in setBatteryStatsHelper()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipLoader.java55 public BatteryTipLoader(Context context, BatteryStatsHelper batteryStatsHelper) { in BatteryTipLoader() argument
57 mBatteryStatsHelper = batteryStatsHelper; in BatteryTipLoader()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipLoader.java55 public BatteryTipLoader(Context context, BatteryStatsHelper batteryStatsHelper) { in BatteryTipLoader() argument
57 mBatteryStatsHelper = batteryStatsHelper; in BatteryTipLoader()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/
DHighUsageDetector.java58 BatteryStatsHelper batteryStatsHelper, boolean discharging) { in HighUsageDetector() argument
60 mBatteryStatsHelper = batteryStatsHelper; in HighUsageDetector()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DHighUsageDetector.java57 BatteryStatsHelper batteryStatsHelper, boolean discharging) { in HighUsageDetector() argument
59 mBatteryStatsHelper = batteryStatsHelper; in HighUsageDetector()