Searched refs:AppLocaleUtil (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppLocaleUtilTest.java | 84 AppLocaleUtil.sLocaleConfig = null; in tearDown() 91 AppLocaleUtil.sLocaleConfig = mLocaleConfig; in canDisplayLocaleUi_showUI() 95 assertTrue(AppLocaleUtil.canDisplayLocaleUi(mContext, mAppInfo, mListResolveInfo)); in canDisplayLocaleUi_showUI() 104 assertFalse(AppLocaleUtil.canDisplayLocaleUi(mContext, mAppInfo, mListResolveInfo)); in canDisplayLocaleUi_notShowUI_hasPlatformKey() 111 assertFalse(AppLocaleUtil.canDisplayLocaleUi(mContext, mAppInfo, mListResolveInfo)); in canDisplayLocaleUi_notShowUI_noLauncherEntry() 119 assertFalse(AppLocaleUtil in canDisplayLocaleUi_notShowUI_matchDisallowedPackageList() 128 LocaleList result = AppLocaleUtil.getPackageLocales(mLocaleConfig); in getPackageLocales_getLocales_success() 137 LocaleList result = AppLocaleUtil.getPackageLocales(mLocaleConfig); in getPackageLocales_getLocales_failed()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppLocalePreferenceController.java | 31 import com.android.settings.applications.AppLocaleUtil; 47 AppLocaleUtil.LAUNCHER_ENTRY_INTENT, PackageManager.GET_META_DATA); in AppLocalePreferenceController() 84 return AppLocaleUtil in canDisplayLocaleUi()
|
D | AppLocaleDetails.java | 43 import com.android.settings.applications.AppLocaleUtil; 181 LocaleList packageLocaleList = AppLocaleUtil.getPackageLocales(getContext(), mPackageName); in getAppDescription() 182 String[] assetLocaleList = AppLocaleUtil.getAssetLocales(getContext(), mPackageName); in getAppDescription()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppLocalePreferenceTest.kt | 35 import com.android.settings.applications.AppLocaleUtil 75 .mockStatic(AppLocaleUtil::class.java) in setUp() 80 whenever(AppLocaleUtil.canDisplayLocaleUi(any(), eq(APP), any())).thenReturn(true) in setUp() 91 whenever(AppLocaleUtil.canDisplayLocaleUi(any(), eq(APP), any())).thenReturn(false) in whenCanNotDisplayLocalUi_notDisplayed()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppLocalePreference.kt | 33 import com.android.settings.applications.AppLocaleUtil 70 AppLocaleUtil.LAUNCHER_ENTRY_INTENT, in <lambda>() 74 AppLocaleUtil.canDisplayLocaleUi(context, app, resolveInfos) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateLocaleBridge.java | 57 app.extraInfo = AppLocaleUtil.canDisplayLocaleUi(appInfoByProfiles.mContextAsUser, in updateExtraInfo() 68 app.extraInfo = AppLocaleUtil.canDisplayLocaleUi(appInfoByProfiles.mContextAsUser, in loadAllExtraInfo() 129 AppLocaleUtil.LAUNCHER_ENTRY_INTENT, PackageManager.GET_META_DATA); in AppInfoByProfiles()
|
D | AppLocaleUtil.java | 40 public class AppLocaleUtil { class 41 private static final String TAG = AppLocaleUtil.class.getSimpleName();
|
/packages/apps/Settings/src/com/android/settings/spa/system/ |
D | AppLanguagesListModel.kt | 31 import com.android.settings.applications.AppLocaleUtil in <lambda>() 59 AppLocaleUtil.LAUNCHER_ENTRY_INTENT, in <lambda>() 68 isAppLocaleSupported = AppLocaleUtil.canDisplayLocaleUi( in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
D | AppLocalePickerActivity.java | 46 import com.android.settings.applications.AppLocaleUtil; 274 return AppLocaleUtil.canDisplayLocaleUi(this, in canDisplayLocaleUi() 276 packageManager.queryIntentActivities(AppLocaleUtil.LAUNCHER_ENTRY_INTENT, in canDisplayLocaleUi()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/ |
D | AppLocalePickerActivityTest.java | 55 import com.android.settings.applications.AppLocaleUtil; 123 ReflectionHelpers.setStaticField(AppLocaleUtil.class, "sLocaleConfig", mLocaleConfig); in setUp() 131 ReflectionHelpers.setStaticField(AppLocaleUtil.class, "sLocaleConfig", null); in tearDown()
|