Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java1163 public int batteryChargeUAh; field in BatteryStats.HistoryItem
1361 dest.writeInt(batteryChargeUAh); in writeToParcel()
1390 batteryChargeUAh = src.readInt(); in readFromParcel()
1430 batteryChargeUAh = 0; in clear()
1458 batteryChargeUAh = o.batteryChargeUAh; in setToCommon()
1490 && batteryChargeUAh == o.batteryChargeUAh in sameNonEvent()
4788 final int chargeMAh = rec.batteryChargeUAh / 1000; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2269 final boolean batteryChargeChanged = cur.batteryChargeUAh != last.batteryChargeUAh; in writeHistoryDelta()
2357 if (DEBUG) Slog.i(TAG, "WRITE DELTA: batteryChargeUAh=" + cur.batteryChargeUAh); in writeHistoryDelta()
2358 dest.writeInt(cur.batteryChargeUAh); in writeHistoryDelta()
2608 cur.batteryChargeUAh = src.readInt(); in readHistoryDelta()
9365 mHistoryCur.batteryChargeUAh = chargeUAh; in setBatteryStateLocked()
9397 if (chargeUAh < mHistoryCur.batteryChargeUAh) { in setBatteryStateLocked()
9399 final long chargeDiff = mHistoryCur.batteryChargeUAh - chargeUAh; in setBatteryStateLocked()
9403 mHistoryCur.batteryChargeUAh = chargeUAh; in setBatteryStateLocked()
9437 if (chargeUAh >= (mHistoryCur.batteryChargeUAh+10) in setBatteryStateLocked()
9438 || chargeUAh <= (mHistoryCur.batteryChargeUAh-10)) { in setBatteryStateLocked()
[all …]