Home
last modified time | relevance | path

Searched refs:upperCase (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/libcore/util/
DHexEncoding.java46 public static String encodeToString(byte b, boolean upperCase) { in encodeToString() argument
47 char[] digits = upperCase ? UPPER_CASE_DIGITS : LOWER_CASE_DIGITS; in encodeToString()
76 public static char[] encode(byte[] data, boolean upperCase) { in encode() argument
77 return encode(data, 0, data.length, upperCase); in encode()
97 private static char[] encode(byte[] data, int offset, int len, boolean upperCase) { in encode() argument
98 char[] digits = upperCase ? UPPER_CASE_DIGITS : LOWER_CASE_DIGITS; in encode()
132 public static String encodeToString(byte[] data, boolean upperCase) { in encodeToString() argument
133 return new String(encode(data, upperCase)); in encodeToString()
/frameworks/base/core/java/android/hardware/location/
DContextHubTransaction.java223 public static String typeToString(@Type int type, boolean upperCase) { in typeToString() argument
226 return upperCase ? "Load" : "load"; in typeToString()
228 return upperCase ? "Unload" : "unload"; in typeToString()
230 return upperCase ? "Enable" : "enable"; in typeToString()
232 return upperCase ? "Disable" : "disable"; in typeToString()
234 return upperCase ? "Query" : "query"; in typeToString()
237 return upperCase ? "Reliable Message" : "reliable message"; in typeToString()
241 return upperCase ? "Unknown" : "unknown"; in typeToString()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java86 public int upperCase = 0; field in PasswordMetrics
99 public PasswordMetrics(int credType , int length, int letters, int upperCase, int lowerCase, in PasswordMetrics() argument
104 this.upperCase = upperCase; in PasswordMetrics()
114 this(other.credType, other.length, other.letters, other.upperCase, other.lowerCase, in PasswordMetrics()
148 dest.writeInt(upperCase); in writeToParcel()
164 int upperCase = in.readInt();
171 return new PasswordMetrics(credType, length, letters, upperCase, lowerCase,
204 int upperCase = 0; in computeForPasswordOrPin() local
220 upperCase++; in computeForPasswordOrPin()
237 return new PasswordMetrics(credType, length, letters, upperCase, lowerCase, in computeForPasswordOrPin()
[all …]
DPasswordPolicy.java48 public int upperCase = DEF_MINIMUM_UPPER_CASE; field in PasswordPolicy
84 result.upperCase = upperCase; in getMinMetrics()
/frameworks/base/core/java/com/android/internal/util/
DHexDump.java113 public static String toHexString(byte[] array, boolean upperCase) in toHexString() argument
115 return toHexString(array, 0, array.length, upperCase); in toHexString()
124 public static String toHexString(byte[] array, int offset, int length, boolean upperCase) in toHexString() argument
126 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in toHexString()
188 public static StringBuilder appendByteAsHex(StringBuilder sb, byte b, boolean upperCase) { in appendByteAsHex() argument
189 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in appendByteAsHex()
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordPolicyTest.java89 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_numeric()
113 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_numericComplex()
129 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_alphabetic()
145 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_alphanumeric()
160 assertEquals(TEST_VALUE, minMetrics.upperCase); in testGetMinMetrics_complex()
177 assertEquals(0, minMetrics.upperCase); in testGetMinMetrics_complexDefault()
191 result.upperCase = TEST_VALUE; in testPolicy()
DPasswordMetricsTest.java67 final int upperCase = 3; in testParceling() local
76 PasswordMetrics metrics = new PasswordMetrics(credType, length, letters, upperCase, in testParceling()
89 assertEquals(upperCase, metrics.upperCase); in testParceling()
103 assertEquals(3, metrics.upperCase); in testComputeForPassword_metrics()
/frameworks/opt/localepicker/tests/src/com/android/localepicker/
DLocaleHelperTest.java44 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/
DVersionedPasswordMetrics.java58 buffer.putInt(mMetrics.upperCase); in serialize()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java421 if (mPasswordPolicy.upperCase != PasswordPolicy.DEF_MINIMUM_UPPER_CASE) { in writeToXml()
423 out, TAG_MIN_PASSWORD_UPPERCASE, mPasswordPolicy.upperCase); in writeToXml()
793 mPasswordPolicy.upperCase = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
1253 pw.println(mPasswordPolicy.upperCase); in dump()
DDevicePolicyManagerService.java4351 policy.upperCase = PasswordPolicy.DEF_MINIMUM_UPPER_CASE;
4981 if (passwordPolicy.upperCase != length) {
4982 passwordPolicy.upperCase = length;
4998 admin -> admin.mPasswordPolicy.upperCase, PASSWORD_QUALITY_COMPLEX);
20055 passwordPolicy.upperCase, passwordPolicy.lowerCase, passwordPolicy.symbols);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt3429 Landroid/app/admin/PasswordMetrics;->upperCase:I