Searched refs:mayPerformReboot (Results 1 – 1 of 1) sorted by relevance
387 private static int getMaxRescueLevel(boolean mayPerformReboot) { in getMaxRescueLevel() argument389 if (!mayPerformReboot in getMaxRescueLevel()396 if (!mayPerformReboot in getMaxRescueLevel()412 private static int getRescueLevel(int mitigationCount, boolean mayPerformReboot) { in getRescueLevel() argument420 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() argument452 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 …]