Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java51 private int mBatteryStatus = BatteryManager.BATTERY_STATUS_UNKNOWN; field in PowerUI
157 final int oldBatteryStatus = mBatteryStatus; in onReceive()
158 mBatteryStatus = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()
176 Slog.d(TAG, "status " + oldBatteryStatus + " --> " + mBatteryStatus); in onReceive()
197 && mBatteryStatus != BatteryManager.BATTERY_STATUS_UNKNOWN in onReceive()
231 pw.println(Integer.toString(mBatteryStatus)); in dump()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java138 private BatteryStatus mBatteryStatus; field in KeyguardUpdateMonitor
684 mBatteryStatus = new BatteryStatus(BATTERY_STATUS_UNKNOWN, 100, 0, 0); in KeyguardUpdateMonitor()
928 final boolean batteryUpdateInteresting = isBatteryUpdateInteresting(mBatteryStatus, status); in handleBatteryUpdate()
929 mBatteryStatus = status; in handleBatteryUpdate()
1115 callback.onRefreshBatteryInfo(mBatteryStatus); in sendUpdates()