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