Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryProperties.java32 public int batteryTemperature; field in BatteryProperties
50 batteryTemperature = other.batteryTemperature; in set()
71 batteryTemperature = p.readInt(); in BatteryProperties()
87 p.writeInt(batteryTemperature); in writeToParcel()
DBatteryStats.java1159 public short batteryTemperature; field in BatteryStats.HistoryItem
1358 bat = (((int)batteryTemperature)&0xffff) in writeToParcel()
1388 batteryTemperature = (short)(bat2&0xffff); in readFromParcel()
1428 batteryTemperature = 0; in clear()
1456 batteryTemperature = o.batteryTemperature; in setToCommon()
1488 && batteryTemperature == o.batteryTemperature in sameNonEvent()
4778 if (oldTemp != rec.batteryTemperature) { in printNextItem()
4779 oldTemp = rec.batteryTemperature; in printNextItem()
/frameworks/native/services/batteryservice/
DBatteryProperties.cpp43 batteryTemperature = p->readInt32(); in readFromParcel()
60 p->writeInt32(batteryTemperature); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java296 if (mBatteryProps.batteryTemperature > mShutdownBatteryTemperature) { in shutdownIfOverTempLocked()
352 + ", batteryTemperature=" + mBatteryProps.batteryTemperature in processValuesLocked()
360 mPlugType, mBatteryProps.batteryLevel, mBatteryProps.batteryTemperature, in processValuesLocked()
375 mBatteryProps.batteryTemperature != mLastBatteryTemperature || in processValuesLocked()
413 … mBatteryProps.batteryLevel, mBatteryProps.batteryVoltage, mBatteryProps.batteryTemperature); in processValuesLocked()
504 mLastBatteryTemperature = mBatteryProps.batteryTemperature; in processValuesLocked()
529 intent.putExtra(BatteryManager.EXTRA_TEMPERATURE, mBatteryProps.batteryTemperature); in sendIntentLocked()
541 ", temperature: " + mBatteryProps.batteryTemperature + in sendIntentLocked()
788 pw.println(" temperature: " + mBatteryProps.batteryTemperature); in dumpInternal()
/frameworks/native/include/batteryservice/
DBatteryService.h67 int batteryTemperature; member
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2291 + " batteryTemp=" + cur.batteryTemperature in writeHistoryDelta()
2364 | ((((int)h.batteryTemperature)<<15)&0x01ff8000) in buildBatteryLevelInt()
2370 out.batteryTemperature = (short)((batteryLevelInt & 0x01ff8000) >>> 15); in readBatteryLevelInt()
2517 + " batteryTemp=" + cur.batteryTemperature in readHistoryDelta()
2644 && mHistoryLastWritten.batteryTemperature == cur.batteryTemperature in addHistoryBufferLocked()
9395 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()
9427 if (temp >= (mHistoryCur.batteryTemperature+10) in setBatteryStateLocked()
9428 || temp <= (mHistoryCur.batteryTemperature-10)) { in setBatteryStateLocked()
9429 mHistoryCur.batteryTemperature = (short)temp; in setBatteryStateLocked()