Searched refs:isPowered (Results 1 – 9 of 9) sorted by relevance
31 public abstract boolean isPowered(int plugTypeSet); in isPowered() method in BatteryManagerInternal
219 public boolean update(boolean isPowered, int plugType) { in update() argument223 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in update()
1761 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in updateIsPoweredLocked()1862 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting); in updateStayOnLocked()
141 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
1466 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
266 when(mBatteryManagerInternalMock.isPowered(BatteryManager.BATTERY_PLUGGED_ANY)) in setPluggedIn()
1282 public boolean isPowered(int plugTypeSet) { in isPowered() method in BatteryService.LocalService
605 HSPLcom/android/server/BatteryService$LocalService;->isPowered(I)Z
48596 Landroid/os/BatteryManagerInternal;->isPowered(I)Z