Searched refs:knownItems (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | AppDataUsagePreferenceController.java | 75 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageList.java | 335 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()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageList.java | 360 final SparseArray<AppItem> knownItems = new SparseArray<AppItem>(); in bindStats() local 374 largest = accumulate(managedKey, knownItems, bucket, in bindStats() 400 largest = accumulate(collapseKey, knownItems, bucket, category, items, largest); in bindStats() 412 AppItem item = knownItems.get(uid); in bindStats() 417 knownItems.put(item.key, item); in bindStats() 475 private static long accumulate(int collapseKey, final SparseArray<AppItem> knownItems, in accumulate() argument 478 AppItem item = knownItems.get(collapseKey); in accumulate() 483 knownItems.put(item.key, item); in accumulate()
|