Home
last modified time | relevance | path

Searched refs:batteryHealth (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h46 int batteryHealth; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java446 dst.batteryHealth = src.batteryHealth; in copy()
484 mBatteryStats.setBatteryState(mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, in processValuesLocked()
496 mHealthInfo.batteryHealth != mLastBatteryHealth || in processValuesLocked()
552 mHealthInfo.batteryHealth != mLastBatteryHealth || in processValuesLocked()
556 … mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, mHealthInfo.batteryPresent ? 1 : 0, in processValuesLocked()
665 mLastBatteryHealth = mHealthInfo.batteryHealth; in processValuesLocked()
689 intent.putExtra(BatteryManager.EXTRA_HEALTH, mHealthInfo.batteryHealth); in sendBatteryChangedIntentLocked()
716 event.putInt(BatteryManager.EXTRA_HEALTH, mHealthInfo.batteryHealth); in sendBatteryLevelChangedIntentLocked()
1014 pw.println(" health: " + mHealthInfo.batteryHealth); in dumpInternal()
1046 proto.write(BatteryServiceDumpProto.HEALTH, mHealthInfo.batteryHealth); in dumpProto()
/frameworks/base/core/java/android/os/
DBatteryStats.java1585 public byte batteryHealth; field in BatteryStats.HistoryItem
1804 | ((((int)batteryHealth)<<20)&0xf00000) in writeToParcel()
1839 batteryHealth = (byte)((bat>>20)&0xf); in readFromParcel()
1882 batteryHealth = 0; in clear()
1912 batteryHealth = o.batteryHealth; in setToCommon()
1946 && batteryHealth == o.batteryHealth in sameNonEvent()
6339 if (oldHealth != rec.batteryHealth) { in printNextItem()
6340 oldHealth = rec.batteryHealth; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3282 + " batteryHealth=" + cur.batteryHealth in writeHistoryDelta()
3375 | ((h.batteryHealth&STATE_BATTERY_HEALTH_MASK)<<STATE_BATTERY_HEALTH_SHIFT) in buildStateInt()
3519 cur.batteryHealth = (byte)((stateInt>>STATE_BATTERY_HEALTH_SHIFT) in readHistoryDelta()
3538 + " batteryHealth=" + cur.batteryHealth in readHistoryDelta()
3642 && mHistoryLastWritten.batteryHealth == cur.batteryHealth in addHistoryBufferLocked()
12274 mHistoryCur.batteryHealth = (byte)health; in setBatteryStateLocked()
12309 if (mHistoryCur.batteryHealth != health) { in setBatteryStateLocked()
12310 mHistoryCur.batteryHealth = (byte)health; in setBatteryStateLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt52105 Landroid/os/BatteryProperties;->batteryHealth:I