Home
last modified time | relevance | path

Searched refs:UserPackageDailySummaries (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogStorageUnitTest.java507 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()
DCarWatchdogServiceUnitTest.java1142 ArrayList<WatchdogStorage.UserPackageDailySummaries> summaries = in mockWatchdogStorage()
1146 summaries.add(new WatchdogStorage.UserPackageDailySummaries( in mockWatchdogStorage()
1152 .UserPackageDailySummaries::getTotalWrittenBytes).reversed()); in mockWatchdogStorage()
DWatchdogPerfHandlerUnitTest.java4695 ArrayList<WatchdogStorage.UserPackageDailySummaries> summaries = in mockWatchdogStorage()
4699 summaries.add(new WatchdogStorage.UserPackageDailySummaries( in mockWatchdogStorage()
4705 .UserPackageDailySummaries::getTotalWrittenBytes).reversed()); in mockWatchdogStorage()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java352 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 WatchdogStorage
614 UserPackageDailySummaries(@UserIdInt int userId, String packageName, in UserPackageDailySummaries() method in WatchdogStorage.UserPackageDailySummaries
627 if (!(obj instanceof UserPackageDailySummaries)) { in equals()
630 UserPackageDailySummaries other = (UserPackageDailySummaries) obj; in equals()
DWatchdogPerfHandler.java2271 List<WatchdogStorage.UserPackageDailySummaries> topUsersDailyIoUsageSummaries = in pullUidIoUsageSummaryStatsEvents()
2282 WatchdogStorage.UserPackageDailySummaries entry = in pullUidIoUsageSummaryStatsEvents()
2303 WatchdogStorage.UserPackageDailySummaries entry = topUsersDailyIoUsageSummaries.get(i); in pullUidIoUsageSummaryStatsEvents()