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
49 batteryVoltage = other.batteryVoltage; in set()
70 batteryVoltage = p.readInt(); in BatteryProperties()
86 p.writeInt(batteryVoltage); in writeToParcel()
DBatteryStats.java1160 public char batteryVoltage; field in BatteryStats.HistoryItem
1359 | ((((int)batteryVoltage)<<16)&0xffff0000); in writeToParcel()
1389 batteryVoltage = (char)((bat2>>16)&0xffff); in readFromParcel()
1429 batteryVoltage = 0; in clear()
1457 batteryVoltage = o.batteryVoltage; in setToCommon()
1489 && batteryVoltage == o.batteryVoltage in sameNonEvent()
4783 if (oldVolt != rec.batteryVoltage) { in printNextItem()
4784 oldVolt = rec.batteryVoltage; in printNextItem()
/frameworks/native/services/batteryservice/
DBatteryProperties.cpp42 batteryVoltage = p->readInt32(); in readFromParcel()
59 p->writeInt32(batteryVoltage); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java351 + ", batteryVoltage=" + mBatteryProps.batteryVoltage in processValuesLocked()
361 mBatteryProps.batteryVoltage, mBatteryProps.batteryChargeCounter); in processValuesLocked()
374 mBatteryProps.batteryVoltage != mLastBatteryVoltage || in processValuesLocked()
413 … mBatteryProps.batteryLevel, mBatteryProps.batteryVoltage, mBatteryProps.batteryTemperature); in processValuesLocked()
503 mLastBatteryVoltage = mBatteryProps.batteryVoltage; in processValuesLocked()
528 intent.putExtra(BatteryManager.EXTRA_VOLTAGE, mBatteryProps.batteryVoltage); in sendIntentLocked()
540 ", voltage: " + mBatteryProps.batteryVoltage + in sendIntentLocked()
787 pw.println(" voltage: " + mBatteryProps.batteryVoltage); in dumpInternal()
/frameworks/native/include/batteryservice/
DBatteryService.h66 int batteryVoltage; member
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2292 + " batteryVolt=" + (int)cur.batteryVoltage); in writeHistoryDelta()
2365 | ((((int)h.batteryVoltage)<<1)&0x00007ffe); in buildBatteryLevelInt()
2371 out.batteryVoltage = (char)((batteryLevelInt & 0x00007ffe) >>> 1); in readBatteryLevelInt()
2518 + " batteryVolt=" + (int)cur.batteryVoltage); in readHistoryDelta()
2645 && mHistoryLastWritten.batteryVoltage == cur.batteryVoltage) { in addHistoryBufferLocked()
9396 mHistoryCur.batteryVoltage = (char)volt; in setBatteryStateLocked()
9432 if (volt > (mHistoryCur.batteryVoltage+20) in setBatteryStateLocked()
9433 || volt < (mHistoryCur.batteryVoltage-20)) { in setBatteryStateLocked()
9434 mHistoryCur.batteryVoltage = (char)volt; in setBatteryStateLocked()