Searched refs:usageList (Results 1 – 7 of 7) sorted by relevance
150 final List<BatterySipper> usageList = new ArrayList<>(mBatteryHelper.getUsageList()); in updateBattery() local151 final double hiddenAmount = mBatteryUtils.removeHiddenBatterySippers(usageList); in updateBattery()169 final List<BatterySipper> usageList = batteryHelper.getUsageList(); in findTargetSipper() local170 for (int i = 0, size = usageList.size(); i < size; i++) { in findTargetSipper()171 final BatterySipper sipper = usageList.get(i); in findTargetSipper()
123 final List<BatterySipper> usageList = new ArrayList<>(); in findTargetSipper_findCorrectSipper() local124 usageList.add(mBatterySipper); in findTargetSipper_findCorrectSipper()125 usageList.add(mOtherBatterySipper); in findTargetSipper_findCorrectSipper()126 when(mBatteryStatsHelper.getUsageList()).thenReturn(usageList); in findTargetSipper_findCorrectSipper()
190 final List<BatterySipper> usageList = getCoalescedUsageList( in refreshAppListGroup() local193 mBatteryUtils.removeHiddenBatterySippers(usageList); in refreshAppListGroup()194 mBatteryUtils.sortUsageList(usageList); in refreshAppListGroup()196 final int numSippers = usageList.size(); in refreshAppListGroup()198 final BatterySipper sipper = usageList.get(i); in refreshAppListGroup()
368 public void sortUsageList(List<BatterySipper> usageList) { in sortUsageList() argument369 Collections.sort(usageList, new Comparator<BatterySipper>() { in sortUsageList()516 public BatterySipper findBatterySipperByType(List<BatterySipper> usageList, in findBatterySipperByType() argument518 for (int i = 0, size = usageList.size(); i < size; i++) { in findBatterySipperByType()519 final BatterySipper sipper = usageList.get(i); in findBatterySipperByType()
341 public void sortUsageList(List<BatterySipper> usageList) { in sortUsageList() argument342 Collections.sort(usageList, new Comparator<BatterySipper>() { in sortUsageList()477 public BatterySipper findBatterySipperByType(List<BatterySipper> usageList, in findBatterySipperByType() argument479 for (int i = 0, size = usageList.size(); i < size; i++) { in findBatterySipperByType()480 final BatterySipper sipper = usageList.get(i); in findBatterySipperByType()