Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java77 SparseArray<AppItem> knownItems = new SparseArray<AppItem>(); in onDataLoaded() local
83 long size = aggregateDataUsage(knownItems, items, entry, profiles); in onDataLoaded()
88 updateRestrictedState(restrictedUids, knownItems, items, profiles); in onDataLoaded()
92 private long aggregateDataUsage(SparseArray<AppItem> knownItems, List<AppItem> items, in aggregateDataUsage() argument
106 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
112 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
119 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
125 long usersLargest = accumulate(managedKey, knownItems, entry, AppItem.CATEGORY_USER, in aggregateDataUsage()
129 long appLargest = accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
145 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java338 final SparseArray<AppItem> knownItems = new SparseArray<AppItem>(); in bindStats() local
352 largest = accumulate(managedKey, knownItems, bucket, in bindStats()
378 largest = accumulate(collapseKey, knownItems, bucket, category, items, largest); in bindStats()
390 AppItem item = knownItems.get(uid); in bindStats()
395 knownItems.put(item.key, item); in bindStats()
453 private static long accumulate(int collapseKey, final SparseArray<AppItem> knownItems, in accumulate() argument
456 AppItem item = knownItems.get(collapseKey); in accumulate()
461 knownItems.put(item.key, item); in accumulate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageList.java335 final SparseArray<AppItem> knownItems = new SparseArray<AppItem>(); in bindStats() local
349 largest = accumulate(managedKey, knownItems, bucket, in bindStats()
375 largest = accumulate(collapseKey, knownItems, bucket, category, items, largest); in bindStats()
387 AppItem item = knownItems.get(uid); in bindStats()
392 knownItems.put(item.key, item); in bindStats()
450 private static long accumulate(int collapseKey, final SparseArray<AppItem> knownItems, in accumulate() argument
453 AppItem item = knownItems.get(collapseKey); in accumulate()
458 knownItems.put(item.key, item); in accumulate()