Searched refs:batteryPlugType (Results 1 – 2 of 2) sorted by relevance
1157 public byte batteryPlugType; field in BatteryStats.HistoryItem1353 | ((((int)batteryPlugType)<<24)&0xf000000) in writeToParcel()1386 batteryPlugType = (byte)((bat>>24)&0xf); in readFromParcel()1427 batteryPlugType = 0; in clear()1455 batteryPlugType = o.batteryPlugType; in setToCommon()1487 && batteryPlugType == o.batteryPlugType in sameNonEvent()4757 if (oldPlug != rec.batteryPlugType) { in printNextItem()4758 oldPlug = rec.batteryPlugType; in printNextItem()
2300 + " batteryPlugType=" + cur.batteryPlugType in writeHistoryDelta()2376 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()2378 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()2380 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()2530 cur.batteryPlugType = (byte)((stateInt>>STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()2532 switch (cur.batteryPlugType) { in readHistoryDelta()2534 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()2537 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()2540 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()2548 + " batteryPlugType=" + cur.batteryPlugType in readHistoryDelta()[all …]