Searched refs:batteryPlugType (Results 1 – 3 of 3) sorted by relevance
171 cur.batteryPlugType = (byte) ((stateInt >> BatteryStatsHistory.STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()173 switch (cur.batteryPlugType) { in readHistoryDelta()175 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()178 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()181 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()190 + " batteryPlugType=" + cur.batteryPlugType in readHistoryDelta()
1266 mHistoryCur.batteryPlugType = (byte) plugType; in setBatteryState()1808 && mHistoryLastWritten.batteryPlugType == cur.batteryPlugType in writeHistoryItem()2132 + " batteryPlugType=" + cur.batteryPlugType in writeHistoryDelta()2231 if ((h.batteryPlugType & BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()2233 } else if ((h.batteryPlugType & BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()2235 } else if ((h.batteryPlugType & BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()
1897 public byte batteryPlugType; field in BatteryStats.HistoryItem2135 | ((((int)batteryPlugType)<<24)&0xf000000) in writeToParcel()2171 batteryPlugType = (byte)((bat>>24)&0xf); in readFromParcel()2215 batteryPlugType = 0; in clear()2250 batteryPlugType = o.batteryPlugType; in setToCommon()2287 && batteryPlugType == o.batteryPlugType in sameNonEvent()7078 if (oldPlug != rec.batteryPlugType) { in printNextItem()7079 oldPlug = rec.batteryPlugType; in printNextItem()