Home
last modified time | relevance | path

Searched refs:knownItems (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java75 SparseArray<AppItem> knownItems = new SparseArray<>(); in onDataLoaded() local
81 long size = aggregateDataUsage(knownItems, items, entry, profiles); in onDataLoaded()
86 updateRestrictedState(restrictedUids, knownItems, items, profiles); in onDataLoaded()
90 private long aggregateDataUsage(SparseArray<AppItem> knownItems, List<AppItem> items, in aggregateDataUsage() argument
104 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
110 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
117 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
123 long usersLargest = accumulate(managedKey, knownItems, entry, AppItem.CATEGORY_USER, in aggregateDataUsage()
127 long appLargest = accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
143 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java372 final SparseArray<AppItem> knownItems = new SparseArray<AppItem>(); in bindStats() local
386 largest = accumulate(managedKey, knownItems, bucket, in bindStats()
412 largest = accumulate(collapseKey, knownItems, bucket, category, items, largest); in bindStats()
424 AppItem item = knownItems.get(uid); in bindStats()
429 knownItems.put(item.key, item); in bindStats()
487 private static long accumulate(int collapseKey, final SparseArray<AppItem> knownItems, in accumulate() argument
490 AppItem item = knownItems.get(collapseKey); in accumulate()
495 knownItems.put(item.key, item); in accumulate()