Searched refs:PackageWatchdog (Results 1 – 7 of 7) sorted by relevance
47 import com.android.server.PackageWatchdog.MonitoredPackage;48 import com.android.server.PackageWatchdog.PackageHealthObserver;49 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;122 PackageWatchdog watchdog = createWatchdog(); in testRegistration()189 PackageWatchdog watchdog = createWatchdog(); in testObserveAlreadyObservedPackage()216 PackageWatchdog watchdog1 = createWatchdog(); in testPersistence()236 PackageWatchdog watchdog2 = createWatchdog(); in testPersistence()263 PackageWatchdog watchdog = createWatchdog(); in testNoPackageFailureBeforeThreshold()273 PackageWatchdog.FAILURE_REASON_UNKNOWN); in testNoPackageFailureBeforeThreshold()290 PackageWatchdog watchdog = createWatchdog(); in testPackageFailureDifferentPackageNotifyNone()[all …]
50 import com.android.server.PackageWatchdog;51 import com.android.server.PackageWatchdog.FailureReasons;52 import com.android.server.PackageWatchdog.PackageHealthObserver;53 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;101 PackageWatchdog.getInstance(mContext).registerHealthObserver(this); in RollbackPackageHealthObserver()124 if (rollbackReason == PackageWatchdog.FAILURE_REASON_NATIVE_CRASH) { in execute()184 PackageWatchdog.getInstance(mContext).startObservingHealth(this, packages, durationMs); in startObservingHealth()400 execute(getModuleMetadataPackage(), PackageWatchdog.FAILURE_REASON_NATIVE_CRASH); in checkAndMitigateNativeCrashes()424 case PackageWatchdog.FAILURE_REASON_NATIVE_CRASH: in mapFailureReasonToMetric()426 case PackageWatchdog.FAILURE_REASON_EXPLICIT_HEALTH_CHECK: in mapFailureReasonToMetric()[all …]
74 public class PackageWatchdog { class119 private static PackageWatchdog sPackageWatchdog;151 private PackageWatchdog(Context context) { in PackageWatchdog() method in PackageWatchdog165 PackageWatchdog(Context context, AtomicFile policyFile, Handler shortTaskHandler, in PackageWatchdog() method in PackageWatchdog178 public static PackageWatchdog getInstance(Context context) { in getInstance()179 synchronized (PackageWatchdog.class) { in getInstance()181 sPackageWatchdog = new PackageWatchdog(context); in getInstance()670 PackageWatchdog.FAILURE_REASON_EXPLICIT_HEALTH_CHECK); in onHealthCheckFailed()930 public static ObserverInternal read(XmlPullParser parser, PackageWatchdog watchdog) { in read()
59 import com.android.server.PackageWatchdog;77 private final PackageWatchdog mPackageWatchdog;102 AppErrors(Context context, ActivityManagerService service, PackageWatchdog watchdog) { in AppErrors()446 PackageWatchdog.FAILURE_REASON_APP_CRASH); in crashApplicationInner()901 PackageWatchdog.FAILURE_REASON_APP_NOT_RESPONDING);
347 import com.android.server.PackageWatchdog;620 final PackageWatchdog mPackageWatchdog;2521 mPackageWatchdog = PackageWatchdog.getInstance(mUiContext); in ActivityManagerService()
313 PLcom/android/server/-$$Lambda$PackageWatchdog$Q0WI2EJpRFO1jF_7_YDaj1eGHas;->run()V314 HSPLcom/android/server/-$$Lambda$PackageWatchdog$YWaPZrg-b7PWDORq6WFyD-xtIC8;->run()V315 PLcom/android/server/-$$Lambda$PackageWatchdog$_sPWk0sc-U-bejnv7LJfRG-zUwU;->run()V316 PLcom/android/server/-$$Lambda$PackageWatchdog$a9_AwAvl6vknTazIAvycouLJHwo;->run()V1594 PLcom/android/server/PackageWatchdog$ObserverInternal;->onPackageFailure(Ljava/lang/String;)Z1595 HSPLcom/android/server/PackageWatchdog$ObserverInternal;->read(Lorg/xmlpull/v1/XmlPullParser;)Lcom/…1596 PLcom/android/server/PackageWatchdog$ObserverInternal;->updateMonitoringDurations(J)Ljava/util/List;1597 HSPLcom/android/server/PackageWatchdog$ObserverInternal;->updatePackages(Ljava/util/List;)V1598 HSPLcom/android/server/PackageWatchdog;-><init>(Landroid/content/Context;)V1599 HSPLcom/android/server/PackageWatchdog;->getEarliestPackageExpiryLocked()J[all …]
304 import com.android.server.PackageWatchdog;10142 PackageWatchdog.getInstance(mContext).writeNow();