Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryManagerInternal.java31 public abstract boolean isPowered(int plugTypeSet); in isPowered() method in BatteryManagerInternal
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java219 public boolean update(boolean isPowered, int plugType) { in update() argument
223 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in update()
DPowerManagerService.java1994 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);
2095 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DBatteryController.java153 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
DQuotaController.java1357 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java172 when(mBatteryManagerInternalMock.isPowered(anyInt())).thenReturn(false); in setUp()
336 when(mBatteryManagerInternalMock.isPowered(anyInt())) in setPluggedIn()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1285 public boolean isPowered(int plugTypeSet) { in isPowered() method in BatteryService.LocalService
/frameworks/base/services/
Dart-profile1453 HSPLcom/android/server/BatteryService$LocalService;->isPowered(I)Z