Searched refs:BatteryFixSlice (Results 1 – 4 of 4) sorted by relevance
66 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()
31 import com.android.settings.homepage.contextualcards.slices.BatteryFixSlice;137 BatteryFixSlice.updateBatteryTipAvailabilityCache(mContext); in updateBatteryStatus()
61 public class BatteryFixSlice implements CustomSliceable { class86 public BatteryFixSlice(Context context) { in BatteryFixSlice() method in BatteryFixSlice
33 import com.android.settings.homepage.contextualcards.slices.BatteryFixSlice;324 sUriToSlice.put(BATTERY_FIX_SLICE_URI, BatteryFixSlice.class); in sUriToSlice.put()