Home
last modified time | relevance | path

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

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h49 int batteryVoltage; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java457 dst.batteryVoltage = src.batteryVoltage; in copy()
494 mHealthInfo.batteryVoltage, mHealthInfo.batteryChargeCounter, in processValuesLocked()
509 mHealthInfo.batteryVoltage != mLastBatteryVoltage || in processValuesLocked()
572 … mHealthInfo.batteryLevel, mHealthInfo.batteryVoltage, mHealthInfo.batteryTemperature); in processValuesLocked()
678 mLastBatteryVoltage = mHealthInfo.batteryVoltage; in processValuesLocked()
705 intent.putExtra(BatteryManager.EXTRA_VOLTAGE, mHealthInfo.batteryVoltage); in sendBatteryChangedIntentLocked()
731 event.putInt(BatteryManager.EXTRA_VOLTAGE, mHealthInfo.batteryVoltage); in sendBatteryLevelChangedIntentLocked()
1029 pw.println(" voltage: " + mHealthInfo.batteryVoltage); in dumpInternal()
1061 proto.write(BatteryServiceDumpProto.VOLTAGE, mHealthInfo.batteryVoltage); in dumpProto()
/frameworks/base/core/java/android/os/
DBatteryStats.java1644 public char batteryVoltage; field in BatteryStats.HistoryItem
1858 | ((((int)batteryVoltage)<<16)&0xffff0000); in writeToParcel()
1891 batteryVoltage = (char)((bat2>>16)&0xffff); in readFromParcel()
1934 batteryVoltage = 0; in clear()
1966 batteryVoltage = o.batteryVoltage; in setToCommon()
2000 && batteryVoltage == o.batteryVoltage in sameNonEvent()
6428 if (oldVolt != rec.batteryVoltage) { in printNextItem()
6429 oldVolt = rec.batteryVoltage; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3282 + " batteryVolt=" + (int)cur.batteryVoltage); in writeHistoryDelta()
3363 | ((((int)h.batteryVoltage)<<1)&0x00007ffe); in buildBatteryLevelInt()
3369 out.batteryVoltage = (char)((batteryLevelInt & 0x00007ffe) >>> 1); in readBatteryLevelInt()
3514 + " batteryVolt=" + (int)cur.batteryVoltage); in readHistoryDelta()
3650 && mHistoryLastWritten.batteryVoltage == cur.batteryVoltage) { in addHistoryBufferLocked()
12300 mHistoryCur.batteryVoltage = (char)volt; in setBatteryStateLocked()
12345 if (volt > (mHistoryCur.batteryVoltage+20) in setBatteryStateLocked()
12346 || volt < (mHistoryCur.batteryVoltage-20)) { in setBatteryStateLocked()
12347 mHistoryCur.batteryVoltage = (char)volt; in setBatteryStateLocked()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3812 pulledValue = value.legacy.batteryVoltage;