Home
last modified time | relevance | path

Searched refs:mInvalidCharger (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java93 private boolean mInvalidCharger; field in PowerNotificationWarnings
109 pw.print("mInvalidCharger="); pw.println(mInvalidCharger); in dump()
130 + mPlaySound + " mInvalidCharger=" + mInvalidCharger); in updateNotification()
131 if (mInvalidCharger) { in updateNotification()
209 return mInvalidCharger; in isInvalidChargerWarningShowing()
335 if (mInvalidCharger) Slog.i(TAG, "dismissing invalid charger notification"); in dismissInvalidChargerNotification()
336 mInvalidCharger = false; in dismissInvalidChargerNotification()
342 mInvalidCharger = true; in showInvalidChargerWarning()
DPowerUI.java61 private int mInvalidCharger = 0; field in PowerUI
170 final int oldInvalidCharger = mInvalidCharger; in onReceive()
171 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0); in onReceive()
186 Slog.d(TAG, "invalidCharger " + oldInvalidCharger + " --> " + mInvalidCharger); in onReceive()
192 if (oldInvalidCharger == 0 && mInvalidCharger != 0) { in onReceive()
196 } else if (oldInvalidCharger != 0 && mInvalidCharger == 0) { in onReceive()
342 pw.println(Integer.toString(mInvalidCharger)); in dump()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java129 private int mInvalidCharger; field in BatteryService
174 if (mInvalidCharger != invalidCharger) { in BatteryService()
175 mInvalidCharger = invalidCharger; in BatteryService()
379 mInvalidCharger != mLastInvalidCharger)) { in processValuesLocked()
509 mLastInvalidCharger = mInvalidCharger; in processValuesLocked()
531 intent.putExtra(BatteryManager.EXTRA_INVALID_CHARGER, mInvalidCharger); in sendIntentLocked()
546 ", icon:" + icon + ", invalid charger:" + mInvalidCharger + in sendIntentLocked()
728 mInvalidCharger = Integer.parseInt(value); in onShellCommand()
915 return mInvalidCharger; in getInvalidCharger()