Home
last modified time | relevance | path

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

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h50 int batteryTemperature; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java408 if (mHealthInfo.batteryTemperature > mShutdownBatteryTemperature) { in shutdownIfOverTempLocked()
458 dst.batteryTemperature = src.batteryTemperature; in copy()
493 mPlugType, mHealthInfo.batteryLevel, mHealthInfo.batteryTemperature, in processValuesLocked()
510 mHealthInfo.batteryTemperature != mLastBatteryTemperature || in processValuesLocked()
572 … mHealthInfo.batteryLevel, mHealthInfo.batteryVoltage, mHealthInfo.batteryTemperature); in processValuesLocked()
679 mLastBatteryTemperature = mHealthInfo.batteryTemperature; in processValuesLocked()
706 intent.putExtra(BatteryManager.EXTRA_TEMPERATURE, mHealthInfo.batteryTemperature); in sendBatteryChangedIntentLocked()
732 event.putInt(BatteryManager.EXTRA_TEMPERATURE, mHealthInfo.batteryTemperature); in sendBatteryLevelChangedIntentLocked()
959 mHealthInfo.batteryTemperature = Integer.parseInt(value); in onShellCommand()
1030 pw.println(" temperature: " + mHealthInfo.batteryTemperature); in dumpInternal()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java1642 public short batteryTemperature; field in BatteryStats.HistoryItem
1857 bat = (((int)batteryTemperature)&0xffff) in writeToParcel()
1890 batteryTemperature = (short)(bat2&0xffff); in readFromParcel()
1933 batteryTemperature = 0; in clear()
1965 batteryTemperature = o.batteryTemperature; in setToCommon()
1999 && batteryTemperature == o.batteryTemperature in sameNonEvent()
6423 if (oldTemp != rec.batteryTemperature) { in printNextItem()
6424 oldTemp = rec.batteryTemperature; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3281 + " batteryTemp=" + cur.batteryTemperature in writeHistoryDelta()
3362 | ((((int)h.batteryTemperature)<<15)&0x01ff8000) in buildBatteryLevelInt()
3368 out.batteryTemperature = (short)((batteryLevelInt & 0x01ff8000) >>> 15); in readBatteryLevelInt()
3513 + " batteryTemp=" + cur.batteryTemperature in readHistoryDelta()
3649 && mHistoryLastWritten.batteryTemperature == cur.batteryTemperature in addHistoryBufferLocked()
12299 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()
12340 if (temp >= (mHistoryCur.batteryTemperature+10) in setBatteryStateLocked()
12341 || temp <= (mHistoryCur.batteryTemperature-10)) { in setBatteryStateLocked()
12342 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()