Searched refs:isPowered (Results 1 – 8 of 8) 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()
1994 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);2095 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting);
153 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
1357 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
172 when(mBatteryManagerInternalMock.isPowered(anyInt())).thenReturn(false); in setUp()336 when(mBatteryManagerInternalMock.isPowered(anyInt())) in setPluggedIn()
1285 public boolean isPowered(int plugTypeSet) { in isPowered() method in BatteryService.LocalService
1453 HSPLcom/android/server/BatteryService$LocalService;->isPowered(I)Z