Home
last modified time | relevance | path

Searched refs:mBatteryManagerInternal (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java144 private BatteryManagerInternal mBatteryManagerInternal; field in BatterySavingStats
185 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in BatterySavingStats()
200 if (mBatteryManagerInternal == null) { in getBatteryManagerInternal()
201 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in getBatteryManagerInternal()
202 if (mBatteryManagerInternal == null) { in getBatteryManagerInternal()
206 return mBatteryManagerInternal; in getBatteryManagerInternal()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java235 private BatteryManagerInternal mBatteryManagerInternal; field in PowerManagerService
751 mBatteryManagerInternal = getLocalService(BatteryManagerInternal.class); in systemReady()
1669 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in updateIsPoweredLocked()
1670 mPlugType = mBatteryManagerInternal.getPlugType(); in updateIsPoweredLocked()
1671 mBatteryLevel = mBatteryManagerInternal.getBatteryLevel(); in updateIsPoweredLocked()
1672 mBatteryLevelLow = mBatteryManagerInternal.getBatteryLevelLow(); in updateIsPoweredLocked()
1769 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting); in updateStayOnLocked()