Searched refs:getCurrentSample (Results 1 – 3 of 3) sorted by relevance
49 assertEquals(0, ioStatsTracker.getCurrentSample().size()); in testNewUsersAppear()65 assertEquals(2, ioStatsTracker.getCurrentSample().size()); in testNewUsersAppear()68 assertTrue(ioStatsTracker.getCurrentSample().get(0).representsSameMetrics(process0)); in testNewUsersAppear()69 assertTrue(ioStatsTracker.getCurrentSample().get(1).representsSameMetrics(process1)); 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()127 IoStatsEntry sample0 = ioStatsTracker.getCurrentSample().get(0); in testUpdateNoIoProcessActive()153 assertEquals(0, ioStatsTracker.getCurrentSample().size()); in testUpdateNoIoProcessInactive()177 assertEquals(1, ioStatsTracker.getCurrentSample().size()); in testUpdateIoHappens()[all …]
115 public synchronized SparseArray<IoStatsEntry> getCurrentSample() { in getCurrentSample() method in IoStatsTracker
245 SparseArrayStream.valueStream(mIoStatsTracker.getCurrentSample()) in collectNewIoMetrics()252 SparseArray<IoStatsEntry> currentSample = mIoStatsTracker.getCurrentSample(); in collectNewIoMetrics()