Searched refs:batteryPlugType (Results 1 – 3 of 3) sorted by relevance
128 cur.batteryPlugType = (byte) ((stateInt >> BatteryStatsImpl.STATE_BATTERY_PLUG_SHIFT) in readHistoryDelta()130 switch (cur.batteryPlugType) { in readHistoryDelta()132 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()135 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()138 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_WIRELESS; in readHistoryDelta()147 + " batteryPlugType=" + cur.batteryPlugType in readHistoryDelta()
3520 + " batteryPlugType=" + cur.batteryPlugType in writeHistoryDelta()3599 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()3601 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()3603 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0) { in buildStateInt()3748 && mHistoryLastWritten.batteryPlugType == cur.batteryPlugType in addHistoryBufferLocked()14178 mHistoryCur.batteryPlugType = (byte)plugType;14216 if (mHistoryCur.batteryPlugType != plugType) {14217 mHistoryCur.batteryPlugType = (byte)plugType;14341 if (recentPast == null || recentPast.batteryPlugType != plugType) {
1712 public byte batteryPlugType; field in BatteryStats.HistoryItem1925 | ((((int)batteryPlugType)<<24)&0xf000000) in writeToParcel()1961 batteryPlugType = (byte)((bat>>24)&0xf); in readFromParcel()2005 batteryPlugType = 0; in clear()2037 batteryPlugType = o.batteryPlugType; in setToCommon()2071 && batteryPlugType == o.batteryPlugType in sameNonEvent()6569 if (oldPlug != rec.batteryPlugType) { in printNextItem()6570 oldPlug = rec.batteryPlugType; in printNextItem()