Home
last modified time | relevance | path

Searched refs:screenPowerMah (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBatterySipper.java34 public double screenPowerMah; field in BatterySipper
216 screenPowerMah += other.screenPowerMah; in add()
232 totalSmearedPowerMah = totalPowerMah + screenPowerMah + proportionalSmearMah; in sumPower()
DBatteryStatsHelper.java538 * ((sipper.totalPowerMah + sipper.screenPowerMah) in refreshStats()
906 final double screenPowerMah = screenSipper.totalPowerMah; in smearScreenBatterySipper() local
909 sipper.screenPowerMah = screenPowerMah * activityTimeArray.get(sipper.getUid(), 0) in smearScreenBatterySipper()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java223 assertThat(sipperNull.screenPowerMah).isWithin(PRECISION).of(0); in testSmearScreenBatterySipper()
224 assertThat(sipperBg.screenPowerMah).isWithin(PRECISION).of(0); in testSmearScreenBatterySipper()
225 assertThat(sipperFg.screenPowerMah).isWithin(PRECISION).of(BATTERY_SCREEN_USAGE); in testSmearScreenBatterySipper()
/frameworks/base/core/java/android/os/
DBatteryStats.java3870 BatteryStatsHelper.makemAh(bs.screenPowerMah), in dumpCheckinLocked()
5084 if (bs.screenPowerMah != 0) { in dumpLocked()
5086 printmAh(pw, bs.screenPowerMah); in dumpLocked()
7420 proto.write(UidProto.PowerUseItem.SCREEN_POWER_MAH, bs.screenPowerMah); in dumpProtoAppsLocked()
7969 proto.write(SystemProto.PowerUseItem.SCREEN_POWER_MAH, bs.screenPowerMah); in dumpProtoSystemLocked()