Home
last modified time | relevance | path

Searched refs:TipType (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTip.java55 TipType.SUMMARY,
56 TipType.BATTERY_SAVER,
57 TipType.HIGH_DEVICE_USAGE,
58 TipType.SMART_BATTERY_MANAGER,
59 TipType.APP_RESTRICTION,
60 TipType.REDUCED_BATTERY,
61 TipType.LOW_BATTERY,
62 TipType.REMOVE_APP_RESTRICTION,
63 TipType.BATTERY_DEFENDER,
64 TipType.DOCK_DEFENDER,
[all …]
DRestrictAppTip.java42 super(TipType.APP_RESTRICTION, state, state == StateType.NEW /* showDialog */); in RestrictAppTip()
48 super(TipType.APP_RESTRICTION, state, state == StateType.NEW /* showDialog */); in RestrictAppTip()
DSmartBatteryTip.java30 super(TipType.SMART_BATTERY_MANAGER, state, false /* showDialog */); in SmartBatteryTip()
DUnrestrictAppTip.java36 super(TipType.REMOVE_APP_RESTRICTION, state, true /* showDialog */); in UnrestrictAppTip()
DLowBatteryTip.java33 super(TipType.LOW_BATTERY, state, false /* showDialog */); in LowBatteryTip()
DIncompatibleChargerTip.java39 super(TipType.INCOMPATIBLE_CHARGER, state, /* showDialog */ false); in IncompatibleChargerTip()
DHighUsageTip.java40 TipType.HIGH_DEVICE_USAGE, in HighUsageTip()
DBatteryDefenderTip.java44 super(TipType.BATTERY_DEFENDER, state, false /* showDialog */); in BatteryDefenderTip()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java94 case BatteryTip.TipType.SMART_BATTERY_MANAGER: in getActionForBatteryTip()
96 case BatteryTip.TipType.BATTERY_SAVER: in getActionForBatteryTip()
97 case BatteryTip.TipType.LOW_BATTERY: in getActionForBatteryTip()
99 case BatteryTip.TipType.APP_RESTRICTION: in getActionForBatteryTip()
105 case BatteryTip.TipType.REMOVE_APP_RESTRICTION: in getActionForBatteryTip()
DBatteryTipDialogFragment.java79 case BatteryTip.TipType.SUMMARY: in onCreateDialog()
84 case BatteryTip.TipType.HIGH_DEVICE_USAGE: in onCreateDialog()
100 case BatteryTip.TipType.APP_RESTRICTION: in onCreateDialog()
139 case BatteryTip.TipType.REMOVE_APP_RESTRICTION: in onCreateDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipLoaderTest.java53 BatteryTip.TipType.LOW_BATTERY,
54 BatteryTip.TipType.BATTERY_DEFENDER,
55 BatteryTip.TipType.INCOMPATIBLE_CHARGER,
56 BatteryTip.TipType.HIGH_DEVICE_USAGE
DBatteryTipPreferenceControllerTest.java18 import static com.android.settings.fuelgauge.batterytip.tips.BatteryTip.TipType.SMART_BATTERY_MANAG…
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
DUnrestrictAppTipTest.java53 assertThat(parcelTip.getType()).isEqualTo(BatteryTip.TipType.REMOVE_APP_RESTRICTION); in testParcelable()
DHighUsageTipTest.java77 assertThat(parcelTip.getType()).isEqualTo(BatteryTip.TipType.HIGH_DEVICE_USAGE); in testParcelable()
DBatteryTipTest.java118 super(TipType.SUMMARY, StateType.NEW, true); in TestBatteryTip()
DRestrictAppTipTest.java124 assertThat(parcelTip.getType()).isEqualTo(BatteryTip.TipType.APP_RESTRICTION); in parcelable()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceController.java124 } else if (mBatteryTip != null && mBatteryTip.getType() == BatteryTip.TipType.LOW_BATTERY) { in generateLabel()