Home
last modified time | relevance | path

Searched refs:isPowered (Results 1 – 11 of 11) 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.java2198 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);
2301 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting);
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java158 when(mBatteryManagerInternal.isPowered(eq(BatteryManager.BATTERY_PLUGGED_ANY))) in testUsable()
190 when(mBatteryManagerInternal.isPowered(eq(BatteryManager.BATTERY_PLUGGED_ANY))) in testUsable()
198 when(mBatteryManagerInternal.isPowered(eq(BatteryManager.BATTERY_PLUGGED_ANY))) in testUsable()
224 when(mBatteryManagerInternal.isPowered(eq(BatteryManager.BATTERY_PLUGGED_ANY))) in testUsable()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DBatteryController.java156 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
DConnectivityController.java1034 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
DQuotaController.java1857 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java183 when(mBatteryManagerInternalMock.isPowered(anyInt())).thenReturn(false); in setUp()
350 when(mBatteryManagerInternalMock.isPowered(anyInt())) in setPluggedIn()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1340 public boolean isPowered(int plugTypeSet) { in isPowered() method in BatteryService.LocalService
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt38080 Landroid/os/BatteryManagerInternal;->isPowered(I)Z
/frameworks/base/services/
Dart-profile954 HSPLcom/android/server/BatteryService$LocalService;->isPowered(I)Z