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

/frameworks/base/core/java/android/os/
H A DBatteryStats.java1346 public byte batteryPlugType; field in class:BatteryStats.HistoryItem
1551 | ((((int)batteryPlugType)<<24)&0xf000000)
1584 batteryPlugType = (byte)((bat>>24)&0xf);
1625 batteryPlugType = 0;
1653 batteryPlugType = o.batteryPlugType;
1685 && batteryPlugType == o.batteryPlugType
5678 if (oldPlug != rec.batteryPlugType) {
5679 oldPlug = rec.batteryPlugType;
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2942 + " batteryPlugType=" + cur.batteryPlugType
3024 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) {
3026 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) {
3028 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) {
3178 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT)
3180 switch (cur.batteryPlugType) {
3182 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC;
3185 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB;
3188 cur.batteryPlugType
[all...]

Completed in 27 milliseconds