Home
last modified time | relevance | path

Searched refs:incompatibleCharger (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java61 public final Optional<Boolean> incompatibleCharger; field in BatteryStatus
63 public static BatteryStatus create(Context context, boolean incompatibleCharger) { in create() argument
66 ? null : new BatteryStatus(batteryChangedIntent, incompatibleCharger); in create()
77 this.incompatibleCharger = Optional.empty(); in BatteryStatus()
85 public BatteryStatus(Intent batteryChangedIntent, boolean incompatibleCharger) { in BatteryStatus() argument
86 this(batteryChangedIntent, Optional.of(incompatibleCharger)); in BatteryStatus()
89 private BatteryStatus(Intent batteryChangedIntent, Optional<Boolean> incompatibleCharger) { in BatteryStatus() argument
96 this.incompatibleCharger = incompatibleCharger; in BatteryStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java1283 mIncompatibleCharger = status.incompatibleCharger.orElse(false); in onRefreshBatteryInfo()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java3519 if (!old.incompatibleCharger.equals(current.incompatibleCharger)) { in isBatteryUpdateInteresting()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java1889 assertThat(status.incompatibleCharger.get()).isFalse(); in testBatteryChangedIntent_refreshBatteryInfo()