Searched refs:TipType (Results 1 – 17 of 17) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | BatteryTip.java | 55 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 …]
|
D | RestrictAppTip.java | 42 super(TipType.APP_RESTRICTION, state, state == StateType.NEW /* showDialog */); in RestrictAppTip() 48 super(TipType.APP_RESTRICTION, state, state == StateType.NEW /* showDialog */); in RestrictAppTip()
|
D | SmartBatteryTip.java | 30 super(TipType.SMART_BATTERY_MANAGER, state, false /* showDialog */); in SmartBatteryTip()
|
D | UnrestrictAppTip.java | 36 super(TipType.REMOVE_APP_RESTRICTION, state, true /* showDialog */); in UnrestrictAppTip()
|
D | LowBatteryTip.java | 33 super(TipType.LOW_BATTERY, state, false /* showDialog */); in LowBatteryTip()
|
D | IncompatibleChargerTip.java | 39 super(TipType.INCOMPATIBLE_CHARGER, state, /* showDialog */ false); in IncompatibleChargerTip()
|
D | HighUsageTip.java | 40 TipType.HIGH_DEVICE_USAGE, in HighUsageTip()
|
D | BatteryDefenderTip.java | 44 super(TipType.BATTERY_DEFENDER, state, false /* showDialog */); in BatteryDefenderTip()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipUtils.java | 94 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()
|
D | BatteryTipDialogFragment.java | 79 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/ |
D | BatteryTipLoaderTest.java | 53 BatteryTip.TipType.LOW_BATTERY, 54 BatteryTip.TipType.BATTERY_DEFENDER, 55 BatteryTip.TipType.INCOMPATIBLE_CHARGER, 56 BatteryTip.TipType.HIGH_DEVICE_USAGE
|
D | BatteryTipPreferenceControllerTest.java | 18 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/ |
D | UnrestrictAppTipTest.java | 53 assertThat(parcelTip.getType()).isEqualTo(BatteryTip.TipType.REMOVE_APP_RESTRICTION); in testParcelable()
|
D | HighUsageTipTest.java | 77 assertThat(parcelTip.getType()).isEqualTo(BatteryTip.TipType.HIGH_DEVICE_USAGE); in testParcelable()
|
D | BatteryTipTest.java | 118 super(TipType.SUMMARY, StateType.NEW, true); in TestBatteryTip()
|
D | RestrictAppTipTest.java | 124 assertThat(parcelTip.getType()).isEqualTo(BatteryTip.TipType.APP_RESTRICTION); in parcelable()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHeaderPreferenceController.java | 124 } else if (mBatteryTip != null && mBatteryTip.getType() == BatteryTip.TipType.LOW_BATTERY) { in generateLabel()
|