Searched refs:nonLetter (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/app/admin/ |
D | PasswordMetrics.java | 45 public int nonLetter = 0; field in PasswordMetrics 55 int numeric, int symbols, int nonLetter) { in PasswordMetrics() argument 62 this.nonLetter = nonLetter; in PasswordMetrics() 73 nonLetter = in.readInt(); in PasswordMetrics() 79 && numeric == 0 && symbols == 0 && nonLetter == 0; in isDefault() 96 dest.writeInt(nonLetter); in writeToParcel() 117 int nonLetter = 0; in computeForPassword() local 131 nonLetter++; in computeForPassword() 135 nonLetter++; in computeForPassword() 157 quality, length, letters, upperCase, lowerCase, numeric, symbols, nonLetter); in computeForPassword() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 44 assertEquals(0, metrics.nonLetter); in testIsDefault() 56 final int nonLetter = 7; in testParceling() local 62 quality, length, letters, upperCase, lowerCase, numeric, symbols, nonLetter) in testParceling() 77 assertEquals(nonLetter, metrics.nonLetter); in testParceling() 90 assertEquals(7, metrics.nonLetter); in testComputeForPassword_metrics() 160 metrics1.nonLetter++; in testEquals() 162 metrics1.nonLetter--; in testEquals()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1090 if (minimumPasswordMetrics.nonLetter > DEF_MINIMUM_PASSWORD_NON_LETTER) { in writeToXml() 1093 null, ATTR_VALUE, Integer.toString(minimumPasswordMetrics.nonLetter)); in writeToXml() 1350 minimumPasswordMetrics.nonLetter = Integer.parseInt( in readFromXml() 1625 pw.println(minimumPasswordMetrics.nonLetter); in dump() 4418 if (metrics.nonLetter != length) { in setPasswordMinimumNonLetter() 4419 ap.minimumPasswordMetrics.nonLetter = length; in setPasswordMinimumNonLetter() 4430 admin -> admin.minimumPasswordMetrics.nonLetter, PASSWORD_QUALITY_COMPLEX); in getPasswordMinimumNonLetter() 4566 && passwordMetrics.nonLetter >= getPasswordMinimumNonLetter( in isPasswordSufficientForUserWithoutCheckpointLocked() 4854 if (metrics.nonLetter < neededNonLetter) { in resetPasswordInternal() 4856 + metrics.nonLetter in resetPasswordInternal() [all …]
|