Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryProperties.java32 public int batteryTemperature; field in BatteryProperties
51 batteryTemperature = other.batteryTemperature; in set()
73 batteryTemperature = p.readInt(); in BatteryProperties()
90 p.writeInt(batteryTemperature); in writeToParcel()
DBatteryStats.java1517 public short batteryTemperature; field in BatteryStats.HistoryItem
1731 bat = (((int)batteryTemperature)&0xffff) in writeToParcel()
1761 batteryTemperature = (short)(bat2&0xffff); in readFromParcel()
1801 batteryTemperature = 0; in clear()
1829 batteryTemperature = o.batteryTemperature; in setToCommon()
1861 && batteryTemperature == o.batteryTemperature in sameNonEvent()
6279 if (oldTemp != rec.batteryTemperature) { in printNextItem()
6280 oldTemp = rec.batteryTemperature; in printNextItem()
/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h51 int batteryTemperature; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java384 if (mHealthInfo.batteryTemperature > mShutdownBatteryTemperature) { in shutdownIfOverTempLocked()
427 dst.batteryTemperature = src.batteryTemperature; in copy()
462 mPlugType, mHealthInfo.batteryLevel, mHealthInfo.batteryTemperature, in processValuesLocked()
478 mHealthInfo.batteryTemperature != mLastBatteryTemperature || in processValuesLocked()
540 … mHealthInfo.batteryLevel, mHealthInfo.batteryVoltage, mHealthInfo.batteryTemperature); in processValuesLocked()
647 mLastBatteryTemperature = mHealthInfo.batteryTemperature; in processValuesLocked()
674 intent.putExtra(BatteryManager.EXTRA_TEMPERATURE, mHealthInfo.batteryTemperature); in sendBatteryChangedIntentLocked()
924 mHealthInfo.batteryTemperature = Integer.parseInt(value); in onShellCommand()
995 pw.println(" temperature: " + mHealthInfo.batteryTemperature); in dumpInternal()
1027 proto.write(BatteryServiceDumpProto.TEMPERATURE, mHealthInfo.batteryTemperature); in dumpProto()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3345 + " batteryTemp=" + cur.batteryTemperature in writeHistoryDelta()
3424 | ((((int)h.batteryTemperature)<<15)&0x01ff8000) in buildBatteryLevelInt()
3430 out.batteryTemperature = (short)((batteryLevelInt & 0x01ff8000) >>> 15); in readBatteryLevelInt()
3577 + " batteryTemp=" + cur.batteryTemperature in readHistoryDelta()
3704 && mHistoryLastWritten.batteryTemperature == cur.batteryTemperature in addHistoryBufferLocked()
12595 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()
12636 if (temp >= (mHistoryCur.batteryTemperature+10) in setBatteryStateLocked()
12637 || temp <= (mHistoryCur.batteryTemperature-10)) { in setBatteryStateLocked()
12638 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()