Home
last modified time | relevance | path

Searched refs:batteryChargeUAh (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryStats.java1352 public int batteryChargeUAh; field in BatteryStats.HistoryItem
1559 dest.writeInt(batteryChargeUAh); in writeToParcel()
1588 batteryChargeUAh = src.readInt(); in readFromParcel()
1628 batteryChargeUAh = 0; in clear()
1656 batteryChargeUAh = o.batteryChargeUAh; in setToCommon()
1688 && batteryChargeUAh == o.batteryChargeUAh in sameNonEvent()
5709 final int chargeMAh = rec.batteryChargeUAh / 1000; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2911 final boolean batteryChargeChanged = cur.batteryChargeUAh != last.batteryChargeUAh; in writeHistoryDelta()
3005 if (DEBUG) Slog.i(TAG, "WRITE DELTA: batteryChargeUAh=" + cur.batteryChargeUAh); in writeHistoryDelta()
3006 dest.writeInt(cur.batteryChargeUAh); in writeHistoryDelta()
3256 cur.batteryChargeUAh = src.readInt(); in readHistoryDelta()
10956 mHistoryCur.batteryChargeUAh = chargeUAh; in setBatteryStateLocked()
10988 if (chargeUAh < mHistoryCur.batteryChargeUAh) { in setBatteryStateLocked()
10990 final long chargeDiff = mHistoryCur.batteryChargeUAh - chargeUAh; in setBatteryStateLocked()
10997 mHistoryCur.batteryChargeUAh = chargeUAh; in setBatteryStateLocked()
11031 if (chargeUAh >= (mHistoryCur.batteryChargeUAh+10) in setBatteryStateLocked()
11032 || chargeUAh <= (mHistoryCur.batteryChargeUAh-10)) { in setBatteryStateLocked()
[all …]