HomeSort by relevance Sort by last modified time
    Searched refs:usageList (Results 1 - 4 of 4) sorted by null

  /packages/apps/Settings/src/com/android/settings/applications/appinfo/
AppBatteryPreferenceController.java 152 final List<BatterySipper> usageList = new ArrayList<>(mBatteryHelper.getUsageList());
153 final double hiddenAmount = mBatteryUtils.removeHiddenBatterySippers(usageList);
171 final List<BatterySipper> usageList = batteryHelper.getUsageList();
172 for (int i = 0, size = usageList.size(); i < size; i++) {
173 final BatterySipper sipper = usageList.get(i);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
AppBatteryPreferenceControllerTest.java 121 final List<BatterySipper> usageList = new ArrayList<>();
122 usageList.add(mBatterySipper);
123 usageList.add(mOtherBatterySipper);
124 when(mBatteryStatsHelper.getUsageList()).thenReturn(usageList);
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryAppListPreferenceController.java 209 final List<BatterySipper> usageList = getCoalescedUsageList(
212 mBatteryUtils.removeHiddenBatterySippers(usageList);
213 mBatteryUtils.sortUsageList(usageList);
215 final int numSippers = usageList.size();
217 final BatterySipper sipper = usageList.get(i);
BatteryUtils.java 340 * Sort the {@code usageList} based on {@link BatterySipper#totalPowerMah}
342 public void sortUsageList(List<BatterySipper> usageList) {
343 Collections.sort(usageList, new Comparator<BatterySipper>() {
468 public BatterySipper findBatterySipperByType(List<BatterySipper> usageList,
470 for (int i = 0, size = usageList.size(); i < size; i++) {
471 final BatterySipper sipper = usageList.get(i);

Completed in 423 milliseconds