Home
last modified time | relevance | path

Searched refs:rollbackReason (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java162 @FailureReasons int rollbackReason, int mitigationCount) { in execute() argument
165 if (rollbackReason == PackageWatchdog.FAILURE_REASON_NATIVE_CRASH) { in execute()
166 mHandler.post(() -> rollbackAllLowImpact(availableRollbacks, rollbackReason)); in execute()
174 mHandler.post(() -> rollbackPackage(rollback, failedPackage, rollbackReason)); in execute()
177 mHandler.post(() -> rollbackAllLowImpact(availableRollbacks, rollbackReason)); in execute()
180 if (rollbackReason == PackageWatchdog.FAILURE_REASON_NATIVE_CRASH) { in execute()
181 mHandler.post(() -> rollbackAll(rollbackReason)); in execute()
187 mHandler.post(() -> rollbackPackage(rollback, failedPackage, rollbackReason)); in execute()
189 mHandler.post(() -> rollbackAll(rollbackReason)); in execute()
503 @FailureReasons int rollbackReason) { in rollbackPackage() argument
[all …]
DWatchdogRollbackLogger.java195 int rollbackReason, @NonNull String failingPackageName) { in logEvent() argument
198 + " rollbackReason: " + rollbackReasonToString(rollbackReason) in logEvent()
206 rollbackReason, in logEvent()
217 rollbackReason, in logEvent()
222 logTestProperties(logPackage, type, rollbackReason, failingPackageName); in logEvent()
238 int rollbackReason, @NonNull String failingPackageName) { in logTestProperties() argument
247 SystemProperties.set(key + ".rollbackReason", rollbackReasonToString(rollbackReason)); in logTestProperties()
/frameworks/base/tests/RollbackTest/lib/src/com/android/tests/rollback/host/
DWatchdogEventLogger.java75 String rollbackReason, String failedPackageName) throws Exception { in watchdogEventOccurred() argument
78 && matchProperty(type, "rollbackReason", rollbackReason) in watchdogEventOccurred()
99 void eventOccurred(String type, String logPackage, String rollbackReason, in eventOccurred() argument
102 + "failedPackageName=%s)", type, logPackage, rollbackReason, failedPackageName) in eventOccurred()
103 .that(mActual.watchdogEventOccurred(type, logPackage, rollbackReason, in eventOccurred()