Searched refs:totalPowerMah (Results 1 – 5 of 5) sorted by relevance
61 public double totalPowerMah; field in BatterySipper159 this.totalPowerMah = value; in BatterySipper()181 return Double.compare(other.totalPowerMah, totalPowerMah); in compareTo()206 totalPowerMah += other.totalPowerMah; in add()254 totalPowerMah = usagePowerMah + wifiPowerMah + gpsPowerMah + cpuPowerMah + in sumPower()257 totalSmearedPowerMah = totalPowerMah + screenPowerMah + proportionalSmearMah; in sumPower()259 return totalPowerMah; in sumPower()
512 mMaxRealPower = mMaxPower = mUsageList.get(0).totalPowerMah; in refreshStats()515 mComputedPower += mUsageList.get(i).totalPowerMah; in refreshStats()560 * ((sipper.totalPowerMah + sipper.screenPowerMah) in refreshStats()694 if (radio.totalPowerMah > 0) { in addRadioUsage()719 final double totalPowerMah = (suspendPowerMaMs + idlePowerMaMs) / (60 * 60 * 1000); in addIdleUsage() local720 if (DEBUG && totalPowerMah != 0) { in addIdleUsage()727 if (totalPowerMah != 0) { in addIdleUsage()728 addEntry(BatterySipper.DrainType.IDLE, mTypeBatteryRealtimeUs / 1000, totalPowerMah); in addIdleUsage()744 if (bs.totalPowerMah > 0) { in addWiFiUsage()758 if (bs.totalPowerMah > 0) { in addBluetoothUsage()[all …]
109 mNormalBatterySipper.totalPowerMah = TOTAL_BATTERY_USAGE; in setUp()115 mScreenBatterySipper.totalPowerMah = BATTERY_SCREEN_USAGE; in setUp()118 mSystemBatterySipper.totalPowerMah = BATTERY_SYSTEM_USAGE; in setUp()123 mOvercountedBatterySipper.totalPowerMah = BATTERY_OVERACCOUNTED_USAGE; in setUp()126 mUnaccountedBatterySipper.totalPowerMah = BATTERY_UNACCOUNTED_USAGE; in setUp()129 mWifiBatterySipper.totalPowerMah = BATTERY_WIFI_USAGE; in setUp()132 mBluetoothBatterySipper.totalPowerMah = BATTERY_BLUETOOTH_USAGE; in setUp()135 mIdleBatterySipper.totalPowerMah = BATTERY_IDLE_USAGE; in setUp()293 private BatterySipper createTestSmearBatterySipper(long activityTime, double totalPowerMah, in createTestSmearBatterySipper() argument297 sipper.totalPowerMah = totalPowerMah; in createTestSmearBatterySipper()
4020 BatteryStatsHelper.makemAh(bs.totalPowerMah), in dumpCheckinLocked()5169 printmAh(pw, bs.totalPowerMah); in dumpLocked()5171 if (bs.usagePowerMah != bs.totalPowerMah) { in dumpLocked()5220 if (bs.totalSmearedPowerMah != bs.totalPowerMah) { in dumpLocked()7569 proto.write(UidProto.PowerUseItem.COMPUTED_POWER_MAH, bs.totalPowerMah); in dumpProtoAppsLocked()8118 proto.write(SystemProto.PowerUseItem.COMPUTED_POWER_MAH, bs.totalPowerMah); in dumpProtoSystemLocked()
2879 .writeLong(milliAmpHrsToNanoAmpSecs(bs.totalPowerMah))2912 .writeLong(milliAmpHrsToNanoAmpSecs(bs.totalPowerMah))