Searched refs:batteryTips (Results 1 – 5 of 5) sorted by relevance
96 public void updateBatteryTips(List<BatteryTip> batteryTips) { in updateBatteryTips() argument97 if (batteryTips == null) { in updateBatteryTips()100 mBatteryTips = batteryTips; in updateBatteryTips()102 for (int i = 0, size = batteryTips.size(); i < size; i++) { in updateBatteryTips()149 List<BatteryTip> batteryTips = bundle.getParcelableArrayList(KEY_BATTERY_TIPS); in restoreInstanceState() local150 updateBatteryTips(batteryTips); in restoreInstanceState()
90 final List<BatteryTip> batteryTips = mBatteryTipLoader.loadInBackground(); in testLoadBackground_containsAllTipsWithOrder() local92 assertThat(batteryTips.size()).isEqualTo(TIP_ORDER.length); in testLoadBackground_containsAllTipsWithOrder()93 for (int i = 0, size = batteryTips.size(); i < size; i++) { in testLoadBackground_containsAllTipsWithOrder()94 assertThat(batteryTips.get(i).getType()).isEqualTo(TIP_ORDER[i]); in testLoadBackground_containsAllTipsWithOrder()
123 List<BatteryTip> batteryTips = new ArrayList<>(); in handlePreferenceTreeClick_noDialog_invokeCallback() local124 batteryTips.add(mBatteryTip); in handlePreferenceTreeClick_noDialog_invokeCallback()127 mBatteryTipPreferenceController.updateBatteryTips(batteryTips); in handlePreferenceTreeClick_noDialog_invokeCallback()
51 List<BatteryTip> batteryTips, in addBatteryTipDetector() argument54 batteryTips.add(new LowBatteryDetector(context, batteryTipPolicy, batteryInfo).detect()); in addBatteryTipDetector()
44 List<BatteryTip> batteryTips, in addBatteryTipDetector() argument