Searched refs:isPowered (Results 1 – 11 of 11) 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()
2198 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);2301 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting);
158 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()
156 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
1034 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking()
1857 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);
183 when(mBatteryManagerInternalMock.isPowered(anyInt())).thenReturn(false); in setUp()350 when(mBatteryManagerInternalMock.isPowered(anyInt())) in setPluggedIn()
1340 public boolean isPowered(int plugTypeSet) { in isPowered() method in BatteryService.LocalService
38080 Landroid/os/BatteryManagerInternal;->isPowered(I)Z
954 HSPLcom/android/server/BatteryService$LocalService;->isPowered(I)Z