Searched refs:plugTypeSet (Results 1 – 2 of 2) sorted by relevance
31 public abstract boolean isPowered(int plugTypeSet); in isPowered() argument
331 private boolean isPoweredLocked(int plugTypeSet) { in isPoweredLocked() argument337 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_AC) != 0 && mHealthInfo.chargerAcOnline) { in isPoweredLocked()340 … if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_USB) != 0 && mHealthInfo.chargerUsbOnline) { in isPoweredLocked()343 …if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_WIRELESS) != 0 && mHealthInfo.chargerWirelessOnl… in isPoweredLocked()1282 public boolean isPowered(int plugTypeSet) { in isPowered() argument1284 return isPoweredLocked(plugTypeSet); in isPowered()