Searched refs:mLocaleConfig (Results 1 – 2 of 2) sorted by relevance
60 private LocaleConfig mLocaleConfig; field in AppLocaleUtilTest79 mLocaleConfig = mock(LocaleConfig.class); in setUp()89 when(mLocaleConfig.getStatus()).thenReturn(LocaleConfig.STATUS_SUCCESS); in canDisplayLocaleUi_showUI()90 when(mLocaleConfig.getSupportedLocales()).thenReturn(LocaleList.forLanguageTags("en-US")); in canDisplayLocaleUi_showUI()91 AppLocaleUtil.sLocaleConfig = mLocaleConfig; in canDisplayLocaleUi_showUI()125 when(mLocaleConfig.getStatus()).thenReturn(LocaleConfig.STATUS_SUCCESS); in getPackageLocales_getLocales_success()126 when(mLocaleConfig.getSupportedLocales()).thenReturn(LocaleList.forLanguageTags("en-US")); in getPackageLocales_getLocales_success()128 LocaleList result = AppLocaleUtil.getPackageLocales(mLocaleConfig); in getPackageLocales_getLocales_success()135 when(mLocaleConfig.getStatus()).thenReturn(LocaleConfig.STATUS_PARSING_FAILED); in getPackageLocales_getLocales_failed()137 LocaleList result = AppLocaleUtil.getPackageLocales(mLocaleConfig); in getPackageLocales_getLocales_failed()
105 private LocaleConfig mLocaleConfig; field in AppLocalePickerActivityTest120 mLocaleConfig = mock(LocaleConfig.class); in setUp()121 when(mLocaleConfig.getStatus()).thenReturn(LocaleConfig.STATUS_SUCCESS); in setUp()122 when(mLocaleConfig.getSupportedLocales()).thenReturn(LocaleList.forLanguageTags("en-US")); in setUp()123 ReflectionHelpers.setStaticField(AppLocaleUtil.class, "sLocaleConfig", mLocaleConfig); in setUp()147 when(mLocaleConfig.getStatus()).thenReturn(LocaleConfig.STATUS_NOT_SPECIFIED); in launchAppLocalePickerActivity_appNoLocaleConfig_failed()