Searched refs:nonLetter (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/app/admin/ |
D | PasswordMetrics.java | 47 public int nonLetter = 0; field in PasswordMetrics 57 int numeric, int symbols, int nonLetter) { in PasswordMetrics() argument 64 this.nonLetter = nonLetter; in PasswordMetrics() 75 nonLetter = in.readInt(); in PasswordMetrics() 81 && numeric == 0 && symbols == 0 && nonLetter == 0; in isDefault() 98 dest.writeInt(nonLetter); in writeToParcel() 119 int nonLetter = 0; in computeForPassword() local 133 nonLetter++; in computeForPassword() 137 nonLetter++; in computeForPassword() 159 quality, length, letters, upperCase, lowerCase, numeric, symbols, nonLetter); in computeForPassword()
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 45 assertEquals(0, metrics.nonLetter); in testIsDefault() 71 final int nonLetter = 7; in testParceling() local 77 quality, length, letters, upperCase, lowerCase, numeric, symbols, nonLetter) in testParceling() 92 assertEquals(nonLetter, metrics.nonLetter); in testParceling() 105 assertEquals(7, metrics.nonLetter); in testComputeForPassword_metrics()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 887 if (minimumPasswordMetrics.nonLetter > DEF_MINIMUM_PASSWORD_NON_LETTER) { in writeToXml() 890 null, ATTR_VALUE, Integer.toString(minimumPasswordMetrics.nonLetter)); in writeToXml() 1126 minimumPasswordMetrics.nonLetter = Integer.parseInt( in readFromXml() 1372 pw.println(minimumPasswordMetrics.nonLetter); in dump() 2588 out.attribute(null, "nonletter", Integer.toString(metrics.nonLetter)); in saveSettingsLocked() 2879 m.nonLetter = Integer.parseInt(parser.getAttributeValue(null, "nonletter")); in loadSettingsLocked() 4023 if (ap.minimumPasswordMetrics.nonLetter != length) { in setPasswordMinimumNonLetter() 4024 ap.minimumPasswordMetrics.nonLetter = length; in setPasswordMinimumNonLetter() 4041 return admin != null ? admin.minimumPasswordMetrics.nonLetter : length; in getPasswordMinimumNonLetter() 4053 if (length < admin.minimumPasswordMetrics.nonLetter) { in getPasswordMinimumNonLetter() [all …]
|