Searched refs:handleElapsedTimeLocked (Results 1 – 2 of 2) sorted by relevance
931 assertThat(m1.handleElapsedTimeLocked(SHORT_DURATION)).isEqualTo(HealthCheckState.INACTIVE); in testPackageHealthCheckStateTransitions()945 assertThat(m2.handleElapsedTimeLocked(SHORT_DURATION)).isEqualTo(HealthCheckState.FAILED); in testPackageHealthCheckStateTransitions()951 assertThat(m3.handleElapsedTimeLocked(LONG_DURATION)).isEqualTo(HealthCheckState.FAILED); in testPackageHealthCheckStateTransitions()958 assertThat(m4.handleElapsedTimeLocked(SHORT_DURATION)).isEqualTo(HealthCheckState.PASSED); in testPackageHealthCheckStateTransitions()960 assertThat(m4.handleElapsedTimeLocked(LONG_DURATION)).isEqualTo(HealthCheckState.PASSED); in testPackageHealthCheckStateTransitions()
1341 int newState = p.handleElapsedTimeLocked(elapsedMs); in prunePackagesLocked()1670 public int handleElapsedTimeLocked(long elapsedMs) { in handleElapsedTimeLocked() method in PackageWatchdog.MonitoredPackage