Home
last modified time | relevance | path

Searched refs:BatteryFixSlice (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DBatteryFixSliceTest.java66 private BatteryFixSlice mSlice;
72 mSlice = new BatteryFixSlice(mContext); in setUp()
92 BatteryFixSlice.refreshBatteryTips(mContext); in refreshBatteryTips_hasImportantTip_shouldReturnTrue()
94 assertThat(BatteryFixSlice.isBatteryTipAvailableFromCache(mContext)).isTrue(); in refreshBatteryTips_hasImportantTip_shouldReturnTrue()
110 BatteryFixSlice.refreshBatteryTips(mContext); in getSlice_unimportantSlice_shouldSkip()
126 BatteryFixSlice.refreshBatteryTips(mContext); in getSlice_hasImportantTip_shouldTintIcon()
128 BatteryFixSlice.BatteryTipWorker batteryTipWorker = mock( in getSlice_hasImportantTip_shouldTintIcon()
129 BatteryFixSlice.BatteryTipWorker.class); in getSlice_hasImportantTip_shouldTintIcon()
170 private static BatteryFixSlice.BatteryTipWorker sBatteryTipWorkerWorker;
182 public static void setBatteryTipWorkerWorker(BatteryFixSlice.BatteryTipWorker worker) { in setBatteryTipWorkerWorker()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiver.java31 import com.android.settings.homepage.contextualcards.slices.BatteryFixSlice;
137 BatteryFixSlice.updateBatteryTipAvailabilityCache(mContext); in updateBatteryStatus()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBatteryFixSlice.java61 public class BatteryFixSlice implements CustomSliceable { class
86 public BatteryFixSlice(Context context) { in BatteryFixSlice() method in BatteryFixSlice
/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceRegistry.java33 import com.android.settings.homepage.contextualcards.slices.BatteryFixSlice;
324 sUriToSlice.put(BATTERY_FIX_SLICE_URI, BatteryFixSlice.class); in sUriToSlice.put()