Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java462 final LocaleList currentLocales = conf.getLocales(); in setLocaleData() local
464 final LocaleList merged = resolveLocales(localeList, currentLocales, supportedLocales); in setLocaleData()
465 if (merged.equals(currentLocales)) { in setLocaleData()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutUser.java310 final String currentLocales = mService.injectGetLocaleTagsForUser(mUserId); in detectLocaleChange() local
311 if (!TextUtils.isEmpty(mKnownLocales) && mKnownLocales.equals(currentLocales)) { in detectLocaleChange()
315 Slog.d(TAG, "Locale changed from " + mKnownLocales + " to " + currentLocales in detectLocaleChange()
319 mKnownLocales = currentLocales; in detectLocaleChange()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java1820 final LocaleSet currentLocales = mCurrentLocales; in updateLocaleInBackground() local
1822 if (!needsToUpdateLocaleData(prefs, currentLocales, mContactsHelper, mProfileHelper)) { in updateLocaleInBackground()
1828 mContactsHelper.setLocale(currentLocales); in updateLocaleInBackground()
1829 mProfileHelper.setLocale(currentLocales); in updateLocaleInBackground()
1831 prefs.edit().putString(PREF_LOCALE, currentLocales.toString()).commit(); in updateLocaleInBackground()
1850 final LocaleSet currentLocales = LocaleSet.newDefault(); in updateLocaleOffline() local
1851 if (!needsToUpdateLocaleData(prefs, currentLocales, contactsHelper, profileHelper)) { in updateLocaleOffline()
1855 contactsHelper.setLocale(currentLocales); in updateLocaleOffline()
1856 profileHelper.setLocale(currentLocales); in updateLocaleOffline()
1858 prefs.edit().putString(PREF_LOCALE, currentLocales.toString()).commit(); in updateLocaleOffline()