Searched refs:EarlyWarningTip (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | EarlyWarningTipTest.java | 43 private EarlyWarningTip mEarlyWarningTip; 51 new EarlyWarningTip(BatteryTip.StateType.NEW, false /* powerSaveModeOn */); in setUp() 60 final EarlyWarningTip parcelTip = new EarlyWarningTip(parcel); in testParcelable() 67 final EarlyWarningTip tip = in testInfo_stateNew_displayPowerModeInfo() 68 new EarlyWarningTip(BatteryTip.StateType.NEW, false /* powerModeOn */); in testInfo_stateNew_displayPowerModeInfo() 78 final EarlyWarningTip tip = in testInfo_stateHandled_displayPowerModeHandledInfo() 79 new EarlyWarningTip(BatteryTip.StateType.HANDLED, false /* powerModeOn */); in testInfo_stateHandled_displayPowerModeHandledInfo() 89 final EarlyWarningTip nextTip = in testUpdate_powerModeTurnedOn_typeBecomeHandled() 90 new EarlyWarningTip(BatteryTip.StateType.INVISIBLE, true /* powerModeOn */); in testUpdate_powerModeTurnedOn_typeBecomeHandled() 99 final EarlyWarningTip nextTip = new EarlyWarningTip(BatteryTip.StateType.INVISIBLE, in testUpdate_devicePluggedIn_typeBecomeInvisible() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/ |
D | EarlyWarningTip.java | 30 public class EarlyWarningTip extends BatteryTip { class 33 public EarlyWarningTip(@StateType int state, boolean powerSaveModeOn) { in EarlyWarningTip() method in EarlyWarningTip 38 public EarlyWarningTip(Parcel in) { in EarlyWarningTip() method in EarlyWarningTip 75 final EarlyWarningTip earlyWarningTip = (EarlyWarningTip) tip; in updateState() 106 return new EarlyWarningTip(in); 110 return new EarlyWarningTip[size];
|
D | LowBatteryTip.java | 30 public class LowBatteryTip extends EarlyWarningTip {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | EarlyWarningTip.java | 30 public class EarlyWarningTip extends BatteryTip { class 33 public EarlyWarningTip(@StateType int state, boolean powerSaveModeOn) { in EarlyWarningTip() method in EarlyWarningTip 38 public EarlyWarningTip(Parcel in) { in EarlyWarningTip() method in EarlyWarningTip 75 final EarlyWarningTip earlyWarningTip = (EarlyWarningTip) tip; in updateState() 106 return new EarlyWarningTip(in); 110 return new EarlyWarningTip[size];
|
D | LowBatteryTip.java | 30 public class LowBatteryTip extends EarlyWarningTip {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | BatteryFixSliceTest.java | 37 import com.android.settings.fuelgauge.batterytip.tips.EarlyWarningTip; 87 tips.add(new EarlyWarningTip(BatteryTip.StateType.NEW, false)); in updateBatteryTipAvailabilityCache_hasImportantTip_shouldReturnTrue() 99 tips.add(new EarlyWarningTip(BatteryTip.StateType.HANDLED, false)); in getSlice_unimportantSlice_shouldSkip() 115 tips.add(new EarlyWarningTip(BatteryTip.StateType.NEW, false)); in getSlice_hasImportantTip_shouldTintIcon() 179 @Implements(EarlyWarningTip.class)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipUtilsTest.java | 31 import com.android.settings.fuelgauge.batterytip.tips.EarlyWarningTip; 54 private EarlyWarningTip mEarlyWarningTip; 66 new EarlyWarningTip(BatteryTip.StateType.NEW, true /* powerSaveModeOn */)); in setUp()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | EarlyWarningDetector.java | 28 import com.android.settings.fuelgauge.batterytip.tips.EarlyWarningTip; 63 return new EarlyWarningTip(state, powerSaveModeOn); in detect()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/ |
D | EarlyWarningDetector.java | 28 import com.android.car.developeroptions.fuelgauge.batterytip.tips.EarlyWarningTip; 63 return new EarlyWarningTip(state, powerSaveModeOn); in detect()
|