Searched refs:upperCase (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubTransaction.java | 213 public static String typeToString(@Type int type, boolean upperCase) { in typeToString() argument 216 return upperCase ? "Load" : "load"; in typeToString() 218 return upperCase ? "Unload" : "unload"; in typeToString() 220 return upperCase ? "Enable" : "enable"; in typeToString() 222 return upperCase ? "Disable" : "disable"; in typeToString() 224 return upperCase ? "Query" : "query"; in typeToString() 226 return upperCase ? "Unknown" : "unknown"; in typeToString()
|
/frameworks/base/core/java/android/app/admin/ |
D | PasswordMetrics.java | 60 public int upperCase = 0; field in PasswordMetrics 77 public PasswordMetrics(int quality, int length, int letters, int upperCase, int lowerCase, in PasswordMetrics() argument 81 this.upperCase = upperCase; in PasswordMetrics() 92 upperCase = in.readInt(); in PasswordMetrics() 196 && length == 0 && letters == 0 && upperCase == 0 && lowerCase == 0 in isDefault() 210 dest.writeInt(upperCase); in writeToParcel() 253 int upperCase = 0; in computeForPassword() local 267 upperCase++; in computeForPassword() 297 quality, length, letters, upperCase, lowerCase, numeric, symbols, nonLetter); in computeForPassword() 309 && this.upperCase == o.upperCase in equals()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | HexDump.java | 111 public static String toHexString(byte[] array, boolean upperCase) in toHexString() argument 113 return toHexString(array, 0, array.length, upperCase); in toHexString() 122 public static String toHexString(byte[] array, int offset, int length, boolean upperCase) in toHexString() argument 124 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in toHexString() 186 public static StringBuilder appendByteAsHex(StringBuilder sb, byte b, boolean upperCase) { in appendByteAsHex() argument 187 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in appendByteAsHex()
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 59 assertEquals(0, metrics.upperCase); in testIsDefault() 71 final int upperCase = 3; in testParceling() local 81 quality, length, letters, upperCase, lowerCase, numeric, symbols, nonLetter) in testParceling() 92 assertEquals(upperCase, metrics.upperCase); in testParceling() 106 assertEquals(3, metrics.upperCase); in testComputeForPassword_metrics() 168 metrics1.upperCase++; in testEquals() 170 metrics1.upperCase--; in testEquals()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1127 if (minimumPasswordMetrics.upperCase != DEF_MINIMUM_PASSWORD_UPPER_CASE) { in writeToXml() 1130 null, ATTR_VALUE, Integer.toString(minimumPasswordMetrics.upperCase)); in writeToXml() 1407 minimumPasswordMetrics.upperCase = Integer.parseInt( in readFromXml() 1687 pw.println(minimumPasswordMetrics.upperCase); in dump() 4540 if (metrics.upperCase != length) { in setPasswordMinimumUpperCase() 4541 metrics.upperCase = length; in setPasswordMinimumUpperCase() 4557 admin -> admin.minimumPasswordMetrics.upperCase, PASSWORD_QUALITY_COMPLEX); in getPasswordMinimumUpperCase() 4833 return metrics.upperCase >= getPasswordMinimumUpperCase(null, userId, parent) in isPasswordSufficientForUserWithoutCheckpointLocked() 5147 if (metrics.upperCase < neededUpperCase) { in resetPasswordInternal() 5149 + metrics.upperCase in resetPasswordInternal() [all …]
|