Home
last modified time | relevance | path

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

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h46 int batteryHealth; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java454 dst.batteryHealth = src.batteryHealth; in copy()
492 mBatteryStats.setBatteryState(mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, in processValuesLocked()
505 mHealthInfo.batteryHealth != mLastBatteryHealth || in processValuesLocked()
561 mHealthInfo.batteryHealth != mLastBatteryHealth || in processValuesLocked()
565 … mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, mHealthInfo.batteryPresent ? 1 : 0, in processValuesLocked()
674 mLastBatteryHealth = mHealthInfo.batteryHealth; in processValuesLocked()
698 intent.putExtra(BatteryManager.EXTRA_HEALTH, mHealthInfo.batteryHealth); in sendBatteryChangedIntentLocked()
725 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.java1638 public byte batteryHealth; field in BatteryStats.HistoryItem
1851 | ((((int)batteryHealth)<<20)&0xf00000) in writeToParcel()
1887 batteryHealth = (byte)((bat>>20)&0xf); in readFromParcel()
1931 batteryHealth = 0; in clear()
1963 batteryHealth = o.batteryHealth; in setToCommon()
1997 && batteryHealth == o.batteryHealth in sameNonEvent()
6372 if (oldHealth != rec.batteryHealth) { in printNextItem()
6373 oldHealth = rec.batteryHealth; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3289 + " batteryHealth=" + cur.batteryHealth in writeHistoryDelta()
3382 | ((h.batteryHealth&STATE_BATTERY_HEALTH_MASK)<<STATE_BATTERY_HEALTH_SHIFT) in buildStateInt()
3524 cur.batteryHealth = (byte)((stateInt>>STATE_BATTERY_HEALTH_SHIFT) in readHistoryDelta()
3543 + " batteryHealth=" + cur.batteryHealth in readHistoryDelta()
3647 && mHistoryLastWritten.batteryHealth == cur.batteryHealth in addHistoryBufferLocked()
12297 mHistoryCur.batteryHealth = (byte)health; in setBatteryStateLocked()
12332 if (mHistoryCur.batteryHealth != health) { in setBatteryStateLocked()
12333 mHistoryCur.batteryHealth = (byte)health; in setBatteryStateLocked()