Searched refs:LEVEL_NONE (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | RescuePartyTest.java | 146 Integer.toString(RescueParty.LEVEL_NONE)); in setUp() 162 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithExecutionForAllRescueLevels() 168 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithExecutionForAllRescueLevels() 174 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithExecutionForAllRescueLevels() 180 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithExecutionForAllRescueLevels() 189 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels() 195 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels() 201 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels() 207 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels() 219 assertEquals(RescueParty.LEVEL_NONE, in testBootLoopDetectionWithWrongInterval() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 64 static final int LEVEL_NONE = 0; field in RescueParty 159 return SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE) == LEVEL_FACTORY_RESET; in isAttemptingFactoryReset() 199 SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE) + 1, in incrementRescueLevel() 200 LEVEL_NONE, LEVEL_FACTORY_RESET); in incrementRescueLevel() 209 final int level = SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE); in executeRescueLevel() 210 if (level == LEVEL_NONE) return; in executeRescueLevel() 412 case LEVEL_NONE: return "NONE"; in levelToString()
|