Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java471 int passwordHistoryLength = getRequestedPasswordHistoryLength(userId); in checkPasswordHistory() local
472 if(passwordHistoryLength == 0) { in checkPasswordHistory()
475 int neededPasswordHistoryLength = passwordHashLength * passwordHistoryLength in checkPasswordHistory()
476 + passwordHistoryLength - 1; in checkPasswordHistory()
898 int passwordHistoryLength = getRequestedPasswordHistoryLength(userHandle); in saveLockPassword() local
899 if (passwordHistoryLength == 0) { in saveLockPassword()
907 * passwordHistoryLength + passwordHistoryLength - 1, passwordHistory in saveLockPassword()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java577 int passwordHistoryLength = DEF_PASSWORD_HISTORY_LENGTH; field in DevicePolicyManagerService.ActiveAdmin
707 if(passwordHistoryLength != DEF_PASSWORD_HISTORY_LENGTH) { in writeToXml()
709 out.attribute(null, ATTR_VALUE, Integer.toString(passwordHistoryLength)); in writeToXml()
934 passwordHistoryLength = Integer.parseInt( in readFromXml()
1188 pw.println(passwordHistoryLength); in dump()
3153 if (ap.passwordHistoryLength != length) { in setPasswordHistoryLength()
3154 ap.passwordHistoryLength = length; in setPasswordHistoryLength()
3171 return admin != null ? admin.passwordHistoryLength : length; in getPasswordHistoryLength()
3180 if (length < admin.passwordHistoryLength) { in getPasswordHistoryLength()
3181 length = admin.passwordHistoryLength; in getPasswordHistoryLength()