Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryStats.java1515 public byte batteryPlugType; field in BatteryStats.HistoryItem
1726 | ((((int)batteryPlugType)<<24)&0xf000000) in writeToParcel()
1759 batteryPlugType = (byte)((bat>>24)&0xf); in readFromParcel()
1800 batteryPlugType = 0; in clear()
1828 batteryPlugType = o.batteryPlugType; in setToCommon()
1860 && batteryPlugType == o.batteryPlugType in sameNonEvent()
6258 if (oldPlug != rec.batteryPlugType) { in printNextItem()
6259 oldPlug = rec.batteryPlugType; in printNextItem()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3354 + " batteryPlugType=" + cur.batteryPlugType in writeHistoryDelta()
3436 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()
3438 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
3440 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()
3590 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()
3592 switch (cur.batteryPlugType) { in readHistoryDelta()
3594 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
3597 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()
3600 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()
3608 + " batteryPlugType=" + cur.batteryPlugType in readHistoryDelta()
[all …]
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3845 Landroid/os/BatteryStats$HistoryItem;->batteryPlugType:B