Searched refs:totalPowerMah (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 200 mNormalBatterySipper.totalPowerMah = TOTAL_BATTERY_USAGE; in setUp() 204 mWifiBatterySipper.totalPowerMah = BATTERY_WIFI_USAGE; in setUp() 207 mBluetoothBatterySipper.totalPowerMah = BATTERY_BLUETOOTH_USAGE; in setUp() 210 mScreenBatterySipper.totalPowerMah = BATTERY_SCREEN_USAGE; in setUp() 213 mSystemBatterySipper.totalPowerMah = BATTERY_SYSTEM_USAGE; in setUp() 217 mOvercountedBatterySipper.totalPowerMah = BATTERY_OVERACCOUNTED_USAGE; in setUp() 220 mUnaccountedBatterySipper.totalPowerMah = BATTERY_UNACCOUNTED_USAGE; in setUp() 223 mIdleBatterySipper.totalPowerMah = BATTERY_IDLE_USAGE; in setUp() 406 assertThat(sipperNull.totalPowerMah).isWithin(PRECISION).of(BATTERY_APP_USAGE); in testSmearScreenBatterySipper() 407 assertThat(sipperBg.totalPowerMah).isWithin(PRECISION).of(BATTERY_APP_USAGE); in testSmearScreenBatterySipper() [all …]
|
D | PowerUsageSummaryTest.java | 169 mNormalBatterySipper.totalPowerMah = POWER_MAH; in setUp() 173 mCellBatterySipper.totalPowerMah = POWER_MAH; in setUp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryUtils.java | 190 proportionalSmearPowerMah += sipper.totalPowerMah; in removeHiddenBatterySippers() 228 final double screenPowerMah = screenSipper.totalPowerMah; in smearScreenBatterySipper() 231 sipper.totalPowerMah += screenPowerMah * activityTimeArray.get(sipper.getUid(), 0) in smearScreenBatterySipper() 250 || (sipper.totalPowerMah * SECONDS_IN_HOUR) < MIN_POWER_THRESHOLD_MILLI_AMP in shouldHideSipper() 266 public double calculateBatteryPercent(double powerUsageMah, double totalPowerMah, in calculateBatteryPercent() argument 268 if (totalPowerMah == 0) { in calculateBatteryPercent() 272 return (powerUsageMah / (totalPowerMah - hiddenPowerMah)) * dischargeAmount; in calculateBatteryPercent() 345 return Double.compare(b.totalPowerMah, a.totalPowerMah); in sortUsageList()
|
D | AdvancedPowerUsageDetail.java | 137 args.putInt(EXTRA_POWER_USAGE_AMOUNT, (int) sipper.totalPowerMah); in startBatteryDetailPage()
|
D | BatteryAppListPreferenceController.java | 202 sipper.totalPowerMah, totalPower, hiddenPowerMah, dischargeAmount); in refreshAppListGroup()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 197 proportionalSmearPowerMah += sipper.totalPowerMah; in removeHiddenBatterySippers() 235 final double screenPowerMah = screenSipper.totalPowerMah; in smearScreenBatterySipper() 238 sipper.totalPowerMah += screenPowerMah * activityTimeArray.get(sipper.getUid(), 0) in smearScreenBatterySipper() 257 || (sipper.totalPowerMah * SECONDS_IN_HOUR) < MIN_POWER_THRESHOLD_MILLI_AMP in shouldHideSipper() 293 public double calculateBatteryPercent(double powerUsageMah, double totalPowerMah, in calculateBatteryPercent() argument 295 if (totalPowerMah == 0) { in calculateBatteryPercent() 299 return (powerUsageMah / (totalPowerMah - hiddenPowerMah)) * dischargeAmount; in calculateBatteryPercent() 372 return Double.compare(b.totalPowerMah, a.totalPowerMah); in sortUsageList()
|
D | AdvancedPowerUsageDetail.java | 137 args.putInt(EXTRA_POWER_USAGE_AMOUNT, (int) sipper.totalPowerMah); in startBatteryDetailPage()
|
D | BatteryAppListPreferenceController.java | 202 sipper.totalPowerMah, totalPower, hiddenPowerMah, dischargeAmount); in refreshAppListGroup()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppBatteryPreferenceController.java | 153 mSipper.totalPowerMah, mBatteryHelper.getTotalPower(), hiddenAmount, in updateBattery()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppBatteryPreferenceController.java | 153 mSipper.totalPowerMah, mBatteryHelper.getTotalPower(), hiddenAmount, in updateBattery()
|