Home
last modified time | relevance | path

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

1234567

/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/services/Telephony/src/com/android/services/telephony/rcs/validator/
DOutgoingTransportStateValidator.java83 mAllowedTags = allowedFeatureTags.stream().map(String::trim).map(String::toLowerCase) in open()
85 mDeniedTags = deniedFeatureTags.stream().map(String::trim).map(String::toLowerCase) in open()
99 .map(String::toLowerCase).collect(Collectors.toSet()); in restrictFeatureTags()
169 .anyMatch(req -> req.equals(segments[0].trim().toLowerCase())); in verifyOpenMessage()
187 featureTags = featureTags.stream().map(String::toLowerCase).map(String::trim) in validateMessageFeatureTag()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMimeUtils.java59 .getMimeTypeFromExtension(extension.toLowerCase(Locale.ROOT)); in resolveMimeType()
132 switch (mimeType.toLowerCase(Locale.ROOT)) { in isPlaylistMimeType()
149 switch (mimeType.toLowerCase(Locale.ROOT)) { in isSubtitleMimeType()
170 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/apps/Settings/src/com/android/settings/
DRegulatoryInfoDisplayActivity.java127 String regulatory_info_res = REGULATORY_INFO_RESOURCE + "_" + sku.toLowerCase(); in getResourceId()
139 REGULATORY_INFO_RESOURCE + "_" + sku.toLowerCase() + "_" + coo.toLowerCase(); in getResourceId()
168 sku.toLowerCase()); in getRegulatoryInfoImageFileName()
/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/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/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/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/services/Telephony/src/com/android/phone/callcomposer/
DDigestAuthUtils.java57 && !MD5_ALGORITHM.equals(parsedHeader.getAlgorithm().toLowerCase())) { in generateAuthorizationHeader()
62 && !AUTH_QOP.equals(parsedHeader.getQop().toLowerCase())) { in generateAuthorizationHeader()
140 return BaseEncoding.base16().encode(input).toLowerCase(); in base16()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DDeviceWorkArounds.java34 return bdAddr.toLowerCase().startsWith(carkitAddr.toLowerCase()); in addressStartsWith()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DQueryParameterUtils.java28 : (!"false".equals(flag.toLowerCase()) && !"0".equals(flag.toLowerCase())); in readBooleanQueryParameter()
/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/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/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/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/modules/ExtServices/java/src/android/ext/services/autofill/
DEditDistanceScorer.java48 final int distance = editDistance(actualValueText.toLowerCase(), in calculateScore()
49 userDataValue.toLowerCase()); in calculateScore()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DDejankBinderTracker.java99 if (!Build.TYPE.toLowerCase(Locale.ROOT).contains("debug") in startTracking()
100 && !Build.TYPE.toLowerCase(Locale.ROOT).equals("eng")) { in startTracking()
/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()
/packages/apps/Settings/src/com/android/settings/applications/
DAppPermissionsPreferenceController.java111 ListFormatter.getInstance().format(permissionsToShow).toLowerCase()); in updateSummary()
114 ListFormatter.getInstance().format(permissionsToShow).toLowerCase()); in updateSummary()
/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/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAccessoryUtils.java147 final String name = device.getName().toLowerCase(); in isKnownDevice()
149 if (name.contains(knownLabel.toLowerCase())) { in isKnownDevice()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DUtilsTest.java79 assertEquals(expected, result.toLowerCase()); in testToHexString()
89 assertEquals(expected, result.toLowerCase()); in testToHex()

1234567