Searched refs:UserPackageDailySummaries (Results 1 – 5 of 5) sorted by relevance
507 List<WatchdogStorage.UserPackageDailySummaries> actual = in testGetTopUsersDailyIoUsageSummaries()533 List<WatchdogStorage.UserPackageDailySummaries> expected = Arrays.asList( in testGetTopUsersDailyIoUsageSummaries()534 new WatchdogStorage.UserPackageDailySummaries(/* userId= */ 101, in testGetTopUsersDailyIoUsageSummaries()536 new WatchdogStorage.UserPackageDailySummaries(/* userId= */ 100, in testGetTopUsersDailyIoUsageSummaries()538 new WatchdogStorage.UserPackageDailySummaries(/* userId= */ 101, in testGetTopUsersDailyIoUsageSummaries()563 List<WatchdogStorage.UserPackageDailySummaries> actual = in testGetTopUsersDailyIoUsageSummariesWithLowSystemTotalWrittenBytes()589 List<WatchdogStorage.UserPackageDailySummaries> actual = in testGetTopUsersDailyIoUsageSummariesWithoutStats()
1142 ArrayList<WatchdogStorage.UserPackageDailySummaries> summaries = in mockWatchdogStorage()1146 summaries.add(new WatchdogStorage.UserPackageDailySummaries( in mockWatchdogStorage()1152 .UserPackageDailySummaries::getTotalWrittenBytes).reversed()); in mockWatchdogStorage()
4695 ArrayList<WatchdogStorage.UserPackageDailySummaries> summaries = in mockWatchdogStorage()4699 summaries.add(new WatchdogStorage.UserPackageDailySummaries( in mockWatchdogStorage()4705 .UserPackageDailySummaries::getTotalWrittenBytes).reversed()); in mockWatchdogStorage()
352 public @Nullable List<UserPackageDailySummaries> getTopUsersDailyIoUsageSummaries( in getTopUsersDailyIoUsageSummaries()367 ArrayList<UserPackageDailySummaries> userPackageDailySummaries = new ArrayList<>(); in getTopUsersDailyIoUsageSummaries()377 userPackageDailySummaries.add(new UserPackageDailySummaries(userPackage.userId, in getTopUsersDailyIoUsageSummaries()381 .sort(Comparator.comparingLong(UserPackageDailySummaries::getTotalWrittenBytes) in getTopUsersDailyIoUsageSummaries()608 static final class UserPackageDailySummaries { class in WatchdogStorage614 UserPackageDailySummaries(@UserIdInt int userId, String packageName, in UserPackageDailySummaries() method in WatchdogStorage.UserPackageDailySummaries627 if (!(obj instanceof UserPackageDailySummaries)) { in equals()630 UserPackageDailySummaries other = (UserPackageDailySummaries) obj; in equals()
2271 List<WatchdogStorage.UserPackageDailySummaries> topUsersDailyIoUsageSummaries = in pullUidIoUsageSummaryStatsEvents()2282 WatchdogStorage.UserPackageDailySummaries entry = in pullUidIoUsageSummaryStatsEvents()2303 WatchdogStorage.UserPackageDailySummaries entry = topUsersDailyIoUsageSummaries.get(i); in pullUidIoUsageSummaryStatsEvents()