Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java48 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;
122 int impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_0; in onHealthCheckFailed()
131 impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_30; in onHealthCheckFailed()
134 impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_30; in onHealthCheckFailed()
136 impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_70; in onHealthCheckFailed()
147 impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_30; in onHealthCheckFailed()
150 impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_30; in onHealthCheckFailed()
153 impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_70; in onHealthCheckFailed()
199 int impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_0; in onBootLoop()
723 int impact = PackageHealthObserverImpact.USER_IMPACT_LEVEL_0; in getUserImpactBasedOnRollbackImpactLevel()
[all …]
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java61 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;
433 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_30; in testPackageFailureDifferentVersionNotifyNone()
435 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_0; in testPackageFailureDifferentVersionNotifyNone()
459 PackageHealthObserverImpact.USER_IMPACT_LEVEL_0); in testPackageFailureNotifyAllDifferentImpacts()
461 PackageHealthObserverImpact.USER_IMPACT_LEVEL_100); in testPackageFailureNotifyAllDifferentImpacts()
463 PackageHealthObserverImpact.USER_IMPACT_LEVEL_30); in testPackageFailureNotifyAllDifferentImpacts()
465 PackageHealthObserverImpact.USER_IMPACT_LEVEL_10); in testPackageFailureNotifyAllDifferentImpacts()
505 PackageHealthObserverImpact.USER_IMPACT_LEVEL_0); in testPackageFailureNotifyAllDifferentImpactsRecoverability()
507 PackageHealthObserverImpact.USER_IMPACT_LEVEL_50); in testPackageFailureNotifyAllDifferentImpactsRecoverability()
509 PackageHealthObserverImpact.USER_IMPACT_LEVEL_30); in testPackageFailureNotifyAllDifferentImpactsRecoverability()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DRescuePartyTest.java56 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;
829 PackageHealthObserverImpact.USER_IMPACT_LEVEL_0); in testHealthCheckLevels()
834 PackageHealthObserverImpact.USER_IMPACT_LEVEL_10); in testHealthCheckLevels()
838 PackageHealthObserverImpact.USER_IMPACT_LEVEL_10); in testHealthCheckLevels()
842 PackageHealthObserverImpact.USER_IMPACT_LEVEL_50); in testHealthCheckLevels()
846 PackageHealthObserverImpact.USER_IMPACT_LEVEL_50); in testHealthCheckLevels()
857 PackageHealthObserverImpact.USER_IMPACT_LEVEL_0); in testHealthCheckLevelsRecoverabilityDetection()
862 PackageHealthObserverImpact.USER_IMPACT_LEVEL_10); in testHealthCheckLevelsRecoverabilityDetection()
866 PackageHealthObserverImpact.USER_IMPACT_LEVEL_20); in testHealthCheckLevelsRecoverabilityDetection()
870 PackageHealthObserverImpact.USER_IMPACT_LEVEL_20); in testHealthCheckLevelsRecoverabilityDetection()
[all …]
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java53 import com.android.server.PackageWatchdog.PackageHealthObserverImpact;
674 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_10; in mapRescueLevelToUserImpact()
676 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_40; in mapRescueLevelToUserImpact()
678 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_50; in mapRescueLevelToUserImpact()
680 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_71; in mapRescueLevelToUserImpact()
682 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_75; in mapRescueLevelToUserImpact()
684 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_80; in mapRescueLevelToUserImpact()
686 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_100; in mapRescueLevelToUserImpact()
688 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_0; in mapRescueLevelToUserImpact()
694 return PackageHealthObserverImpact.USER_IMPACT_LEVEL_10; in mapRescueLevelToUserImpact()
[all …]
DPackageWatchdog.java151 PackageHealthObserverImpact.USER_IMPACT_LEVEL_71;
454 if (impact != PackageHealthObserverImpact.USER_IMPACT_LEVEL_0 in onPackageFailure()
499 if (impact != PackageHealthObserverImpact.USER_IMPACT_LEVEL_0 in handleFailureImmediately()
564 if (impact != PackageHealthObserverImpact.USER_IMPACT_LEVEL_0 in noteBoot()
662 @IntDef(value = {PackageHealthObserverImpact.USER_IMPACT_LEVEL_0,
663 PackageHealthObserverImpact.USER_IMPACT_LEVEL_10,
664 PackageHealthObserverImpact.USER_IMPACT_LEVEL_20,
665 PackageHealthObserverImpact.USER_IMPACT_LEVEL_30,
666 PackageHealthObserverImpact.USER_IMPACT_LEVEL_40,
667 PackageHealthObserverImpact.USER_IMPACT_LEVEL_50,
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/rollback/
DRollbackPackageHealthObserverTest.java175 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_0, in testHealthCheckLevels()
178 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_0, in testHealthCheckLevels()
188 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_30, in testHealthCheckLevels()
192 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_30, in testHealthCheckLevels()
196 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_70, in testHealthCheckLevels()
199 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_70, in testHealthCheckLevels()
204 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_0, in testHealthCheckLevels()
279 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_70, in healthCheckFailed_impactLevelLow_onePackage()
310 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_0, in healthCheckFailed_impactLevelHigh_onePackage()
341 assertEquals(PackageWatchdog.PackageHealthObserverImpact.USER_IMPACT_LEVEL_0, in healthCheckFailed_impactLevelManualOnly_onePackage()
[all …]