Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java1303 public byte batteryPlugType; field in BatteryStats.HistoryItem
1508 | ((((int)batteryPlugType)<<24)&0xf000000) in writeToParcel()
1541 batteryPlugType = (byte)((bat>>24)&0xf); in readFromParcel()
1582 batteryPlugType = 0; in clear()
1610 batteryPlugType = o.batteryPlugType; in setToCommon()
1642 && batteryPlugType == o.batteryPlugType in sameNonEvent()
5431 if (oldPlug != rec.batteryPlugType) { in printNextItem()
5432 oldPlug = rec.batteryPlugType; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2840 + " batteryPlugType=" + cur.batteryPlugType in writeHistoryDelta()
2916 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()
2918 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
2920 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()
3070 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()
3072 switch (cur.batteryPlugType) { in readHistoryDelta()
3074 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
3077 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()
3080 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()
3088 + " batteryPlugType=" + cur.batteryPlugType in readHistoryDelta()
[all …]