Home
last modified time | relevance | path

Searched refs:LocaleUtil (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/language/
DLanguageBasePreferenceControllerTest.java132 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasMultipleChildLocales_returnsTrue()
145 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasMultipleChildLocales_localeNotUpdated()
159 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasMultipleChildLocales_neverCallsGoBack()
173 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasSingleChildLocale_returnsTrue()
184 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasSingleChildLocale_localeUpdated()
197 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasSingleChildLocale_callsGoBack()
210 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_noChildLocale_returnsFalse()
217 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_noChildLocale_localeNotUpdated()
225 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_noChildLocale_neverCallsGoBack()
234 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasParentLocale_returnsTrue()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/language/
DLocaleUtil.java27 public class LocaleUtil { class
32 private LocaleUtil() { in LocaleUtil() method in LocaleUtil
DChildLocalePickerFragment.java40 bundle.putSerializable(LocaleUtil.LOCALE_BUNDLE_KEY, parentLocaleInfo.getLocale()); in newInstance()
61 Locale locale = (Locale) getArguments().getSerializable(LocaleUtil.LOCALE_BUNDLE_KEY); in onAttach()
DLanguageBasePreferenceController.java88 LocaleStore.LocaleInfo localeInfo = LocaleUtil.getLocaleArgument(preference); in onPreferenceClick()
DLocalePreferenceProvider.java140 LocaleUtil.setLocaleArgument(preference, info); in getPreference()