Home
last modified time | relevance | path

Searched refs:handleElapsedTimeLocked (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java931 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()
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java1341 int newState = p.handleElapsedTimeLocked(elapsedMs); in prunePackagesLocked()
1670 public int handleElapsedTimeLocked(long elapsedMs) { in handleElapsedTimeLocked() method in PackageWatchdog.MonitoredPackage