Home
last modified time | relevance | path

Searched refs:toLowerCase (Results 1 – 25 of 206) sorted by relevance

123456789

/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dchar_utils_test.cpp43 EXPECT_EQ('a', CharUtils::toLowerCase('A')); in TEST()
44 EXPECT_EQ('z', CharUtils::toLowerCase('Z')); in TEST()
45 EXPECT_EQ('a', CharUtils::toLowerCase('a')); in TEST()
46 EXPECT_EQ('z', CharUtils::toLowerCase('z')); in TEST()
47 EXPECT_EQ('@', CharUtils::toLowerCase('@')); in TEST()
48 EXPECT_EQ(' ', CharUtils::toLowerCase(' ')); in TEST()
50 CharUtils::toLowerCase(0x00C0 /* LATIN CAPITAL LETTER A WITH GRAVE */)); in TEST()
52 CharUtils::toLowerCase(0x00E0 /* LATIN SMALL LETTER A WITH GRAVE */)); in TEST()
54 CharUtils::toLowerCase(0x03C2 /* GREEK SMALL LETTER FINAL SIGMA */)); in TEST()
56 CharUtils::toLowerCase(0x0410 /* CYRILLIC CAPITAL LETTER A */)); in TEST()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/
DMoreDatabaseUtilTest.java39 .toLowerCase(); in testBuildIndex()
43 actual = MoreDatabaseUtils.buildCreateIndexSql("test_table", "test_field").toLowerCase(); in testBuildIndex()
49 String actual = MoreDatabaseUtils.buildDropIndexSql("testtable", "testfield").toLowerCase(); in testDropIndex()
/packages/services/Telephony/src/com/android/services/telephony/rcs/validator/
DOutgoingTransportStateValidator.java84 mAllowedTags = allowedFeatureTags.stream().map(String::trim).map(String::toLowerCase) in open()
86 mDeniedTags = deniedFeatureTags.stream().map(String::trim).map(String::toLowerCase) in open()
100 .map(String::toLowerCase).collect(Collectors.toSet()); in restrictFeatureTags()
170 .anyMatch(req -> req.equals(segments[0].trim().toLowerCase(Locale.ROOT))); in verifyOpenMessage()
188 featureTags = featureTags.stream().map(String::toLowerCase).map(String::trim) in validateMessageFeatureTag()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSyntheticPathUtils.java96 if (path.toLowerCase(Locale.ROOT).indexOf(syntheticDir.toLowerCase(Locale.ROOT)) < 0) { in extractSyntheticRelativePathSegements()
132 return value.toLowerCase(Locale.ROOT).startsWith(prefix.toLowerCase(Locale.ROOT)); in startsWith()
DMimeUtils.java50 .getMimeTypeFromExtension(extension.toLowerCase(Locale.ROOT)); in resolveMimeType()
148 switch (mimeType.toLowerCase(Locale.ROOT)) { in isPlaylistMimeType()
165 switch (mimeType.toLowerCase(Locale.ROOT)) { in isSubtitleMimeType()
186 switch (mimeType.toLowerCase(Locale.ROOT)) { in isDocumentMimeType()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DQueryFilteringUtil.java80 String[] names = name.toLowerCase().split("\\s"); in nameMatchesT9Query()
148 return Pattern.compile("(^|\\s)" + Pattern.quote(query.toLowerCase())) in nameContainsQuery()
149 .matcher(name.toLowerCase()) in nameContainsQuery()
178 for (char c : s.toLowerCase().toCharArray()) { in getT9Representation()
DQueryBoldingUtil.java65 Pattern pattern = Pattern.compile("(^|\\s)" + Pattern.quote(query.toLowerCase())); in getNameWithQueryBolded()
66 Matcher matcher = pattern.matcher(name.toLowerCase()); in getNameWithQueryBolded()
97 name = name.toLowerCase(); in getNameWithInitialsBolded()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.cpp49 } else if (CharUtils::toLowerCase(primaryCodePoint) == in getErrorType()
50 CharUtils::toLowerCase(nodeCodePoint)) { in getErrorType()
63 } else if (CharUtils::toLowerCase(primaryCodePoint) in getErrorType()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DSppConstants.java78 sStatusEnums.put(sStatusStrings.valueAt(i).toLowerCase(), sStatusStrings.keyAt(i)); in sStatusStrings.keyAt()
109 sErrorEnums.put(sErrorStrings.valueAt(i).toLowerCase(), sErrorStrings.keyAt(i)); in sErrorStrings.keyAt()
131 Integer value = sStatusEnums.get(status.toLowerCase(Locale.US)); in mapStatusStringToInt()
153 Integer value = sErrorEnums.get(error.toLowerCase()); in mapErrorStringToInt()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DDeviceWorkArounds.java28 return bdAddr.toLowerCase().startsWith(carkitAddr.toLowerCase()); in addressStartsWith()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/
DContactsProvider.java78 String phoneticKey = StringUtils.soundex(p.first.toLowerCase()); in indexContacts()
83 p.second.getLookupKey(), p.first.toLowerCase(), phoneticKey)); in indexContacts()
107 String normalizedInput = query.toLowerCase().trim(); in getContact()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java299 selectedProfile.toLowerCase(Locale.getDefault())) in updateToQuietModeErrorMessage()
348 selectedProfileLabel.toLowerCase(Locale.getDefault())); in getErrorTitlePrivateSpaceEnabled()
351 selectedProfileLabel.toLowerCase(Locale.getDefault())); in getErrorTitlePrivateSpaceEnabled()
404 selectedProfileLabel.toLowerCase(Locale.getDefault()), in getErrorMessagePrivateSpaceEnabled()
405 sourceProfileLabel.toLowerCase(Locale.getDefault())); in getErrorMessagePrivateSpaceEnabled()
408 sourceProfileLabel.toLowerCase(Locale.getDefault()), in getErrorMessagePrivateSpaceEnabled()
409 selectedProfileLabel.toLowerCase(Locale.getDefault())); in getErrorMessagePrivateSpaceEnabled()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DQueryParameterUtils.java28 : (!"false".equals(flag.toLowerCase()) && !"0".equals(flag.toLowerCase())); in readBooleanQueryParameter()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DSearchQueryUtils.java59 final char[] queryTokens = query.toLowerCase().toCharArray(); in getWordDifference()
60 final char[] resultTokens = resultName.toLowerCase().toCharArray(); in getWordDifference()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DAccountUtils.java58 final String atDomain = "@" + domain.toLowerCase(Locale.ROOT); in getDeviceAccountsWithDomain()
60 if (account.name.toLowerCase(Locale.ROOT).endsWith(atDomain)) { in getDeviceAccountsWithDomain()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DDigestAuthUtils.java58 && !MD5_ALGORITHM.equals(parsedHeader.getAlgorithm().toLowerCase(Locale.ROOT))) { in generateAuthorizationHeader()
63 && !AUTH_QOP.equals(parsedHeader.getQop().toLowerCase(Locale.ROOT))) { in generateAuthorizationHeader()
141 return BaseEncoding.base16().encode(input).toLowerCase(Locale.ROOT); in base16()
/packages/apps/Camera2/src/com/android/camera/util/
DXmpUtil.java85 if (!filename.toLowerCase().endsWith(".jpg") in extractXMPMeta()
86 && !filename.toLowerCase().endsWith(".jpeg")) { in extractXMPMeta()
148 if (!filename.toLowerCase().endsWith(".jpg") in writeXMPMeta()
149 && !filename.toLowerCase().endsWith(".jpeg")) { in writeXMPMeta()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dchar_utils.h38 static AK_FORCE_INLINE int toLowerCase(const int c) { in toLowerCase() function
49 return toLowerCase(toBaseCodePoint(c)); in toBaseLowerCase()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/
DDatabaseAnalyzer.java50 ret.add(c.getString(0).toLowerCase()); in findTablesAndViews()
67 ret.add(c.getColumnName(i).toLowerCase()); in findColumns()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdTechUriValidator.java123 || uriHost.toLowerCase(Locale.ENGLISH) in matchesEtldPlus1()
124 .endsWith("." + mAdTechIdentifier.toLowerCase(Locale.ENGLISH)); in matchesEtldPlus1()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/system/
DSystemData.java52 if (ABI_MAP.containsKey(Ascii.toLowerCase(Build.SUPPORTED_ABIS[0]))) { in SystemData()
55 Ascii.toLowerCase(Build.SUPPORTED_ABIS[0]), in SystemData()
/packages/modules/ExtServices/java/src/android/ext/services/autofill/
DEditDistanceScorer.java48 final int distance = editDistance(actualValueText.toLowerCase(), in calculateScore()
49 userDataValue.toLowerCase()); in calculateScore()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DBackend.java75 nativeSetSourceInfo(context.getString(R.string.app_name).toLowerCase(Locale.US), in Backend()
76 getApplicationVersion(context).toLowerCase(Locale.US), in Backend()
77 BackendConstants.WPRINT_APPLICATION_ID.toLowerCase(Locale.US)); in Backend()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DRegulatoryInfoDisplayActivity.java135 String regulatory_info_res = mRegulatoryInfoResource + "_" + sku.toLowerCase(); in getImageResourceId()
161 return String.format(Locale.US, REGULATORY_INFO_FILEPATH_TEMPLATE, sku.toLowerCase()); in getRegulatoryInfoImageFileName()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java190 String lowerCaseName = name.toLowerCase(); in getHeaderParameter()
192 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter()
363 String mimeType = part.getMimeType().toLowerCase(); in collectParts()

123456789