Home
last modified time | relevance | path

Searched refs:getCurrentSample (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
H A DIoStatsTrackerTest.java49 assertEquals(0, ioStatsTracker.getCurrentSample().size()); in testNewUsersAppear()
65 assertEquals(2, ioStatsTracker.getCurrentSample().size()); in testNewUsersAppear()
92 assertEquals(1, ioStatsTracker.getCurrentSample().size()); in testUserMetricsChange()
95 IoStatsEntry sample0 = ioStatsTracker.getCurrentSample().get(0); in testUserMetricsChange()
124 assertEquals(1, ioStatsTracker.getCurrentSample().size()); in testUpdateNoIoProcessActive()
153 assertEquals(0, ioStatsTracker.getCurrentSample().size()); in testUpdateNoIoProcessInactive()
177 assertEquals(1, ioStatsTracker.getCurrentSample().size()); in testUpdateIoHappens()
204 assertEquals(0, ioStatsTracker.getCurrentSample().size()); in testUpdateGoAwayComeBackProcess()
211 assertEquals(1, ioStatsTracker.getCurrentSample().size()); in testUpdateGoAwayComeBackProcess()
230 assertEquals(0, ioStatsTracker.getCurrentSample().size()); in testUpdateGoAwayComeBackIo()
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/storagemonitoring/
H A DIoStatsTracker.java137 public SparseArray<IoStatsEntry> getCurrentSample() { in getCurrentSample() method in IoStatsTracker
/aosp12/packages/services/Car/service/src/com/android/car/
H A DCarStorageMonitoringService.java271 currentSample = mIoStatsTracker.getCurrentSample(); in collectNewIoMetrics()