Searched refs:NotForgivenOverusesEntry (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | WatchdogStorageUnitTest.java | 810 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()
|
D | WatchdogPerfHandlerUnitTest.java | 512 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/ |
D | WatchdogStorage.java | 391 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()
|
D | WatchdogPerfHandler.java | 1371 List<WatchdogStorage.NotForgivenOverusesEntry> notForgivenOverusesEntries = in syncHistoricalNotForgivenOveruses() 1377 WatchdogStorage.NotForgivenOverusesEntry entry = notForgivenOverusesEntries.get(i); in syncHistoricalNotForgivenOveruses()
|