Home
last modified time | relevance | path

Searched refs:LEVEL_FACTORY_RESET (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DRescueParty.java88 static final int LEVEL_FACTORY_RESET = 4; field in RescueParty
153 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()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DRescuePartyTest.java27 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()