Home
last modified time | relevance | path

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

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h50 int batteryTemperature; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java401 if (mHealthInfo.batteryTemperature > mShutdownBatteryTemperature) { in shutdownIfOverTempLocked()
450 dst.batteryTemperature = src.batteryTemperature; in copy()
485 mPlugType, mHealthInfo.batteryLevel, mHealthInfo.batteryTemperature, in processValuesLocked()
501 mHealthInfo.batteryTemperature != mLastBatteryTemperature || in processValuesLocked()
563 … mHealthInfo.batteryLevel, mHealthInfo.batteryVoltage, mHealthInfo.batteryTemperature); in processValuesLocked()
670 mLastBatteryTemperature = mHealthInfo.batteryTemperature; in processValuesLocked()
697 intent.putExtra(BatteryManager.EXTRA_TEMPERATURE, mHealthInfo.batteryTemperature); in sendBatteryChangedIntentLocked()
948 mHealthInfo.batteryTemperature = Integer.parseInt(value); in onShellCommand()
1019 pw.println(" temperature: " + mHealthInfo.batteryTemperature); in dumpInternal()
1051 proto.write(BatteryServiceDumpProto.TEMPERATURE, mHealthInfo.batteryTemperature); in dumpProto()
/frameworks/base/core/java/android/os/
DBatteryStats.java1589 public short batteryTemperature; field in BatteryStats.HistoryItem
1810 bat = (((int)batteryTemperature)&0xffff) in writeToParcel()
1842 batteryTemperature = (short)(bat2&0xffff); in readFromParcel()
1884 batteryTemperature = 0; in clear()
1914 batteryTemperature = o.batteryTemperature; in setToCommon()
1948 && batteryTemperature == o.batteryTemperature in sameNonEvent()
6390 if (oldTemp != rec.batteryTemperature) { in printNextItem()
6391 oldTemp = rec.batteryTemperature; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3274 + " batteryTemp=" + cur.batteryTemperature in writeHistoryDelta()
3355 | ((((int)h.batteryTemperature)<<15)&0x01ff8000) in buildBatteryLevelInt()
3361 out.batteryTemperature = (short)((batteryLevelInt & 0x01ff8000) >>> 15); in readBatteryLevelInt()
3508 + " batteryTemp=" + cur.batteryTemperature in readHistoryDelta()
3644 && mHistoryLastWritten.batteryTemperature == cur.batteryTemperature in addHistoryBufferLocked()
12276 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()
12317 if (temp >= (mHistoryCur.batteryTemperature+10) in setBatteryStateLocked()
12318 || temp <= (mHistoryCur.batteryTemperature-10)) { in setBatteryStateLocked()
12319 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt52110 Landroid/os/BatteryProperties;->batteryTemperature:I
52162 Landroid/os/BatteryStats$HistoryItem;->batteryTemperature:S