Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogStorageUnitTest.java200 .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 …]
DWatchdogPerfHandlerUnitTest.java559 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()
DCarWatchdogServiceUnitTest.java1127 }).when(mSpiedWatchdogStorage).saveIoUsageStats(any()); in mockWatchdogStorage()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java255 public int saveIoUsageStats(List<IoUsageStatsEntry> entries) { in saveIoUsageStats() method in WatchdogStorage
256 return saveIoUsageStats(entries, /* shouldCheckRetention= */ true); in saveIoUsageStats()
468 int saveIoUsageStats(List<IoUsageStatsEntry> entries, boolean shouldCheckRetention) { in saveIoUsageStats() method in WatchdogStorage
DWatchdogPerfHandler.java1469 int result = mWatchdogStorage.saveIoUsageStats(ioUsageStatsEntries); in writeStats()