Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java341 MonitoredPackage pkg = newMonitoredPackage(packageNames.get(i), durationMs, false); in startObservingHealth()
1362 putMonitoredPackage(sPackageWatchdog.newMonitoredPackage( in onPackageFailureLocked()
1493 MonitoredPackage newMonitoredPackage( in newMonitoredPackage() method in PackageWatchdog
1495 return newMonitoredPackage(name, durationMs, Long.MAX_VALUE, hasPassedHealthCheck, in newMonitoredPackage()
1499 MonitoredPackage newMonitoredPackage(String name, long durationMs, long healthCheckDurationMs, in newMonitoredPackage() method in PackageWatchdog
1514 return newMonitoredPackage(packageName, in parseMonitoredPackage()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java920 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()
1554 MonitoredPackage writePkg = watchdog.newMonitoredPackage( in testWritingAndReadingObserverInternalRecoverability()