/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | BatteryTip.java | 53 @IntDef({TipType.SUMMARY, 54 TipType.BATTERY_SAVER, 55 TipType.HIGH_DEVICE_USAGE, 56 TipType.SMART_BATTERY_MANAGER, 57 TipType.APP_RESTRICTION, 58 TipType.REDUCED_BATTERY, 59 TipType.LOW_BATTERY, 60 TipType.REMOVE_APP_RESTRICTION, 61 TipType.BATTERY_DEFENDER}) 62 public @interface TipType { annotation in BatteryTip [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 | 32 super(TipType.SMART_BATTERY_MANAGER, state, false /* showDialog */); in SmartBatteryTip()
|
D | LowBatteryTip.java | 34 mType = TipType.LOW_BATTERY; in LowBatteryTip()
|
D | BatteryDefenderTip.java | 32 super(TipType.BATTERY_DEFENDER, state, false /* showDialog */); in BatteryDefenderTip()
|
D | UnrestrictAppTip.java | 35 super(TipType.REMOVE_APP_RESTRICTION, state, true /* showDialog */); in UnrestrictAppTip()
|
D | SummaryTip.java | 37 super(TipType.SUMMARY, state, true /* showDialog */); in SummaryTip()
|
D | EarlyWarningTip.java | 33 super(TipType.BATTERY_SAVER, state, false /* showDialog */); in EarlyWarningTip()
|
D | HighUsageTip.java | 42 super(TipType.HIGH_DEVICE_USAGE, appList.isEmpty() ? StateType.INVISIBLE : StateType.NEW, in HighUsageTip()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipUtils.java | 97 case BatteryTip.TipType.SMART_BATTERY_MANAGER: in getActionForBatteryTip() 99 case BatteryTip.TipType.BATTERY_SAVER: in getActionForBatteryTip() 100 case BatteryTip.TipType.LOW_BATTERY: in getActionForBatteryTip() 102 case BatteryTip.TipType.APP_RESTRICTION: in getActionForBatteryTip() 108 case BatteryTip.TipType.REMOVE_APP_RESTRICTION: in getActionForBatteryTip() 110 case BatteryTip.TipType.BATTERY_DEFENDER: in getActionForBatteryTip()
|
D | BatteryTipDialogFragment.java | 79 case BatteryTip.TipType.SUMMARY: in onCreateDialog() 84 case BatteryTip.TipType.HIGH_DEVICE_USAGE: in onCreateDialog() 99 case BatteryTip.TipType.APP_RESTRICTION: in onCreateDialog() 130 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.BATTERY_SAVER, 54 BatteryTip.TipType.LOW_BATTERY, 55 BatteryTip.TipType.BATTERY_DEFENDER, 56 BatteryTip.TipType.HIGH_DEVICE_USAGE, 57 BatteryTip.TipType.SMART_BATTERY_MANAGER};
|
D | BatteryTipPreferenceControllerTest.java | 18 import static com.android.settings.fuelgauge.batterytip.tips.BatteryTip.TipType 146 BatteryTip.TipType.SUMMARY); in testGetCurrentBatteryTip_tipsVisible_returnTips()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | BatteryFixSlice.java | 74 UNIMPORTANT_BATTERY_TIPS.put(BatteryTip.TipType.SUMMARY, in UNIMPORTANT_BATTERY_TIPS.put() 76 UNIMPORTANT_BATTERY_TIPS.put(BatteryTip.TipType.HIGH_DEVICE_USAGE, in UNIMPORTANT_BATTERY_TIPS.put() 78 UNIMPORTANT_BATTERY_TIPS.put(BatteryTip.TipType.BATTERY_SAVER, in UNIMPORTANT_BATTERY_TIPS.put() 195 final int type = prefs.getInt(KEY_CURRENT_TIPS_TYPE, BatteryTip.TipType.SUMMARY); in isBatteryTipAvailableFromCache()
|
/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 | 103 super(TipType.SUMMARY, StateType.NEW, true); in TestBatteryTip()
|
D | RestrictAppTipTest.java | 119 assertThat(parcelTip.getType()).isEqualTo(BatteryTip.TipType.APP_RESTRICTION); in parcelable()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHeaderPreferenceController.java | 129 && mBatteryTip.getType() == BatteryTip.TipType.LOW_BATTERY) { in generateLabel()
|