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.java367 int passwordHistoryLength = getRequestedPasswordHistoryLength(); in checkPasswordHistory() local
368 if(passwordHistoryLength == 0) { in checkPasswordHistory()
371 int neededPasswordHistoryLength = passwordHashLength * passwordHistoryLength in checkPasswordHistory()
372 + passwordHistoryLength - 1; in checkPasswordHistory()
887 int passwordHistoryLength = getRequestedPasswordHistoryLength(); in saveLockPassword() local
888 if (passwordHistoryLength == 0) { in saveLockPassword()
896 * passwordHistoryLength + passwordHistoryLength - 1, passwordHistory in saveLockPassword()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java374 int passwordHistoryLength = DEF_PASSWORD_HISTORY_LENGTH; field in DevicePolicyManagerService.ActiveAdmin
468 if(passwordHistoryLength != DEF_PASSWORD_HISTORY_LENGTH) { in writeToXml()
470 out.attribute(null, ATTR_VALUE, Integer.toString(passwordHistoryLength)); in writeToXml()
649 passwordHistoryLength = Integer.parseInt( in readFromXml()
852 pw.println(passwordHistoryLength); in dump()
2023 if (ap.passwordHistoryLength != length) { in setPasswordHistoryLength()
2024 ap.passwordHistoryLength = length; in setPasswordHistoryLength()
2040 return admin != null ? admin.passwordHistoryLength : length; in getPasswordHistoryLength()
2050 if (length < admin.passwordHistoryLength) { in getPasswordHistoryLength()
2051 length = admin.passwordHistoryLength; in getPasswordHistoryLength()