Searched refs:incompatibleCharger (Results 1 – 4 of 4) sorted by relevance
61 public final Optional<Boolean> incompatibleCharger; field in BatteryStatus63 public static BatteryStatus create(Context context, boolean incompatibleCharger) { in create() argument66 ? null : new BatteryStatus(batteryChangedIntent, incompatibleCharger); in create()77 this.incompatibleCharger = Optional.empty(); in BatteryStatus()85 public BatteryStatus(Intent batteryChangedIntent, boolean incompatibleCharger) { in BatteryStatus() argument86 this(batteryChangedIntent, Optional.of(incompatibleCharger)); in BatteryStatus()89 private BatteryStatus(Intent batteryChangedIntent, Optional<Boolean> incompatibleCharger) { in BatteryStatus() argument96 this.incompatibleCharger = incompatibleCharger; in BatteryStatus()
1283 mIncompatibleCharger = status.incompatibleCharger.orElse(false); in onRefreshBatteryInfo()
3519 if (!old.incompatibleCharger.equals(current.incompatibleCharger)) { in isBatteryUpdateInteresting()
1889 assertThat(status.incompatibleCharger.get()).isFalse(); in testBatteryChangedIntent_refreshBatteryInfo()