Searched refs:seqLength (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/app/admin/ |
D | PasswordMetrics.java | 93 public int seqLength = Integer.MAX_VALUE; field in PasswordMetrics 100 int numeric, int symbols, int nonLetter, int nonNumeric, int seqLength) { in PasswordMetrics() argument 110 this.seqLength = seqLength; in PasswordMetrics() 115 other.numeric, other.symbols, other.nonLetter, other.nonNumeric, other.seqLength); in PasswordMetrics() 154 dest.writeInt(seqLength); in writeToParcel() 170 int seqLength = in.readInt(); 172 numeric, symbols, nonLetter, nonNumeric, seqLength); 236 final int seqLength = maxLengthSequence(credential); in computeForPasswordOrPin() local 238 numeric, symbols, nonLetter, nonNumeric, seqLength); in computeForPasswordOrPin() 355 seqLength = Math.min(seqLength, other.seqLength); in maxWith() [all …]
|
D | PasswordPolicy.java | 68 result.seqLength = PasswordMetrics.MAX_ALLOWED_SEQUENCE; in getMinMetrics()
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordPolicyTest.java | 93 assertEquals(Integer.MAX_VALUE, minMetrics.seqLength); in testGetMinMetrics_numeric() 117 assertEquals(PasswordMetrics.MAX_ALLOWED_SEQUENCE, minMetrics.seqLength); in testGetMinMetrics_numericComplex() 133 assertEquals(Integer.MAX_VALUE, minMetrics.seqLength); in testGetMinMetrics_alphabetic() 149 assertEquals(Integer.MAX_VALUE, minMetrics.seqLength); in testGetMinMetrics_alphanumeric() 165 assertEquals(Integer.MAX_VALUE, minMetrics.seqLength); in testGetMinMetrics_complex() 182 assertEquals(Integer.MAX_VALUE, minMetrics.seqLength); in testGetMinMetrics_complexDefault()
|
D | PasswordMetricsTest.java | 73 final int seqLength = 9; in testParceling() local 77 lowerCase, numeric, symbols, nonLetter, nonNumeric, seqLength); in testParceling() 95 assertEquals(seqLength, metrics.seqLength); in testParceling() 316 actualMetrics.seqLength = 1; in testValidatePasswordMetrics_pinAndComplexityHigh() 329 actualMetrics.seqLength = 1; in testValidatePasswordMetrics_nonAllNumberPasswordAndComplexityHigh() 341 actualMetrics.seqLength = 1; in testValidatePasswordMetrics_allNumberPasswordAndComplexityHigh() 354 actualMetrics.seqLength = 1; in testValidatePasswordMetrics_allNumberPasswordAndRequireNonNumeric()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | VersionedPasswordMetrics.java | 64 buffer.putInt(mMetrics.seqLength); in serialize()
|