/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | char_utils_test.cpp | 43 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/ |
D | MoreDatabaseUtilTest.java | 39 .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/ |
D | OutgoingTransportStateValidator.java | 84 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/ |
D | SyntheticPathUtils.java | 96 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()
|
D | MimeUtils.java | 50 .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/ |
D | QueryFilteringUtil.java | 80 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()
|
D | QueryBoldingUtil.java | 65 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/ |
D | typing_weighting.cpp | 49 } 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/ |
D | SppConstants.java | 78 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/ |
D | DeviceWorkArounds.java | 28 return bdAddr.toLowerCase().startsWith(carkitAddr.toLowerCase()); in addressStartsWith()
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
D | ContactsProvider.java | 78 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/ |
D | Message.java | 299 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/ |
D | QueryParameterUtils.java | 28 : (!"false".equals(flag.toLowerCase()) && !"0".equals(flag.toLowerCase())); in readBooleanQueryParameter()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | SearchQueryUtils.java | 59 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/ |
D | AccountUtils.java | 58 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/ |
D | DigestAuthUtils.java | 58 && !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/ |
D | XmpUtil.java | 85 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/ |
D | char_utils.h | 38 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/ |
D | DatabaseAnalyzer.java | 50 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/ |
D | AdTechUriValidator.java | 123 || 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/ |
D | SystemData.java | 52 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/ |
D | EditDistanceScorer.java | 48 final int distance = editDistance(actualValueText.toLowerCase(), in calculateScore() 49 userDataValue.toLowerCase()); in calculateScore()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | Backend.java | 75 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/ |
D | RegulatoryInfoDisplayActivity.java | 135 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/ |
D | MimeUtility.java | 190 String lowerCaseName = name.toLowerCase(); in getHeaderParameter() 192 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter() 363 String mimeType = part.getMimeType().toLowerCase(); in collectParts()
|