Home
last modified time | relevance | path

Searched refs:MonitoredPackage (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java338 List<MonitoredPackage> packages = new ArrayList<>(); in startObservingHealth()
341 MonitoredPackage pkg = newMonitoredPackage(packageNames.get(i), durationMs, false); in startObservingHealth()
437 MonitoredPackage currentMonitoredPackage = null; in onPackageFailure()
446 MonitoredPackage p = observer.getMonitoredPackage( in onPackageFailure()
844 MonitoredPackage monitoredPackage = observer.getMonitoredPackage(packageName); in onHealthCheckPassed()
873 Iterator<MonitoredPackage> pit = oit.next().getMonitoredPackages() in onSupportedPackages()
876 MonitoredPackage monitoredPackage = pit.next(); in onSupportedPackages()
912 Iterator<MonitoredPackage> pit = in getPackagesPendingHealthChecksLocked()
915 MonitoredPackage monitoredPackage = pit.next(); in getPackagesPendingHealthChecksLocked()
970 ArrayMap<String, MonitoredPackage> packages = mAllObservers.valueAt(oIndex) in getNextStateSyncMillisLocked()
[all …]
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java58 import com.android.server.PackageWatchdog.MonitoredPackage;
920 MonitoredPackage m1 = wd.newMonitoredPackage(APP_A, LONG_DURATION, in testPackageHealthCheckStateTransitions()
922 MonitoredPackage m2 = wd.newMonitoredPackage(APP_B, LONG_DURATION, false); in testPackageHealthCheckStateTransitions()
923 MonitoredPackage m3 = wd.newMonitoredPackage(APP_C, LONG_DURATION, false); in testPackageHealthCheckStateTransitions()
924 MonitoredPackage m4 = wd.newMonitoredPackage(APP_D, LONG_DURATION, SHORT_DURATION, true, in testPackageHealthCheckStateTransitions()
1483 MonitoredPackage pkg = watchdog.newMonitoredPackage( in testNormalizingMitigationCalls()
1510 MonitoredPackage writePkg = watchdog.newMonitoredPackage( in testWritingAndReadingMonitoredPackage()
1520 MonitoredPackage expectedPkg = watchdog.newMonitoredPackage( in testWritingAndReadingMonitoredPackage()
1536 MonitoredPackage readPkg = watchdog.parseMonitoredPackage(parser); in testWritingAndReadingMonitoredPackage()
1554 MonitoredPackage writePkg = watchdog.newMonitoredPackage( in testWritingAndReadingObserverInternalRecoverability()
/frameworks/base/services/
Dart-profile122MonitoredPackage;->updateHealthCheckStateLocked()I+]Lcom/android/server/PackageWatchdog$MonitoredP…