Searched refs:saltExpirationDays (Results 1 – 1 of 1) sorted by relevance
100 int saltExpirationDays) { in hashString() argument101 if (saltExpirationDays == -1 || context == null in hashString()106 populateSaltValues(context, tag, saltExpirationDays); in hashString()131 private boolean checkNeedsNewSalt(String tag, int saltExpirationDays, long saltDate) { in checkNeedsNewSalt() argument132 if (saltDate == 0 || saltExpirationDays < -1) { in checkNeedsNewSalt()135 if (saltExpirationDays > MAX_SALT_DAYS) { in checkNeedsNewSalt()136 saltExpirationDays = MAX_SALT_DAYS; in checkNeedsNewSalt()142 return delta >= saltExpirationDays * DAYS_TO_MILLIS || delta < 0; in checkNeedsNewSalt()151 private void populateSaltValues(Context context, String tag, int saltExpirationDays) { in populateSaltValues() argument156 boolean needsNewSalt = checkNeedsNewSalt(tag, saltExpirationDays, saltDate); in populateSaltValues()