Searched refs:batteryStatsHelper (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryUtils.java | 282 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()
|
D | BatteryInfoLoader.java | 38 public BatteryInfoLoader(Context context, BatteryStatsHelper batteryStatsHelper) { in BatteryInfoLoader() argument 40 mStatsHelper = batteryStatsHelper; in BatteryInfoLoader()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 309 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()
|
D | BatteryInfoLoader.java | 38 public BatteryInfoLoader(Context context, BatteryStatsHelper batteryStatsHelper) { in BatteryInfoLoader() argument 40 mStatsHelper = batteryStatsHelper; in BatteryInfoLoader()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerUsageBaseTest.java | 97 private void setBatteryStatsHelper(BatteryStatsHelper batteryStatsHelper) { in setBatteryStatsHelper() argument 98 mStatsHelper = batteryStatsHelper; in setBatteryStatsHelper()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipLoader.java | 55 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/ |
D | BatteryTipLoader.java | 55 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/ |
D | HighUsageDetector.java | 58 BatteryStatsHelper batteryStatsHelper, boolean discharging) { in HighUsageDetector() argument 60 mBatteryStatsHelper = batteryStatsHelper; in HighUsageDetector()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | HighUsageDetector.java | 57 BatteryStatsHelper batteryStatsHelper, boolean discharging) { in HighUsageDetector() argument 59 mBatteryStatsHelper = batteryStatsHelper; in HighUsageDetector()
|