Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3231 final int batteryLevelInt = buildBatteryLevelInt(cur) | includeStepDetails; in writeHistoryDelta() local
3232 final boolean batteryLevelIntChanged = batteryLevelInt != lastBatteryLevelInt; in writeHistoryDelta()
3270 dest.writeInt(batteryLevelInt); in writeHistoryDelta()
3272 + Integer.toHexString(batteryLevelInt) in writeHistoryDelta()
3359 private void readBatteryLevelInt(int batteryLevelInt, HistoryItem out) { in readBatteryLevelInt() argument
3360 out.batteryLevel = (byte)((batteryLevelInt & 0xfe000000) >>> 25); in readBatteryLevelInt()
3361 out.batteryTemperature = (short)((batteryLevelInt & 0x01ff8000) >>> 15); in readBatteryLevelInt()
3362 out.batteryVoltage = (char)((batteryLevelInt & 0x00007ffe) >>> 1); in readBatteryLevelInt()
3500 final int batteryLevelInt; in readHistoryDelta() local
3502 batteryLevelInt = src.readInt(); in readHistoryDelta()
[all …]