Searched refs:failedPackage (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 441 @Nullable VersionedPackage failedPackage) { in getRescueLevel() argument 444 if (failedPackage == null && mitigationCount > 0) { in getRescueLevel() 469 private static void executeRescueLevel(Context context, @Nullable String failedPackage, in executeRescueLevel() argument 473 executeRescueLevelInternal(context, level, failedPackage); in executeRescueLevel() 476 if (!TextUtils.isEmpty(failedPackage)) { in executeRescueLevel() 477 successMsg += " for package " + failedPackage; in executeRescueLevel() 481 logRescueException(level, failedPackage, t); in executeRescueLevel() 486 String failedPackage) throws Exception { in executeRescueLevelInternal() argument 488 executeRescueLevelInternalNew(context, level, failedPackage); in executeRescueLevelInternal() 490 executeRescueLevelInternalOld(context, level, failedPackage); in executeRescueLevelInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 120 public int onHealthCheckFailed(@Nullable VersionedPackage failedPackage, in onHealthCheckFailed() argument 132 } else if (getRollbackForPackage(failedPackage, lowImpactRollbacks) != null) { in onHealthCheckFailed() 148 } else if (getAvailableRollback(failedPackage) != null) { in onHealthCheckFailed() 161 public boolean execute(@Nullable VersionedPackage failedPackage, in execute() argument 172 RollbackInfo rollback = getRollbackForPackage(failedPackage, lowImpactRollbacks); in execute() 174 mHandler.post(() -> rollbackPackage(rollback, failedPackage, rollbackReason)); in execute() 185 RollbackInfo rollback = getAvailableRollback(failedPackage); in execute() 187 mHandler.post(() -> rollbackPackage(rollback, failedPackage, rollbackReason)); in execute() 319 private RollbackInfo getAvailableRollback(VersionedPackage failedPackage) { in getAvailableRollback() argument 323 if (packageRollback.getVersionRolledBackFrom().equals(failedPackage)) { in getAvailableRollback() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/rollback/ |
D | RollbackPackageHealthObserverTest.java | 371 VersionedPackage failedPackage = new VersionedPackage(APP_C, VERSION_CODE); in healthCheckFailed_impactLevelLowAndHigh_onePackage() local 381 observer.onHealthCheckFailed(failedPackage, in healthCheckFailed_impactLevelLowAndHigh_onePackage() 488 VersionedPackage failedPackage = new VersionedPackage(APP_C, VERSION_CODE); in execute_impactLevelLow_rollbackAll() local 500 observer.execute(failedPackage, PackageWatchdog.FAILURE_REASON_APP_CRASH, 1); in execute_impactLevelLow_rollbackAll() 534 VersionedPackage failedPackage = new VersionedPackage(APP_C, VERSION_CODE); in execute_impactLevelLowAndHigh_rollbackLow() local 546 observer.execute(failedPackage, PackageWatchdog.FAILURE_REASON_APP_CRASH, 1); in execute_impactLevelLowAndHigh_rollbackLow() 572 VersionedPackage failedPackage = new VersionedPackage(APP_C, VERSION_CODE); in execute_impactLevelHigh_rollbackHigh() local 583 observer.execute(failedPackage, PackageWatchdog.FAILURE_REASON_APP_CRASH, 1); in execute_impactLevelHigh_rollbackHigh() 884 VersionedPackage failedPackage = new VersionedPackage(APP_C, VERSION_CODE); in execute_impactLevelLowAndManual_rollbackLowImpactOnly() local 896 observer.execute(failedPackage, PackageWatchdog.FAILURE_REASON_APP_CRASH, 1); in execute_impactLevelLowAndManual_rollbackLowImpactOnly() [all …]
|