Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java475 int oldState = monitoredPackage.getHealthCheckStateLocked(); in onHealthCheckPassed()
505 int oldState = monitoredPackage.getHealthCheckStateLocked(); in onSupportedPackages()
877 int oldState = p.getHealthCheckStateLocked(); in prunePackagesLocked()
1122 public int getHealthCheckStateLocked() { in getHealthCheckStateLocked() method in PackageWatchdog.MonitoredPackage
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java697 assertEquals(MonitoredPackage.STATE_INACTIVE, m1.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions()
707 assertEquals(MonitoredPackage.STATE_INACTIVE, m2.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions()
715 assertEquals(MonitoredPackage.STATE_INACTIVE, m3.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions()
722 assertEquals(MonitoredPackage.STATE_PASSED, m4.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions()