Searched refs:failedPackage (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 245 private static void executeRescueLevel(Context context, @Nullable String failedPackage) { in executeRescueLevel() argument 251 executeRescueLevelInternal(context, level, failedPackage); in executeRescueLevel() 261 String failedPackage) throws Exception { in executeRescueLevelInternal() argument 265 resetAllSettings(context, Settings.RESET_MODE_UNTRUSTED_DEFAULTS, failedPackage); in executeRescueLevelInternal() 268 resetAllSettings(context, Settings.RESET_MODE_UNTRUSTED_CHANGES, failedPackage); in executeRescueLevelInternal() 271 resetAllSettings(context, Settings.RESET_MODE_TRUSTED_DEFAULTS, failedPackage); in executeRescueLevelInternal() 321 private static void resetAllSettings(Context context, int mode, @Nullable String failedPackage) in resetAllSettings() argument 328 resetDeviceConfig(context, mode, failedPackage); in resetAllSettings() 350 @Nullable String failedPackage) { in resetDeviceConfig() argument 351 if (!shouldPerformScopedResets() || failedPackage == null) { in resetDeviceConfig() [all …]
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 95 public int onHealthCheckFailed(@Nullable VersionedPackage failedPackage, in onHealthCheckFailed() argument 103 if (getAvailableRollback(failedPackage) == null) { in onHealthCheckFailed() 113 public boolean execute(@Nullable VersionedPackage failedPackage, in execute() argument 120 RollbackInfo rollback = getAvailableRollback(failedPackage); in execute() 122 Slog.w(TAG, "Expected rollback but no valid rollback found for " + failedPackage); in execute() 125 rollbackPackage(rollback, failedPackage, rollbackReason); in execute() 165 private RollbackInfo getAvailableRollback(VersionedPackage failedPackage) { in getAvailableRollback() argument 169 if (packageRollback.getVersionRolledBackFrom().equals(failedPackage)) { in getAvailableRollback() 186 .equals(failedPackage.getPackageName())) { in getAvailableRollback() 349 private void rollbackPackage(RollbackInfo rollback, VersionedPackage failedPackage, in rollbackPackage() argument [all …]
|