Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryProperties.java31 public int batteryVoltage; field in BatteryProperties
50 batteryVoltage = other.batteryVoltage; in set()
72 batteryVoltage = p.readInt(); in BatteryProperties()
89 p.writeInt(batteryVoltage); in writeToParcel()
DBatteryStats.java1518 public char batteryVoltage; field in BatteryStats.HistoryItem
1732 | ((((int)batteryVoltage)<<16)&0xffff0000); in writeToParcel()
1762 batteryVoltage = (char)((bat2>>16)&0xffff); in readFromParcel()
1802 batteryVoltage = 0; in clear()
1830 batteryVoltage = o.batteryVoltage; in setToCommon()
1862 && batteryVoltage == o.batteryVoltage in sameNonEvent()
6284 if (oldVolt != rec.batteryVoltage) { in printNextItem()
6285 oldVolt = rec.batteryVoltage; in printNextItem()
/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h50 int batteryVoltage; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java426 dst.batteryVoltage = src.batteryVoltage; in copy()
463 mHealthInfo.batteryVoltage, mHealthInfo.batteryChargeCounter, in processValuesLocked()
477 mHealthInfo.batteryVoltage != mLastBatteryVoltage || in processValuesLocked()
540 … mHealthInfo.batteryLevel, mHealthInfo.batteryVoltage, mHealthInfo.batteryTemperature); in processValuesLocked()
646 mLastBatteryVoltage = mHealthInfo.batteryVoltage; in processValuesLocked()
673 intent.putExtra(BatteryManager.EXTRA_VOLTAGE, mHealthInfo.batteryVoltage); in sendBatteryChangedIntentLocked()
699 event.putInt(BatteryManager.EXTRA_VOLTAGE, mHealthInfo.batteryVoltage); in sendBatteryLevelChangedIntentLocked()
994 pw.println(" voltage: " + mHealthInfo.batteryVoltage); in dumpInternal()
1026 proto.write(BatteryServiceDumpProto.VOLTAGE, mHealthInfo.batteryVoltage); in dumpProto()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3346 + " batteryVolt=" + (int)cur.batteryVoltage); in writeHistoryDelta()
3425 | ((((int)h.batteryVoltage)<<1)&0x00007ffe); in buildBatteryLevelInt()
3431 out.batteryVoltage = (char)((batteryLevelInt & 0x00007ffe) >>> 1); in readBatteryLevelInt()
3578 + " batteryVolt=" + (int)cur.batteryVoltage); in readHistoryDelta()
3705 && mHistoryLastWritten.batteryVoltage == cur.batteryVoltage) { in addHistoryBufferLocked()
12596 mHistoryCur.batteryVoltage = (char)volt; in setBatteryStateLocked()
12641 if (volt > (mHistoryCur.batteryVoltage+20) in setBatteryStateLocked()
12642 || volt < (mHistoryCur.batteryVoltage-20)) { in setBatteryStateLocked()
12643 mHistoryCur.batteryVoltage = (char)volt; in setBatteryStateLocked()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3847 Landroid/os/BatteryStats$HistoryItem;->batteryVoltage:C