Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java1587 public byte batteryPlugType; field in BatteryStats.HistoryItem
1805 | ((((int)batteryPlugType)<<24)&0xf000000) in writeToParcel()
1840 batteryPlugType = (byte)((bat>>24)&0xf); in readFromParcel()
1883 batteryPlugType = 0; in clear()
1913 batteryPlugType = o.batteryPlugType; in setToCommon()
1947 && batteryPlugType == o.batteryPlugType in sameNonEvent()
6369 if (oldPlug != rec.batteryPlugType) { in printNextItem()
6370 oldPlug = rec.batteryPlugType; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3283 + " batteryPlugType=" + cur.batteryPlugType in writeHistoryDelta()
3367 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()
3369 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
3371 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()
3521 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()
3523 switch (cur.batteryPlugType) { in readHistoryDelta()
3525 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
3528 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()
3531 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()
3539 + " batteryPlugType=" + cur.batteryPlugType in readHistoryDelta()
[all …]