Home
last modified time | relevance | path

Searched refs:totalPowerMah (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBatterySipper.java56 public double totalPowerMah; field in BatterySipper
137 this.totalPowerMah = value; in BatterySipper()
159 return Double.compare(other.totalPowerMah, totalPowerMah); in compareTo()
181 totalPowerMah += other.totalPowerMah; in add()
229 totalPowerMah = usagePowerMah + wifiPowerMah + gpsPowerMah + cpuPowerMah + in sumPower()
232 totalSmearedPowerMah = totalPowerMah + screenPowerMah + proportionalSmearMah; in sumPower()
234 return totalPowerMah; in sumPower()
DBatteryStatsHelper.java490 mMaxRealPower = mMaxPower = mUsageList.get(0).totalPowerMah; in refreshStats()
493 mComputedPower += mUsageList.get(i).totalPowerMah; in refreshStats()
538 * ((sipper.totalPowerMah + sipper.screenPowerMah) in refreshStats()
672 if (radio.totalPowerMah > 0) { in addRadioUsage()
697 final double totalPowerMah = (suspendPowerMaMs + idlePowerMaMs) / (60 * 60 * 1000); in addIdleUsage() local
698 if (DEBUG && totalPowerMah != 0) { in addIdleUsage()
705 if (totalPowerMah != 0) { in addIdleUsage()
706 addEntry(BatterySipper.DrainType.IDLE, mTypeBatteryRealtimeUs / 1000, totalPowerMah); in addIdleUsage()
722 if (bs.totalPowerMah > 0) { in addWiFiUsage()
736 if (bs.totalPowerMah > 0) { in addBluetoothUsage()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java107 mNormalBatterySipper.totalPowerMah = TOTAL_BATTERY_USAGE; in setUp()
113 mScreenBatterySipper.totalPowerMah = BATTERY_SCREEN_USAGE; in setUp()
116 mSystemBatterySipper.totalPowerMah = BATTERY_SYSTEM_USAGE; in setUp()
121 mOvercountedBatterySipper.totalPowerMah = BATTERY_OVERACCOUNTED_USAGE; in setUp()
124 mUnaccountedBatterySipper.totalPowerMah = BATTERY_UNACCOUNTED_USAGE; in setUp()
127 mWifiBatterySipper.totalPowerMah = BATTERY_WIFI_USAGE; in setUp()
130 mBluetoothBatterySipper.totalPowerMah = BATTERY_BLUETOOTH_USAGE; in setUp()
133 mIdleBatterySipper.totalPowerMah = BATTERY_IDLE_USAGE; in setUp()
261 private BatterySipper createTestSmearBatterySipper(long activityTime, double totalPowerMah, in createTestSmearBatterySipper() argument
265 sipper.totalPowerMah = totalPowerMah; in createTestSmearBatterySipper()
/frameworks/base/core/java/android/os/
DBatteryStats.java3868 BatteryStatsHelper.makemAh(bs.totalPowerMah), in dumpCheckinLocked()
5029 printmAh(pw, bs.totalPowerMah); in dumpLocked()
5031 if (bs.usagePowerMah != bs.totalPowerMah) { in dumpLocked()
5080 if (bs.totalSmearedPowerMah != bs.totalPowerMah) { in dumpLocked()
7418 proto.write(UidProto.PowerUseItem.COMPUTED_POWER_MAH, bs.totalPowerMah); in dumpProtoAppsLocked()
7967 proto.write(SystemProto.PowerUseItem.COMPUTED_POWER_MAH, bs.totalPowerMah); in dumpProtoSystemLocked()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7651 Lcom/android/internal/os/BatterySipper;->totalPowerMah:D