Home
last modified time | relevance | path

Searched refs:isIncompatibleCharging (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java284 boolean isIncompatibleCharging = Utils.containsIncompatibleChargers(mContext, TAG); in onReceive()
285 if (isIncompatibleCharging != mIsIncompatibleCharging) { in onReceive()
286 mIsIncompatibleCharging = isIncompatibleCharging; in onReceive()
366 public boolean isIncompatibleCharging() { in isIncompatibleCharging() method in BatteryControllerImpl
DBatteryController.java165 default void onIsIncompatibleChargingChanged(boolean isIncompatibleCharging) { in onIsIncompatibleChargingChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterViewController.java106 public void onIsIncompatibleChargingChanged(boolean isIncompatibleCharging) {
108 mView.onIsIncompatibleChargingChanged(isIncompatibleCharging);
DBatteryMeterView.java355 void onIsIncompatibleChargingChanged(boolean isIncompatibleCharging) { in onIsIncompatibleChargingChanged() argument
356 boolean valueChanged = mIsIncompatibleCharging != isIncompatibleCharging; in onIsIncompatibleChargingChanged()
357 mIsIncompatibleCharging = isIncompatibleCharging; in onIsIncompatibleChargingChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java278 Assert.assertTrue(mBatteryController.isIncompatibleCharging()); in complianceChanged_complianceIncompatible_outputsTrue()
290 Assert.assertFalse(mBatteryController.isIncompatibleCharging()); in complianceChanged_emptyComplianceWarnings_outputsFalse()