Home
last modified time | relevance | path

Searched refs:NotForgivenOverusesEntry (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogStorageUnitTest.java810 List<WatchdogStorage.NotForgivenOverusesEntry> expectedOveruses = Arrays.asList( in testForgiveHistoricalOveruses()
811 new WatchdogStorage.NotForgivenOverusesEntry(100, "system_package.non_critical.A", in testForgiveHistoricalOveruses()
813 new WatchdogStorage.NotForgivenOverusesEntry(101, "system_package.non_critical.A", in testForgiveHistoricalOveruses()
815 new WatchdogStorage.NotForgivenOverusesEntry(100, "vendor_package.critical.C", 2), in testForgiveHistoricalOveruses()
816 new WatchdogStorage.NotForgivenOverusesEntry(101, "vendor_package.critical.C", 2)); in testForgiveHistoricalOveruses()
830 new WatchdogStorage.NotForgivenOverusesEntry(101, "system_package.non_critical.A", in testForgiveHistoricalOveruses()
832 new WatchdogStorage.NotForgivenOverusesEntry(100, "vendor_package.critical.C", 2)); in testForgiveHistoricalOveruses()
DWatchdogPerfHandlerUnitTest.java512 doReturn(Arrays.asList(new WatchdogStorage.NotForgivenOverusesEntry(100, in testWriteToDatabaseForSaveIoUsageStatsWithForgive()
2876 doReturn(Arrays.asList(new WatchdogStorage.NotForgivenOverusesEntry(100, in testDisableHistoricalRecurrentlyOverusingApp()
2938 doReturn(Arrays.asList(new WatchdogStorage.NotForgivenOverusesEntry(100, in testDisableHistoricalRecurrentlyOverusingAppAfterDateChange()
3522 doReturn(Arrays.asList(new WatchdogStorage.NotForgivenOverusesEntry(100, in testUserNotificationOnHistoricalRecurrentOveruse()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java391 public List<NotForgivenOverusesEntry> getNotForgivenHistoricalIoOveruses(int numDaysAgo) { in getNotForgivenHistoricalIoOveruses()
401 List<NotForgivenOverusesEntry> notForgivenOverusesEntries = new ArrayList<>(); in getNotForgivenHistoricalIoOveruses()
411 notForgivenOverusesEntries.add(new NotForgivenOverusesEntry(userPackage.userId, in getNotForgivenHistoricalIoOveruses()
840 static final class NotForgivenOverusesEntry { class in WatchdogStorage
845 NotForgivenOverusesEntry(@UserIdInt int userId, in NotForgivenOverusesEntry() method in WatchdogStorage.NotForgivenOverusesEntry
857 if (!(obj instanceof NotForgivenOverusesEntry)) { in equals()
860 NotForgivenOverusesEntry other = (NotForgivenOverusesEntry) obj; in equals()
DWatchdogPerfHandler.java1371 List<WatchdogStorage.NotForgivenOverusesEntry> notForgivenOverusesEntries = in syncHistoricalNotForgivenOveruses()
1377 WatchdogStorage.NotForgivenOverusesEntry entry = notForgivenOverusesEntries.get(i); in syncHistoricalNotForgivenOveruses()