Searched refs:ioUsageStatsEntries (Results 1 – 5 of 5) sorted by relevance
328 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = sampleStatsForToday(); in testGetHistoricalIoOveruseStats() local330 .that(mService.saveIoUsageStats(ioUsageStatsEntries)) in testGetHistoricalIoOveruseStats()331 .isEqualTo(ioUsageStatsEntries.size()); in testGetHistoricalIoOveruseStats()372 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = sampleStatsForToday(); in testGetHistoricalIoOveruseStatsWithNoRecentStats() local374 .that(mService.saveIoUsageStats(ioUsageStatsEntries)) in testGetHistoricalIoOveruseStatsWithNoRecentStats()375 .isEqualTo(ioUsageStatsEntries.size()); in testGetHistoricalIoOveruseStatsWithNoRecentStats()604 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = sampleStatsForToday(); in testDeleteUserPackage() local607 assertThat(mService.saveIoUsageStats(ioUsageStatsEntries)) in testDeleteUserPackage()608 .isEqualTo(ioUsageStatsEntries.size()); in testDeleteUserPackage()621 ioUsageStatsEntries.removeIf( in testDeleteUserPackage()[all …]
59 Iterable<WatchdogStorage.IoUsageStatsEntry>> ioUsageStatsEntries() { in ioUsageStatsEntries() method in IoUsageStatsEntrySubject
1125 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = Arrays.asList( in testAsyncFetchTodayIoUsageStats() local1142 when(mSpiedWatchdogStorage.getTodayIoUsageStats()).thenReturn(ioUsageStatsEntries); in testAsyncFetchTodayIoUsageStats()1171 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = Arrays.asList( in testAsyncFetchTodayIoUsageStatsWithDaemonRemoteException() local1188 when(mSpiedWatchdogStorage.getTodayIoUsageStats()).thenReturn(ioUsageStatsEntries); in testAsyncFetchTodayIoUsageStatsWithDaemonRemoteException()1200 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = Arrays.asList( in testGetTodayIoUsageStats() local1217 when(mSpiedWatchdogStorage.getTodayIoUsageStats()).thenReturn(ioUsageStatsEntries); in testGetTodayIoUsageStats()4669 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = args.getArgument(0); in mockWatchdogStorage() local4670 for (WatchdogStorage.IoUsageStatsEntry entry : ioUsageStatsEntries) { in mockWatchdogStorage()4679 return ioUsageStatsEntries.size(); in mockWatchdogStorage()
1116 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = args.getArgument(0); in mockWatchdogStorage() local1117 for (WatchdogStorage.IoUsageStatsEntry entry : ioUsageStatsEntries) { in mockWatchdogStorage()1126 return ioUsageStatsEntries.size(); in mockWatchdogStorage()
1401 List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries = new ArrayList<>(); in writeToDatabase() local1420 ioUsageStatsEntries.add(new WatchdogStorage.IoUsageStatsEntry(usage.userId, in writeToDatabase()1441 if (writeStats(ioUsageStatsEntries, forgivePackagesByUserId) in writeToDatabase()1456 private boolean writeStats(List<WatchdogStorage.IoUsageStatsEntry> ioUsageStatsEntries, in writeStats() argument1466 if (ioUsageStatsEntries.isEmpty()) { in writeStats()1469 int result = mWatchdogStorage.saveIoUsageStats(ioUsageStatsEntries); in writeStats()1472 ioUsageStatsEntries.size()); in writeStats()1475 result, ioUsageStatsEntries.size()); in writeStats()