Searched refs:LocaleUtils (Results 1 – 11 of 11) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | MccTableTest.java | 27 import com.android.internal.telephony.util.LocaleUtils; 66 assertEquals("en", LocaleUtils.defaultLanguageForMcc(311)); in testLang() 67 assertEquals("de", LocaleUtils.defaultLanguageForMcc(232)); in testLang() 68 assertEquals("cs", LocaleUtils.defaultLanguageForMcc(230)); in testLang() 69 assertEquals("nl", LocaleUtils.defaultLanguageForMcc(204)); in testLang() 70 assertEquals("is", LocaleUtils.defaultLanguageForMcc(274)); in testLang() 72 assertEquals(null, LocaleUtils.defaultLanguageForMcc(0)); in testLang() 74 assertEquals(null, LocaleUtils.defaultLanguageForMcc(2000)); in testLang() 80 assertEquals("en", LocaleUtils.defaultLanguageForMcc(404)); in testLang_India() 81 assertEquals("en", LocaleUtils.defaultLanguageForMcc(405)); in testLang_India() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
D | LocaleUtilsTest.java | 36 private static final LocaleUtils.LocaleExtractor<Locale> sIdentityMapper = source -> source; 50 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguageEmptyLanguageList() 66 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterDoesNotMatchAnything() 77 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguageEmptySource() 89 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguageNullAvailableLocales() 100 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguageNullAvailableLocales() 112 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguageNullAvailableLocales() 125 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguageNullAvailableLocales() 138 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguageNullAvailableLocales() 156 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguage() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/ |
D | LocaleUtilsTest.java | 50 LocaleUtils.getSuitableLocalesForSpellChecker(LOCALE_EN_US); in testGetSuitableLocalesForSpellChecker() 59 LocaleUtils.getSuitableLocalesForSpellChecker(LOCALE_EN_GB); in testGetSuitableLocalesForSpellChecker() 68 LocaleUtils.getSuitableLocalesForSpellChecker(LOCALE_EN); in testGetSuitableLocalesForSpellChecker() 77 LocaleUtils.getSuitableLocalesForSpellChecker(LOCALE_EN_IN); in testGetSuitableLocalesForSpellChecker() 87 LocaleUtils.getSuitableLocalesForSpellChecker(LOCALE_JA_JP); in testGetSuitableLocalesForSpellChecker() 99 LocaleUtils.getSuitableLocalesForSpellChecker(LOCALE_FIL_PH); in testGetSuitableLocalesForSpellChecker() 111 LocaleUtils.getSuitableLocalesForSpellChecker(LOCALE_TH_TH_TH); in testGetSuitableLocalesForSpellChecker() 131 LocaleUtils.getSuitableLocalesForSpellChecker(localeWithVariant); in testGetSuitableLocalesForSpellChecker()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | LocaleUtils.java | 31 final class LocaleUtils { class
|
D | TextServicesManagerService.java | 474 LocaleUtils.getSuitableLocalesForSpellChecker(systemLocal); in findAvailSystemSpellCheckerLocked()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | LocaleUtils.java | 32 final class LocaleUtils { class
|
D | InputMethodUtils.java | 422 private static final LocaleUtils.LocaleExtractor<InputMethodSubtype> sSubtypeToLocale = 423 new LocaleUtils.LocaleExtractor<InputMethodSubtype>() { 499 LocaleUtils.filterByLanguage(keyboardSubtypes, sSubtypeToLocale, systemLocales, in getImplicitlyApplicableSubtypesLockedImpl() 535 LocaleUtils.filterByLanguage(subtypeList, sSubtypeToLocale, systemLocales, in getImplicitlyApplicableSubtypesLockedImpl()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 34 public class LocaleUtils { class
|
/frameworks/base/config/ |
D | preloaded-classes | 7616 sun.util.locale.LocaleUtils
|
D | boot-image-profile.txt | 32021 HSPLsun/util/locale/LocaleUtils;->caseIgnoreMatch(Ljava/lang/String;Ljava/lang/String;)Z 32022 HSPLsun/util/locale/LocaleUtils;->toLowerString(Ljava/lang/String;)Ljava/lang/String; 32023 HSPLsun/util/locale/LocaleUtils;->toTitleString(Ljava/lang/String;)Ljava/lang/String; 32024 HSPLsun/util/locale/LocaleUtils;->toUpperString(Ljava/lang/String;)Ljava/lang/String; 40712 Lsun/util/locale/LocaleUtils;
|
/frameworks/base/services/ |
D | art-profile | 7405 …com/android/server/inputmethod/LocaleUtils;->filterByLanguage(Ljava/util/List;Lcom/android/server/… 13340 HSPLcom/android/server/textservices/LocaleUtils;->getSuitableLocalesForSpellChecker(Ljava/util/Loca… 19303 Lcom/android/server/inputmethod/LocaleUtils$LocaleExtractor;
|