Home
last modified time | relevance | path

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

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java49 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;
325 return PackageHealthObserverImpact.USER_IMPACT_MEDIUM; in testPackageFailureDifferentVersionNotifyNone()
327 return PackageHealthObserverImpact.USER_IMPACT_NONE; in testPackageFailureDifferentVersionNotifyNone()
355 PackageHealthObserverImpact.USER_IMPACT_NONE); in testPackageFailureNotifyAllDifferentImpacts()
357 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testPackageFailureNotifyAllDifferentImpacts()
359 PackageHealthObserverImpact.USER_IMPACT_MEDIUM); in testPackageFailureNotifyAllDifferentImpacts()
361 PackageHealthObserverImpact.USER_IMPACT_LOW); in testPackageFailureNotifyAllDifferentImpacts()
419 PackageHealthObserverImpact.USER_IMPACT_LOW); in testPackageFailureNotifyLeastImpactSuccessively()
421 PackageHealthObserverImpact.USER_IMPACT_MEDIUM); in testPackageFailureNotifyLeastImpactSuccessively()
441 observerFirst.mImpact = PackageHealthObserverImpact.USER_IMPACT_HIGH; in testPackageFailureNotifyLeastImpactSuccessively()
[all …]
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java344 if (impact != PackageHealthObserverImpact.USER_IMPACT_NONE in onPackageFailure()
395 @IntDef(value = {PackageHealthObserverImpact.USER_IMPACT_NONE,
396 PackageHealthObserverImpact.USER_IMPACT_LOW,
397 PackageHealthObserverImpact.USER_IMPACT_MEDIUM,
398 PackageHealthObserverImpact.USER_IMPACT_HIGH})
399 public @interface PackageHealthObserverImpact { annotation in PackageWatchdog
418 @PackageHealthObserverImpact int onHealthCheckFailed(VersionedPackage versionedPackage); in onHealthCheckFailed()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java53 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;
109 return PackageHealthObserverImpact.USER_IMPACT_NONE; in onHealthCheckFailed()
112 return PackageHealthObserverImpact.USER_IMPACT_MEDIUM; in onHealthCheckFailed()