Home
last modified time | relevance | path

Searched refs:availableLocales (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DLocaleUtilsTest.java40 final ArrayList<Locale> availableLocales = new ArrayList<>(); in testFilterByLanguageEmptyLanguageList() local
41 availableLocales.add(Locale.forLanguageTag("en-US")); in testFilterByLanguageEmptyLanguageList()
42 availableLocales.add(Locale.forLanguageTag("fr-CA")); in testFilterByLanguageEmptyLanguageList()
43 availableLocales.add(Locale.forLanguageTag("in")); in testFilterByLanguageEmptyLanguageList()
44 availableLocales.add(Locale.forLanguageTag("ja")); in testFilterByLanguageEmptyLanguageList()
45 availableLocales.add(Locale.forLanguageTag("fil")); in testFilterByLanguageEmptyLanguageList()
50 LocaleUtils.filterByLanguage(availableLocales, sIdentityMapper, preferredLocales, dest); in testFilterByLanguageEmptyLanguageList()
56 final ArrayList<Locale> availableLocales = new ArrayList<>(); in testFilterDoesNotMatchAnything() local
57 availableLocales.add(Locale.forLanguageTag("en-US")); in testFilterDoesNotMatchAnything()
58 availableLocales.add(Locale.forLanguageTag("fr-CA")); in testFilterDoesNotMatchAnything()
[all …]
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java416 String[] availableLocales = mAssets.getNonSystemLocales(); in updateConfiguration() local
417 if (LocaleList.isPseudoLocalesOnly(availableLocales)) { in updateConfiguration()
419 availableLocales = mAssets.getLocales(); in updateConfiguration()
420 if (LocaleList.isPseudoLocalesOnly(availableLocales)) { in updateConfiguration()
421 availableLocales = null; in updateConfiguration()
425 if (availableLocales != null) { in updateConfiguration()
427 availableLocales); in updateConfiguration()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...