Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryProperties.java26 public int batteryHealth; field in BatteryProperties
41 batteryHealth = other.batteryHealth; in set()
59 batteryHealth = p.readInt(); in BatteryProperties()
72 p.writeInt(batteryHealth); in writeToParcel()
DBatteryStats.java620 public byte batteryHealth; field in BatteryStats.HistoryItem
771 | ((((int)batteryHealth)<<20)&0xf00000) in writeToParcel()
803 batteryHealth = (byte)((bat>>20)&0xf); in readFromParcel()
843 batteryHealth = 0; in clear()
870 batteryHealth = o.batteryHealth; in setToCommon()
901 && batteryHealth == o.batteryHealth in sameNonEvent()
3590 if (oldHealth != rec.batteryHealth) { in printNextItem()
3591 oldHealth = rec.batteryHealth; in printNextItem()
/frameworks/native/services/batteryservice/
DBatteryProperties.cpp37 batteryHealth = p->readInt32(); in readFromParcel()
51 p->writeInt32(batteryHealth); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java327 + ", batteryHealth=" + mBatteryProps.batteryHealth in processValuesLocked()
339 mBatteryStats.setBatteryState(mBatteryProps.batteryStatus, mBatteryProps.batteryHealth, in processValuesLocked()
350 mBatteryProps.batteryHealth != mLastBatteryHealth || in processValuesLocked()
379 mBatteryProps.batteryHealth != mLastBatteryHealth || in processValuesLocked()
383 … mBatteryProps.batteryStatus, mBatteryProps.batteryHealth, mBatteryProps.batteryPresent ? 1 : 0, in processValuesLocked()
476 mLastBatteryHealth = mBatteryProps.batteryHealth; in processValuesLocked()
496 intent.putExtra(BatteryManager.EXTRA_HEALTH, mBatteryProps.batteryHealth); in sendIntentLocked()
510 … ", health:" + mBatteryProps.batteryHealth + ", present:" + mBatteryProps.batteryPresent + in sendIntentLocked()
622 pw.println(" health: " + mBatteryProps.batteryHealth); in dumpInternal()
/frameworks/native/include/batteryservice/
DBatteryService.h61 int batteryHealth; member
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2007 + " batteryHealth=" + cur.batteryHealth in writeHistoryDelta()
2061 | ((h.batteryHealth&STATE_BATTERY_HEALTH_MASK)<<STATE_BATTERY_HEALTH_SHIFT) in buildStateInt()
2112 cur.batteryHealth = (byte)((stateInt>>STATE_BATTERY_HEALTH_SHIFT) in readHistoryDelta()
2131 + " batteryHealth=" + cur.batteryHealth in readHistoryDelta()
2214 && mHistoryLastWritten.batteryHealth == cur.batteryHealth in addHistoryBufferLocked()
7034 mHistoryCur.batteryHealth = (byte)health; in setBatteryState()
7049 if (mHistoryCur.batteryHealth != health) { in setBatteryState()
7050 mHistoryCur.batteryHealth = (byte)health; in setBatteryState()