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;
323 return PackageHealthObserverImpact.USER_IMPACT_MEDIUM; in testPackageFailureDifferentVersionNotifyNone()
325 return PackageHealthObserverImpact.USER_IMPACT_NONE; in testPackageFailureDifferentVersionNotifyNone()
352 PackageHealthObserverImpact.USER_IMPACT_NONE); in testPackageFailureNotifyAllDifferentImpacts()
354 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testPackageFailureNotifyAllDifferentImpacts()
356 PackageHealthObserverImpact.USER_IMPACT_MEDIUM); in testPackageFailureNotifyAllDifferentImpacts()
358 PackageHealthObserverImpact.USER_IMPACT_LOW); in testPackageFailureNotifyAllDifferentImpacts()
415 PackageHealthObserverImpact.USER_IMPACT_LOW); in testPackageFailureNotifyLeastImpactSuccessively()
417 PackageHealthObserverImpact.USER_IMPACT_MEDIUM); in testPackageFailureNotifyLeastImpactSuccessively()
436 observerFirst.mImpact = PackageHealthObserverImpact.USER_IMPACT_HIGH; in testPackageFailureNotifyLeastImpactSuccessively()
[all …]
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java326 if (impact != PackageHealthObserverImpact.USER_IMPACT_NONE in onPackageFailure()
377 @IntDef(value = {PackageHealthObserverImpact.USER_IMPACT_NONE,
378 PackageHealthObserverImpact.USER_IMPACT_LOW,
379 PackageHealthObserverImpact.USER_IMPACT_MEDIUM,
380 PackageHealthObserverImpact.USER_IMPACT_HIGH})
381 public @interface PackageHealthObserverImpact { annotation in PackageWatchdog
400 @PackageHealthObserverImpact int onHealthCheckFailed(VersionedPackage versionedPackage); in onHealthCheckFailed()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java45 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;
101 return PackageHealthObserverImpact.USER_IMPACT_NONE; in onHealthCheckFailed()
104 return PackageHealthObserverImpact.USER_IMPACT_MEDIUM; in onHealthCheckFailed()