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/
DPowerUI.java78 private int mInvalidCharger = 0; field in PowerUI
234 final int oldInvalidCharger = mInvalidCharger; in onReceive()
235 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0); in onReceive()
251 Slog.d(TAG, "invalidCharger " + oldInvalidCharger + " --> " + mInvalidCharger); in onReceive()
257 if (oldInvalidCharger == 0 && mInvalidCharger != 0) { in onReceive()
261 } else if (oldInvalidCharger != 0 && mInvalidCharger == 0) { in onReceive()
579 pw.println(Integer.toString(mInvalidCharger)); in dump()
DPowerNotificationWarnings.java149 private boolean mInvalidCharger; field in PowerNotificationWarnings
175 pw.print("mInvalidCharger="); pw.println(mInvalidCharger); in dump()
211 + mPlaySound + " mInvalidCharger=" + mInvalidCharger); in updateNotification()
212 if (mInvalidCharger) { in updateNotification()
350 return mInvalidCharger; in isInvalidChargerWarningShowing()
530 if (mInvalidCharger) Slog.i(TAG, "dismissing invalid charger notification"); in dismissInvalidChargerNotification()
531 mInvalidCharger = false; in dismissInvalidChargerNotification()
537 mInvalidCharger = true; in showInvalidChargerWarning()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java164 private int mInvalidCharger; field in BatteryService
227 if (mInvalidCharger != invalidCharger) { in BatteryService()
228 mInvalidCharger = invalidCharger; in BatteryService()
516 mInvalidCharger != mLastInvalidCharger)) { in processValuesLocked()
686 mLastInvalidCharger = mInvalidCharger; in processValuesLocked()
710 intent.putExtra(BatteryManager.EXTRA_INVALID_CHARGER, mInvalidCharger); in sendBatteryChangedIntentLocked()
962 mInvalidCharger = Integer.parseInt(value); in onShellCommand()
1326 return mInvalidCharger; in getInvalidCharger()