Searched refs:handleElapsedTimeLocked (Results 1 – 2 of 2) sorted by relevance
699 assertEquals(MonitoredPackage.STATE_INACTIVE, m1.handleElapsedTimeLocked(SHORT_DURATION)); in testPackageHealthCheckStateTransitions()711 assertEquals(MonitoredPackage.STATE_FAILED, m2.handleElapsedTimeLocked(SHORT_DURATION)); in testPackageHealthCheckStateTransitions()717 assertEquals(MonitoredPackage.STATE_FAILED, m3.handleElapsedTimeLocked(LONG_DURATION)); in testPackageHealthCheckStateTransitions()724 assertEquals(MonitoredPackage.STATE_PASSED, m4.handleElapsedTimeLocked(SHORT_DURATION)); in testPackageHealthCheckStateTransitions()726 assertEquals(MonitoredPackage.STATE_PASSED, m4.handleElapsedTimeLocked(LONG_DURATION)); in testPackageHealthCheckStateTransitions()
878 int newState = p.handleElapsedTimeLocked(elapsedMs); in prunePackagesLocked()1079 public int handleElapsedTimeLocked(long elapsedMs) { in handleElapsedTimeLocked() method in PackageWatchdog.MonitoredPackage