Searched refs:minMetrics (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockPassword.java | 671 PasswordMetrics minMetrics = PasswordMetrics.getMinimumMetrics( in mergeMinComplexityAndDpmRequirements() local 675 && minMetrics.quality != PASSWORD_QUALITY_NUMERIC_COMPLEX; in mergeMinComplexityAndDpmRequirements() 676 mPasswordMinLength = Math.max(mPasswordMinLength, minMetrics.length); in mergeMinComplexityAndDpmRequirements() 677 mPasswordMinLetters = Math.max(mPasswordMinLetters, minMetrics.letters); in mergeMinComplexityAndDpmRequirements() 678 mPasswordMinUpperCase = Math.max(mPasswordMinUpperCase, minMetrics.upperCase); in mergeMinComplexityAndDpmRequirements() 679 mPasswordMinLowerCase = Math.max(mPasswordMinLowerCase, minMetrics.lowerCase); in mergeMinComplexityAndDpmRequirements() 680 mPasswordMinNumeric = Math.max(mPasswordMinNumeric, minMetrics.numeric); in mergeMinComplexityAndDpmRequirements() 681 mPasswordMinSymbols = Math.max(mPasswordMinSymbols, minMetrics.symbols); in mergeMinComplexityAndDpmRequirements() 682 mPasswordMinNonLetter = Math.max(mPasswordMinNonLetter, minMetrics.nonLetter); in mergeMinComplexityAndDpmRequirements() 684 if (minMetrics.quality == PASSWORD_QUALITY_ALPHABETIC) { in mergeMinComplexityAndDpmRequirements() [all …]
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPassword.java | 670 PasswordMetrics minMetrics = PasswordMetrics.getMinimumMetrics( in mergeMinComplexityAndDpmRequirements() local 674 && minMetrics.quality != PASSWORD_QUALITY_NUMERIC_COMPLEX; in mergeMinComplexityAndDpmRequirements() 675 mPasswordMinLength = Math.max(mPasswordMinLength, minMetrics.length); in mergeMinComplexityAndDpmRequirements() 676 mPasswordMinLetters = Math.max(mPasswordMinLetters, minMetrics.letters); in mergeMinComplexityAndDpmRequirements() 677 mPasswordMinUpperCase = Math.max(mPasswordMinUpperCase, minMetrics.upperCase); in mergeMinComplexityAndDpmRequirements() 678 mPasswordMinLowerCase = Math.max(mPasswordMinLowerCase, minMetrics.lowerCase); in mergeMinComplexityAndDpmRequirements() 679 mPasswordMinNumeric = Math.max(mPasswordMinNumeric, minMetrics.numeric); in mergeMinComplexityAndDpmRequirements() 680 mPasswordMinSymbols = Math.max(mPasswordMinSymbols, minMetrics.symbols); in mergeMinComplexityAndDpmRequirements() 681 mPasswordMinNonLetter = Math.max(mPasswordMinNonLetter, minMetrics.nonLetter); in mergeMinComplexityAndDpmRequirements() 683 if (minMetrics.quality == PASSWORD_QUALITY_ALPHABETIC) { in mergeMinComplexityAndDpmRequirements() [all …]
|