Home
last modified time | relevance | path

Searched refs:TIP_ORDER (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTip.java75 static final SparseIntArray TIP_ORDER; field in BatteryTip
77 TIP_ORDER = new SparseIntArray();
78 TIP_ORDER.append(TipType.BATTERY_SAVER, 0); in TIP_ORDER.append()
79 TIP_ORDER.append(TipType.LOW_BATTERY, 1); in TIP_ORDER.append()
80 TIP_ORDER.append(TipType.BATTERY_DEFENDER, 2); in TIP_ORDER.append()
81 TIP_ORDER.append(TipType.APP_RESTRICTION, 3); in TIP_ORDER.append()
82 TIP_ORDER.append(TipType.HIGH_DEVICE_USAGE, 4); in TIP_ORDER.append()
83 TIP_ORDER.append(TipType.SUMMARY, 5); in TIP_ORDER.append()
84 TIP_ORDER.append(TipType.SMART_BATTERY_MANAGER, 6); in TIP_ORDER.append()
85 TIP_ORDER.append(TipType.REDUCED_BATTERY, 7); in TIP_ORDER.append()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipLoaderTest.java52 private static final int[] TIP_ORDER = { field in BatteryTipLoaderTest
94 assertThat(batteryTips.size()).isEqualTo(TIP_ORDER.length); in testLoadBackground_containsAllTipsWithOrder()
96 assertThat(batteryTips.get(i).getType()).isEqualTo(TIP_ORDER[i]); in testLoadBackground_containsAllTipsWithOrder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTipTest.java86 for (int i = 0, size = BatteryTip.TIP_ORDER.size(); i < size; i++) { in tipOrder_orderUnique()
87 orders.add(BatteryTip.TIP_ORDER.valueAt(i)); in tipOrder_orderUnique()