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.java456 dst.batteryHealth = src.batteryHealth; in copy()
494 mBatteryStats.setBatteryState(mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, in processValuesLocked()
507 mHealthInfo.batteryHealth != mLastBatteryHealth || in processValuesLocked()
563 mHealthInfo.batteryHealth != mLastBatteryHealth || in processValuesLocked()
567 … mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, mHealthInfo.batteryPresent ? 1 : 0, in processValuesLocked()
676 mLastBatteryHealth = mHealthInfo.batteryHealth; in processValuesLocked()
700 intent.putExtra(BatteryManager.EXTRA_HEALTH, mHealthInfo.batteryHealth); in sendBatteryChangedIntentLocked()
727 event.putInt(BatteryManager.EXTRA_HEALTH, mHealthInfo.batteryHealth); in sendBatteryLevelChangedIntentLocked()
1025 pw.println(" health: " + mHealthInfo.batteryHealth); in dumpInternal()
1057 proto.write(BatteryServiceDumpProto.HEALTH, mHealthInfo.batteryHealth); in dumpProto()
/frameworks/base/core/java/android/os/
DBatteryStats.java1628 public byte batteryHealth; field in BatteryStats.HistoryItem
1847 | ((((int)batteryHealth)<<20)&0xf00000) in writeToParcel()
1882 batteryHealth = (byte)((bat>>20)&0xf); in readFromParcel()
1926 batteryHealth = 0; in clear()
1958 batteryHealth = o.batteryHealth; in setToCommon()
1992 && batteryHealth == o.batteryHealth in sameNonEvent()
6391 if (oldHealth != rec.batteryHealth) { in printNextItem()
6392 oldHealth = rec.batteryHealth; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3285 + " batteryHealth=" + cur.batteryHealth in writeHistoryDelta()
3378 | ((h.batteryHealth&STATE_BATTERY_HEALTH_MASK)<<STATE_BATTERY_HEALTH_SHIFT) in buildStateInt()
3522 cur.batteryHealth = (byte)((stateInt>>STATE_BATTERY_HEALTH_SHIFT) in readHistoryDelta()
3541 + " batteryHealth=" + cur.batteryHealth in readHistoryDelta()
3645 && mHistoryLastWritten.batteryHealth == cur.batteryHealth in addHistoryBufferLocked()
12280 mHistoryCur.batteryHealth = (byte)health; in setBatteryStateLocked()
12315 if (mHistoryCur.batteryHealth != health) { in setBatteryStateLocked()
12316 mHistoryCur.batteryHealth = (byte)health; in setBatteryStateLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48601 Landroid/os/BatteryProperties;->batteryHealth:I