Searched refs:getLocaleArgument (Results 1 – 3 of 3) sorted by relevance
132 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 …]
42 public static LocaleStore.LocaleInfo getLocaleArgument(Preference preference) { in getLocaleArgument() method in LocaleUtil
88 LocaleStore.LocaleInfo localeInfo = LocaleUtil.getLocaleArgument(preference); in onPreferenceClick()