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

/frameworks/base/core/java/android/os/
H A DBatteryStats.java606 public byte batteryPlugType; field in class:BatteryStats.HistoryItem
755 | ((((int)batteryPlugType)<<24)&0xf000000)
787 batteryPlugType = (byte)((bat>>24)&0xf);
827 batteryPlugType = 0;
854 batteryPlugType = o.batteryPlugType;
885 && batteryPlugType == o.batteryPlugType
3564 if (oldPlug != rec.batteryPlugType) {
3565 oldPlug = rec.batteryPlugType;
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2004 + " batteryPlugType=" + cur.batteryPlugType
2049 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) {
2051 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) {
2053 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) {
2110 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT)
2112 switch (cur.batteryPlugType) {
2114 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC;
2117 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB;
2120 cur.batteryPlugType
[all...]

Completed in 49 milliseconds