Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DRescueParty.java387 private static int getMaxRescueLevel(boolean mayPerformReboot) { in getMaxRescueLevel() argument
389 if (!mayPerformReboot in getMaxRescueLevel()
396 if (!mayPerformReboot in getMaxRescueLevel()
412 private static int getRescueLevel(int mitigationCount, boolean mayPerformReboot) { in getRescueLevel() argument
420 return Math.min(getMaxRescueLevel(mayPerformReboot), LEVEL_WARM_REBOOT); in getRescueLevel()
422 return Math.min(getMaxRescueLevel(mayPerformReboot), LEVEL_FACTORY_RESET); in getRescueLevel()
440 private static @RescueLevels int getRescueLevel(int mitigationCount, boolean mayPerformReboot, in getRescueLevel() argument
452 return Math.min(getMaxRescueLevel(mayPerformReboot), RESCUE_LEVEL_WARM_REBOOT); in getRescueLevel()
454 return Math.min(getMaxRescueLevel(mayPerformReboot), in getRescueLevel()
457 return Math.min(getMaxRescueLevel(mayPerformReboot), in getRescueLevel()
[all …]