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.java410 if (mHealthInfo.batteryTemperature > mShutdownBatteryTemperature) { in shutdownIfOverTempLocked()
460 dst.batteryTemperature = src.batteryTemperature; in copy()
495 mPlugType, mHealthInfo.batteryLevel, mHealthInfo.batteryTemperature, in processValuesLocked()
512 mHealthInfo.batteryTemperature != mLastBatteryTemperature || in processValuesLocked()
574 … mHealthInfo.batteryLevel, mHealthInfo.batteryVoltage, mHealthInfo.batteryTemperature); in processValuesLocked()
681 mLastBatteryTemperature = mHealthInfo.batteryTemperature; in processValuesLocked()
708 intent.putExtra(BatteryManager.EXTRA_TEMPERATURE, mHealthInfo.batteryTemperature); in sendBatteryChangedIntentLocked()
959 mHealthInfo.batteryTemperature = Integer.parseInt(value); in onShellCommand()
1030 pw.println(" temperature: " + mHealthInfo.batteryTemperature); in dumpInternal()
1062 proto.write(BatteryServiceDumpProto.TEMPERATURE, mHealthInfo.batteryTemperature); in dumpProto()
/frameworks/base/core/java/android/os/
DBatteryStats.java1632 public short batteryTemperature; field in BatteryStats.HistoryItem
1853 bat = (((int)batteryTemperature)&0xffff) in writeToParcel()
1885 batteryTemperature = (short)(bat2&0xffff); in readFromParcel()
1928 batteryTemperature = 0; in clear()
1960 batteryTemperature = o.batteryTemperature; in setToCommon()
1994 && batteryTemperature == o.batteryTemperature in sameNonEvent()
6442 if (oldTemp != rec.batteryTemperature) { in printNextItem()
6443 oldTemp = rec.batteryTemperature; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3277 + " batteryTemp=" + cur.batteryTemperature in writeHistoryDelta()
3358 | ((((int)h.batteryTemperature)<<15)&0x01ff8000) in buildBatteryLevelInt()
3364 out.batteryTemperature = (short)((batteryLevelInt & 0x01ff8000) >>> 15); in readBatteryLevelInt()
3511 + " batteryTemp=" + cur.batteryTemperature in readHistoryDelta()
3647 && mHistoryLastWritten.batteryTemperature == cur.batteryTemperature in addHistoryBufferLocked()
12282 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()
12323 if (temp >= (mHistoryCur.batteryTemperature+10) in setBatteryStateLocked()
12324 || temp <= (mHistoryCur.batteryTemperature-10)) { in setBatteryStateLocked()
12325 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48606 Landroid/os/BatteryProperties;->batteryTemperature:I
48651 Landroid/os/BatteryStats$HistoryItem;->batteryTemperature:S