Home
last modified time | relevance | path

Searched refs:PackageWatchdog (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java47 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 …]
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java50 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 …]
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java74 public class PackageWatchdog { class
119 private static PackageWatchdog sPackageWatchdog;
151 private PackageWatchdog(Context context) { in PackageWatchdog() method in PackageWatchdog
165 PackageWatchdog(Context context, AtomicFile policyFile, Handler shortTaskHandler, in PackageWatchdog() method in PackageWatchdog
178 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()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java59 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);
DActivityManagerService.java347 import com.android.server.PackageWatchdog;
620 final PackageWatchdog mPackageWatchdog;
2521 mPackageWatchdog = PackageWatchdog.getInstance(mUiContext); in ActivityManagerService()
/frameworks/base/services/
Dart-profile313 PLcom/android/server/-$$Lambda$PackageWatchdog$Q0WI2EJpRFO1jF_7_YDaj1eGHas;->run()V
314 HSPLcom/android/server/-$$Lambda$PackageWatchdog$YWaPZrg-b7PWDORq6WFyD-xtIC8;->run()V
315 PLcom/android/server/-$$Lambda$PackageWatchdog$_sPWk0sc-U-bejnv7LJfRG-zUwU;->run()V
316 PLcom/android/server/-$$Lambda$PackageWatchdog$a9_AwAvl6vknTazIAvycouLJHwo;->run()V
1594 PLcom/android/server/PackageWatchdog$ObserverInternal;->onPackageFailure(Ljava/lang/String;)Z
1595 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;)V
1598 HSPLcom/android/server/PackageWatchdog;-><init>(Landroid/content/Context;)V
1599 HSPLcom/android/server/PackageWatchdog;->getEarliestPackageExpiryLocked()J
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java304 import com.android.server.PackageWatchdog;
10142 PackageWatchdog.getInstance(mContext).writeNow();