Searched refs:getTotalUptime (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | UptimeTrackerTest.java | 72 assertEquals(0, uptimeTracker.getTotalUptime()); in testUptimeTrackerFromCleanSlate() 75 assertEquals(5000, uptimeTracker.getTotalUptime()); in testUptimeTrackerFromCleanSlate() 78 assertEquals(5000, uptimeTracker.getTotalUptime()); in testUptimeTrackerFromCleanSlate() 81 assertEquals(6000, uptimeTracker.getTotalUptime()); in testUptimeTrackerFromCleanSlate() 84 assertEquals(6400, uptimeTracker.getTotalUptime()); in testUptimeTrackerFromCleanSlate() 95 assertEquals(5000, uptimeTracker.getTotalUptime()); in testUptimeTrackerWithHistoricalState() 98 assertEquals(10000, uptimeTracker.getTotalUptime()); in testUptimeTrackerWithHistoricalState() 101 assertEquals(11000, uptimeTracker.getTotalUptime()); in testUptimeTrackerWithHistoricalState() 112 assertEquals(5000, uptimeTracker.getTotalUptime()); in testUptimeTrackerAcrossHistoricalState() 115 assertEquals(10000, uptimeTracker.getTotalUptime()); in testUptimeTrackerAcrossHistoricalState() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | UptimeTracker.java | 136 long getTotalUptime() { in getTotalUptime() method in UptimeTracker 174 long newUptime = getTotalUptime(); in flushSnapshot()
|
D | CarStorageMonitoringService.java | 217 mUptimeTracker.getTotalUptime(), in addEventIfNeededLocked()
|