Searched refs:LEVEL_FACTORY_RESET (Results 1 – 2 of 2) sorted by relevance
88 static final int LEVEL_FACTORY_RESET = 4; field in RescueParty153 return SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE) == LEVEL_FACTORY_RESET; in isAttemptingFactoryReset()229 LEVEL_NONE, LEVEL_FACTORY_RESET); in getNextRescueLevel()273 case LEVEL_FACTORY_RESET: in executeRescueLevelInternal()305 case LEVEL_FACTORY_RESET: in mapRescueLevelToUserImpact()361 LEVEL_NONE, LEVEL_FACTORY_RESET); in shouldPerformScopedResets()561 case LEVEL_FACTORY_RESET: return "FACTORY_RESET"; in levelToString()
27 import static com.android.server.RescueParty.LEVEL_FACTORY_RESET;207 assertEquals(LEVEL_FACTORY_RESET, in testBootLoopDetectionWithExecutionForAllRescueLevels()234 assertEquals(LEVEL_FACTORY_RESET, in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels()288 for (int i = 0; i < LEVEL_FACTORY_RESET; i++) { in testIsAttemptingFactoryReset()351 LEVEL_FACTORY_RESET)); in testHealthCheckLevels()387 LEVEL_FACTORY_RESET)); in testHealthCheckLevels()418 LEVEL_FACTORY_RESET)); in testBootLoopLevels()