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.java87 private int mInvalidCharger = 0; field in PowerUI
270 final int oldInvalidCharger = mInvalidCharger; in onReceive()
271 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0); in onReceive()
287 Slog.d(TAG, "invalidCharger " + oldInvalidCharger + " --> " + mInvalidCharger); in onReceive()
293 if (oldInvalidCharger == 0 && mInvalidCharger != 0) { in onReceive()
297 } else if (oldInvalidCharger != 0 && mInvalidCharger == 0) { in onReceive()
636 pw.println(Integer.toString(mInvalidCharger)); in dump()
DPowerNotificationWarnings.java152 private boolean mInvalidCharger; field in PowerNotificationWarnings
178 pw.print("mInvalidCharger="); pw.println(mInvalidCharger); in dump()
214 + mPlaySound + " mInvalidCharger=" + mInvalidCharger); in updateNotification()
215 if (mInvalidCharger) { in updateNotification()
359 return mInvalidCharger; in isInvalidChargerWarningShowing()
577 if (mInvalidCharger) Slog.i(TAG, "dismissing invalid charger notification"); in dismissInvalidChargerNotification()
578 mInvalidCharger = false; in dismissInvalidChargerNotification()
584 mInvalidCharger = true; in showInvalidChargerWarning()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java167 private int mInvalidCharger; field in BatteryService
231 if (mInvalidCharger != invalidCharger) { in BatteryService()
232 mInvalidCharger = invalidCharger; in BatteryService()
530 mInvalidCharger != mLastInvalidCharger)) { in processValuesLocked()
700 mLastInvalidCharger = mInvalidCharger; in processValuesLocked()
724 intent.putExtra(BatteryManager.EXTRA_INVALID_CHARGER, mInvalidCharger); in sendBatteryChangedIntentLocked()
970 mInvalidCharger = Integer.parseInt(value); in onShellCommand()
1384 return mInvalidCharger; in getInvalidCharger()