Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java1640 public byte batteryPlugType; field in BatteryStats.HistoryItem
1852 | ((((int)batteryPlugType)<<24)&0xf000000) in writeToParcel()
1888 batteryPlugType = (byte)((bat>>24)&0xf); in readFromParcel()
1932 batteryPlugType = 0; in clear()
1964 batteryPlugType = o.batteryPlugType; in setToCommon()
1998 && batteryPlugType == o.batteryPlugType in sameNonEvent()
6402 if (oldPlug != rec.batteryPlugType) { in printNextItem()
6403 oldPlug = rec.batteryPlugType; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3290 + " batteryPlugType=" + cur.batteryPlugType in writeHistoryDelta()
3374 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()
3376 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
3378 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()
3526 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()
3528 switch (cur.batteryPlugType) { in readHistoryDelta()
3530 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
3533 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()
3536 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()
3544 + " batteryPlugType=" + cur.batteryPlugType in readHistoryDelta()
[all …]