Home
last modified time | relevance | path

Searched refs:localeFilter (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java103 Predicate<String> localeFilter = getLocaleFilter(); in getSupportedLocales() local
104 if (localeFilter == null) { in getSupportedLocales()
110 if (localeFilter.test(locale)) { in getSupportedLocales()
327 Predicate<String> localeFilter = getLocaleFilter();
328 if (localeFilter == null) {
336 if (localeFilter.test(locale.toString())) {
/frameworks/base/tests/LocalizationTest/java/com/android/internal/app/
DLocalizationTest.kt107 private fun setTestLocaleFilter(localeFilter: String?) { in setTestLocaleFilter()
108 doReturn(localeFilter).`when` { SystemProperties.get(eq("ro.localization.locale_filter")) } in setTestLocaleFilter()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java302 final IntentFilter localeFilter = new IntentFilter(); in ContentService() local
303 localeFilter.addAction(Intent.ACTION_LOCALE_CHANGED); in ContentService()
305 localeFilter, null, null); in ContentService()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java473 final IntentFilter localeFilter = new IntentFilter(); in ShortcutService() local
474 localeFilter.addAction(Intent.ACTION_LOCALE_CHANGED); in ShortcutService()
475 localeFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in ShortcutService()
477 localeFilter, null, mHandler); in ShortcutService()