Home
last modified time | relevance | path

Searched refs:isPowered (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryManagerInternal.java28 public abstract boolean isPowered(int plugTypeSet); in isPowered() method in BatteryManagerInternal
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java182 public boolean update(boolean isPowered, int plugType, int batteryLevel) { in update() argument
186 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in update()
DPowerManagerService.java1418 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in updateIsPoweredLocked()
1516 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting); in updateStayOnLocked()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBatteryController.java149 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java885 public boolean isPowered(int plugTypeSet) { in isPowered() method in BatteryService.LocalService