Searched refs:PackageHealthObserverImpact (Results 1 – 5 of 5) sorted by relevance
445 PackageHealthObserverImpact.USER_IMPACT_NONE); in testPackageFailureNotifyAllDifferentImpacts()447 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testPackageFailureNotifyAllDifferentImpacts()449 PackageHealthObserverImpact.USER_IMPACT_MEDIUM); in testPackageFailureNotifyAllDifferentImpacts()451 PackageHealthObserverImpact.USER_IMPACT_LOW); in testPackageFailureNotifyAllDifferentImpacts()502 PackageHealthObserverImpact.USER_IMPACT_LOW); in testPackageFailureNotifyLeastImpactSuccessively()569 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testPackageFailureNotifyOneSameImpact()571 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testPackageFailureNotifyOneSameImpact()595 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testExplicitHealthChecks()597 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testExplicitHealthChecks()599 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testExplicitHealthChecks()[all …]
53 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;494 PackageHealthObserverImpact.USER_IMPACT_NONE); in testHealthCheckLevels()499 PackageHealthObserverImpact.USER_IMPACT_LOW); in testHealthCheckLevels()503 PackageHealthObserverImpact.USER_IMPACT_LOW); in testHealthCheckLevels()507 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testHealthCheckLevels()511 PackageHealthObserverImpact.USER_IMPACT_HIGH); in testHealthCheckLevels()518 assertEquals(observer.onBootLoop(0), PackageHealthObserverImpact.USER_IMPACT_NONE); in testBootLoopLevels()519 assertEquals(observer.onBootLoop(1), PackageHealthObserverImpact.USER_IMPACT_LOW); in testBootLoopLevels()520 assertEquals(observer.onBootLoop(2), PackageHealthObserverImpact.USER_IMPACT_LOW); in testBootLoopLevels()521 assertEquals(observer.onBootLoop(3), PackageHealthObserverImpact.USER_IMPACT_HIGH); in testBootLoopLevels()[all …]
429 if (impact != PackageHealthObserverImpact.USER_IMPACT_NONE in onPackageFailure()469 if (impact != PackageHealthObserverImpact.USER_IMPACT_NONE in handleFailureImmediately()497 if (impact != PackageHealthObserverImpact.USER_IMPACT_NONE in noteBoot()579 @IntDef(value = {PackageHealthObserverImpact.USER_IMPACT_NONE,580 PackageHealthObserverImpact.USER_IMPACT_LOW,581 PackageHealthObserverImpact.USER_IMPACT_MEDIUM,582 PackageHealthObserverImpact.USER_IMPACT_HIGH})583 public @interface PackageHealthObserverImpact { annotation in PackageWatchdog609 @PackageHealthObserverImpact int onHealthCheckFailed( in onHealthCheckFailed()635 default @PackageHealthObserverImpact int onBootLoop(int mitigationCount) { in onBootLoop()[all …]
54 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;481 return PackageHealthObserverImpact.USER_IMPACT_LOW; in mapRescueLevelToUserImpact()485 return PackageHealthObserverImpact.USER_IMPACT_HIGH; in mapRescueLevelToUserImpact()487 return PackageHealthObserverImpact.USER_IMPACT_NONE; in mapRescueLevelToUserImpact()625 return PackageHealthObserverImpact.USER_IMPACT_NONE; in onHealthCheckFailed()669 return PackageHealthObserverImpact.USER_IMPACT_NONE; in onBootLoop()
49 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;100 return PackageHealthObserverImpact.USER_IMPACT_MEDIUM; in onHealthCheckFailed()104 return PackageHealthObserverImpact.USER_IMPACT_NONE; in onHealthCheckFailed()107 return PackageHealthObserverImpact.USER_IMPACT_MEDIUM; in onHealthCheckFailed()