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.java38 public double screenPowerMah; field in BatterySipper
241 screenPowerMah += other.screenPowerMah; in add()
257 totalSmearedPowerMah = totalPowerMah + screenPowerMah + proportionalSmearMah; in sumPower()
DBatteryStatsHelper.java560 * ((sipper.totalPowerMah + sipper.screenPowerMah) in refreshStats()
931 final double screenPowerMah = screenSipper.totalPowerMah; in smearScreenBatterySipper() local
934 sipper.screenPowerMah = screenPowerMah * activityTimeArray.get(sipper.getUid(), 0) in smearScreenBatterySipper()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java225 assertThat(sipperNull.screenPowerMah).isWithin(PRECISION).of(0); in testSmearScreenBatterySipper()
226 assertThat(sipperBg.screenPowerMah).isWithin(PRECISION).of(0); in testSmearScreenBatterySipper()
227 assertThat(sipperFg.screenPowerMah).isWithin(PRECISION).of(BATTERY_SCREEN_USAGE); in testSmearScreenBatterySipper()
/frameworks/base/core/java/android/os/
DBatteryStats.java4022 BatteryStatsHelper.makemAh(bs.screenPowerMah), in dumpCheckinLocked()
5224 if (bs.screenPowerMah != 0) { in dumpLocked()
5226 printmAh(pw, bs.screenPowerMah); in dumpLocked()
7571 proto.write(UidProto.PowerUseItem.SCREEN_POWER_MAH, bs.screenPowerMah); in dumpProtoAppsLocked()
8120 proto.write(SystemProto.PowerUseItem.SCREEN_POWER_MAH, bs.screenPowerMah); in dumpProtoSystemLocked()