Searched refs:saveIoUsageStats (Results 1 – 5 of 5) sorted by relevance
200 .that(mService.saveIoUsageStats(sampleStatsForDate(startTime, /* duration= */ 60))) in testSaveAndGetIoOveruseStats()223 .that(mService.saveIoUsageStats(entries)).isEqualTo(entries.size()); in testSaveAndGetIoOveruseStatsWithOffsettedStartTime()257 .that(mService.saveIoUsageStats(statsBeforeOverwrite)) in testOverwriteIoOveruseStats()277 .that(mService.saveIoUsageStats(statsAfterOverwrite)) in testOverwriteIoOveruseStats()305 .that(mService.saveIoUsageStats(sampleStatsBetweenDates( in testSaveIoOveruseStatsOutsideRetentionPeriod()330 .that(mService.saveIoUsageStats(ioUsageStatsEntries)) in testGetHistoricalIoOveruseStats()374 .that(mService.saveIoUsageStats(ioUsageStatsEntries)) in testGetHistoricalIoOveruseStatsWithNoRecentStats()415 assertWithMessage("Saved I/O usage stats").that(mService.saveIoUsageStats(entries)) in testGetDailySystemIoUsageSummaries()450 assertWithMessage("Save I/O usage stats").that(mService.saveIoUsageStats(entries)) in testGetDailySystemIoUsageSummariesWithLowSystemTotalWrittenBytes()476 assertWithMessage("Saved I/O usage stats").that(mService.saveIoUsageStats(entries)) in testGetDailySystemIoUsageSummariesWithoutStats()[all …]
559 verify(mSpiedWatchdogStorage, times(1)).saveIoUsageStats( in testWriteToDatabaseForSaveIoUsageStatsWithForgive()605 verify(mSpiedWatchdogStorage, times(1)).saveIoUsageStats( in testWriteToDatabaseForSaveIoUsageStatsWithoutForgive()3320 verify(mSpiedWatchdogStorage, never()).saveIoUsageStats(any()); in testNoWriteToDbOnDateChangeWithNoStats()4183 .saveIoUsageStats(any());4680 }).when(mSpiedWatchdogStorage).saveIoUsageStats(any()); in mockWatchdogStorage()
1127 }).when(mSpiedWatchdogStorage).saveIoUsageStats(any()); in mockWatchdogStorage()
255 public int saveIoUsageStats(List<IoUsageStatsEntry> entries) { in saveIoUsageStats() method in WatchdogStorage256 return saveIoUsageStats(entries, /* shouldCheckRetention= */ true); in saveIoUsageStats()468 int saveIoUsageStats(List<IoUsageStatsEntry> entries, boolean shouldCheckRetention) { in saveIoUsageStats() method in WatchdogStorage
1469 int result = mWatchdogStorage.saveIoUsageStats(ioUsageStatsEntries); in writeStats()