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.java62 private int mInvalidCharger = 0; field in PowerUI
176 final int oldInvalidCharger = mInvalidCharger; in onReceive()
177 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0); in onReceive()
192 Slog.d(TAG, "invalidCharger " + oldInvalidCharger + " --> " + mInvalidCharger); in onReceive()
198 if (oldInvalidCharger == 0 && mInvalidCharger != 0) { in onReceive()
202 } else if (oldInvalidCharger != 0 && mInvalidCharger == 0) { in onReceive()
355 pw.println(Integer.toString(mInvalidCharger)); in dump()
DPowerNotificationWarnings.java101 private boolean mInvalidCharger; field in PowerNotificationWarnings
119 pw.print("mInvalidCharger="); pw.println(mInvalidCharger); in dump()
142 + mPlaySound + " mInvalidCharger=" + mInvalidCharger); in updateNotification()
143 if (mInvalidCharger) { in updateNotification()
219 return mInvalidCharger; in isInvalidChargerWarningShowing()
381 if (mInvalidCharger) Slog.i(TAG, "dismissing invalid charger notification"); in dismissInvalidChargerNotification()
382 mInvalidCharger = false; in dismissInvalidChargerNotification()
388 mInvalidCharger = true; in showInvalidChargerWarning()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java136 private int mInvalidCharger; field in BatteryService
184 if (mInvalidCharger != invalidCharger) { in BatteryService()
185 mInvalidCharger = invalidCharger; in BatteryService()
391 mInvalidCharger != mLastInvalidCharger)) { in processValuesLocked()
531 mLastInvalidCharger = mInvalidCharger; in processValuesLocked()
554 intent.putExtra(BatteryManager.EXTRA_INVALID_CHARGER, mInvalidCharger); in sendIntentLocked()
569 ", icon:" + icon + ", invalid charger:" + mInvalidCharger + in sendIntentLocked()
775 mInvalidCharger = Integer.parseInt(value); in onShellCommand()
997 return mInvalidCharger; in getInvalidCharger()