Searched refs:isPowered (Results 1 – 5 of 5) sorted by relevance
28 public abstract boolean isPowered(int plugTypeSet); in isPowered() method in BatteryManagerInternal
182 public boolean update(boolean isPowered, int plugType, int batteryLevel) { in update() argument186 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in update()
1418 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in updateIsPoweredLocked()1516 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting); in updateStayOnLocked()
149 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
885 public boolean isPowered(int plugTypeSet) { in isPowered() method in BatteryService.LocalService