Home
last modified time | relevance | path

Searched refs:representsSameMetrics (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DIoStatsTrackerTest.java68 assertTrue(ioStatsTracker.getCurrentSample().get(0).representsSameMetrics(process0)); in testNewUsersAppear()
69 assertTrue(ioStatsTracker.getCurrentSample().get(1).representsSameMetrics(process1)); in testNewUsersAppear()
71 assertTrue(ioStatsTracker.getTotal().get(0).representsSameMetrics(process0)); in testNewUsersAppear()
72 assertTrue(ioStatsTracker.getTotal().get(1).representsSameMetrics(process1)); in testNewUsersAppear()
101 assertTrue(total0.representsSameMetrics(process0)); in testUserMetricsChange()
158 assertTrue(total0.representsSameMetrics(record0)); in testUpdateNoIoProcessInactive()
183 assertTrue(total0.representsSameMetrics(record0)); in testUpdateIoHappens()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java466 ioRecord -> uidIoStats.representsSameMetrics(ioRecord)))); in testBootIoStats()
514 assertTrue(serviceIoStat.representsSameMetrics(mockIoStat)); in testAggregateIoStats()
551 assertTrue(deltaRecord0.representsSameMetrics(newRecord0.delta(oldRecord0))); in testIoStatsDeltas()
582 assertTrue(deltaRecord0.representsSameMetrics(newRecord0.delta(oldRecord0))); in testIoStatsDeltas()
594 assertTrue(deltaRecord0.representsSameMetrics(newerRecord0.delta(newRecord0))); in testIoStatsDeltas()
629 event1.getStats().forEach(stats -> assertTrue(stats.representsSameMetrics(record))); in testEventDelivery()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DIoStatsTracker.java80 if (oldRecord.representsSameMetrics(newRecord)) { in update()
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DIoStatsEntry.java192 public boolean representsSameMetrics(UidIoRecord record) { in representsSameMetrics() method in IoStatsEntry