/frameworks/base/wifi/java/android/net/wifi/util/ |
D | HexEncoding.java | 42 public static String encodeToString(byte b, boolean upperCase) { in encodeToString() argument 43 char[] digits = upperCase ? UPPER_CASE_DIGITS : LOWER_CASE_DIGITS; in encodeToString() 60 public static char[] encode(byte[] data, boolean upperCase) { in encode() argument 61 return encode(data, 0, data.length, upperCase); in encode() 74 private static char[] encode(byte[] data, int offset, int len, boolean upperCase) { in encode() argument 75 char[] digits = upperCase ? UPPER_CASE_DIGITS : LOWER_CASE_DIGITS; in encode() 97 public static String encodeToString(byte[] data, boolean upperCase) { in encodeToString() argument 98 return new String(encode(data, upperCase)); in encodeToString()
|
/frameworks/base/core/java/android/app/admin/ |
D | PasswordMetrics.java | 85 public int upperCase = 0; field in PasswordMetrics 98 public PasswordMetrics(int credType , int length, int letters, int upperCase, int lowerCase, in PasswordMetrics() argument 103 this.upperCase = upperCase; in PasswordMetrics() 113 this(other.credType, other.length, other.letters, other.upperCase, other.lowerCase, in PasswordMetrics() 158 dest.writeInt(upperCase); in writeToParcel() 174 int upperCase = in.readInt(); 181 return new PasswordMetrics(credType, length, letters, upperCase, lowerCase, 216 int upperCase = 0; in computeForPassword() local 232 upperCase++; in computeForPassword() 248 return new PasswordMetrics(CREDENTIAL_TYPE_PASSWORD, length, letters, upperCase, lowerCase, in computeForPassword() [all …]
|
D | PasswordPolicy.java | 46 public int upperCase = DEF_MINIMUM_UPPER_CASE; field in PasswordPolicy 76 result.upperCase = upperCase; in getMinMetrics()
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubTransaction.java | 212 public static String typeToString(@Type int type, boolean upperCase) { in typeToString() argument 215 return upperCase ? "Load" : "load"; in typeToString() 217 return upperCase ? "Unload" : "unload"; in typeToString() 219 return upperCase ? "Enable" : "enable"; in typeToString() 221 return upperCase ? "Disable" : "disable"; in typeToString() 223 return upperCase ? "Query" : "query"; in typeToString() 225 return upperCase ? "Unknown" : "unknown"; in typeToString()
|
/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 | PasswordPolicyTest.java | 88 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_numeric() 112 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_numericComplex() 128 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_alphabetic() 144 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_alphanumeric() 159 assertEquals(TEST_VALUE, minMetrics.upperCase); in testGetMinMetrics_complex() 176 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_complexDefault() 190 result.upperCase = TEST_VALUE; in testPolicy()
|
D | PasswordMetricsTest.java | 63 final int upperCase = 3; in testParceling() local 72 PasswordMetrics metrics = new PasswordMetrics(credType, length, letters, upperCase, in testParceling() 85 assertEquals(upperCase, metrics.upperCase); in testParceling() 100 assertEquals(3, metrics.upperCase); in testComputeForPassword_metrics()
|
/frameworks/opt/localepicker/tests/src/com/android/localepicker/ |
D | LocaleHelperTest.java | 44 String upperCase = LocaleHelper.normalizeForSearch("ENGLISH", Locale.US); in normalizeForSearch_sameStrings_shouldBeEqualAfterNormalized() local 45 assertThat(lowerCase).isEqualTo(upperCase); in normalizeForSearch_sameStrings_shouldBeEqualAfterNormalized()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | VersionedPasswordMetrics.java | 58 buffer.putInt(mMetrics.upperCase); in serialize()
|