Home
last modified time | relevance | path

Searched refs:nonLetter (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java64 public int nonLetter = 0; field in PasswordMetrics
78 int numeric, int symbols, int nonLetter) { in PasswordMetrics() argument
85 this.nonLetter = nonLetter; in PasswordMetrics()
96 nonLetter = in.readInt(); in PasswordMetrics()
197 && numeric == 0 && symbols == 0 && nonLetter == 0; in isDefault()
214 dest.writeInt(nonLetter); in writeToParcel()
257 int nonLetter = 0; in computeForPassword() local
271 nonLetter++; in computeForPassword()
275 nonLetter++; in computeForPassword()
297 quality, length, letters, upperCase, lowerCase, numeric, symbols, nonLetter); in computeForPassword()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java63 assertEquals(0, metrics.nonLetter); in testIsDefault()
75 final int nonLetter = 7; in testParceling() local
81 quality, length, letters, upperCase, lowerCase, numeric, symbols, nonLetter) in testParceling()
96 assertEquals(nonLetter, metrics.nonLetter); in testParceling()
110 assertEquals(7, metrics.nonLetter); in testComputeForPassword_metrics()
180 metrics1.nonLetter++; in testEquals()
182 metrics1.nonLetter--; in testEquals()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1157 if (minimumPasswordMetrics.nonLetter > DEF_MINIMUM_PASSWORD_NON_LETTER) { in writeToXml()
1160 null, ATTR_VALUE, Integer.toString(minimumPasswordMetrics.nonLetter)); in writeToXml()
1422 minimumPasswordMetrics.nonLetter = Integer.parseInt( in readFromXml()
1697 pw.println(minimumPasswordMetrics.nonLetter); in dump()
4692 if (metrics.nonLetter != length) { in setPasswordMinimumNonLetter()
4693 ap.minimumPasswordMetrics.nonLetter = length; in setPasswordMinimumNonLetter()
4709 admin -> admin.minimumPasswordMetrics.nonLetter, PASSWORD_QUALITY_COMPLEX); in getPasswordMinimumNonLetter()
4838 && metrics.nonLetter >= getPasswordMinimumNonLetter(null, userId, parent); in isPasswordSufficientForUserWithoutCheckpointLocked()
5162 if (metrics.nonLetter < neededNonLetter) { in resetPasswordInternal()
5164 + metrics.nonLetter in resetPasswordInternal()
[all …]