Searched refs:mBatteryManagerInternal (Results 1 – 9 of 9) sorted by relevance
154 private BatteryManagerInternal mBatteryManagerInternal; field in BatterySavingStats193 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in BatterySavingStats()197 if (mBatteryManagerInternal == null) { in getBatteryManagerInternal()198 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in getBatteryManagerInternal()199 if (mBatteryManagerInternal == null) { in getBatteryManagerInternal()203 return mBatteryManagerInternal; in getBatteryManagerInternal()
282 BatteryManagerInternal mBatteryManagerInternal; field in BaseAppStateTracker.Injector303 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in onSystemReady()330 return mBatteryManagerInternal; in getBatteryManagerInternal()
263 private BatteryManagerInternal mBatteryManagerInternal; field in BatteryStatsService668 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in systemServicesReady()3691 mBatteryManagerInternal.setChargerAcOnline(online, forceUpdate); in setChargerAcOnline()3702 mBatteryManagerInternal.setBatteryLevel(level, forceUpdate); in setBatteryLevel()3713 mBatteryManagerInternal.unplugBattery(forceUpdate); in unplugBattery()3724 mBatteryManagerInternal.resetBattery(forceUpdate); in resetBattery()3735 mBatteryManagerInternal.suspendBatteryInput(); in suspendBatteryInput()
68 private BatteryManagerInternal mBatteryManagerInternal; field in BatteryControllerTest89 doReturn(mBatteryManagerInternal) in setUp()
122 private final BatteryManagerInternal mBatteryManagerInternal; field in DreamManagerService192 mIsCharging = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);262 mBatteryManagerInternal = getLocalService(BatteryManagerInternal.class); in DreamManagerService()264 mBatteryManagerInternal = null; in DreamManagerService()
121 private BatteryManagerInternal mBatteryManagerInternal; field in JobSchedulerServiceTest158 doReturn(mBatteryManagerInternal) in setUp()215 verify(mBatteryManagerInternal).registerChargingPolicyChangeListener( in setUp()2500 doReturn(level).when(mBatteryManagerInternal).getBatteryLevel();2506 doReturn(policy).when(mBatteryManagerInternal).getChargingPolicy();
4248 private final BatteryManagerInternal mBatteryManagerInternal;4272 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class);4289 mBatteryManagerInternal.registerChargingPolicyChangeListener(this);4292 mBatteryLevel = mBatteryManagerInternal.getBatteryLevel();4293 mBatteryNotLow = !mBatteryManagerInternal.getBatteryLevelLow();4294 mCharging = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);4295 mChargingPolicy = mBatteryManagerInternal.getChargingPolicy();4394 mBatteryLevel = mBatteryManagerInternal.getBatteryLevel();
343 private BatteryManagerInternal mBatteryManagerInternal; field in PowerManagerService1365 mBatteryManagerInternal = getLocalService(BatteryManagerInternal.class);2616 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);2617 mPlugType = mBatteryManagerInternal.getPlugType();2619 mBatteryLevel = mBatteryManagerInternal.getBatteryLevel();2620 mBatteryLevelLow = mBatteryManagerInternal.getBatteryLevelLow();2621 final boolean isOverheat = mBatteryManagerInternal.getBatteryHealth()2740 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting);
286 @Mock private BatteryManagerInternal mBatteryManagerInternal; field in BackgroundRestrictionTest394 doReturn(BATTERY_FULL_CHARGE_MAH * 1000).when(mBatteryManagerInternal) in initController()3386 return BackgroundRestrictionTest.this.mBatteryManagerInternal; in getBatteryManagerInternal()