Home
last modified time | relevance | path

Searched refs:canDisplayLocaleUi (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppLocalePreferenceController.java52 return canDisplayLocaleUi() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
83 boolean canDisplayLocaleUi() { in canDisplayLocaleUi() method in AppLocalePreferenceController
85 .canDisplayLocaleUi(mContext, mParent.getAppEntry().info, mListInfos); in canDisplayLocaleUi()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppLocaleUtilTest.java95 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()
120 .canDisplayLocaleUi(mContext, mAppInfo, mListResolveInfo)); in canDisplayLocaleUi_notShowUI_matchDisallowedPackageList()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateLocaleBridge.java57 app.extraInfo = AppLocaleUtil.canDisplayLocaleUi(appInfoByProfiles.mContextAsUser, in updateExtraInfo()
68 app.extraInfo = AppLocaleUtil.canDisplayLocaleUi(appInfoByProfiles.mContextAsUser, in loadAllExtraInfo()
DAppLocaleUtil.java52 public static boolean canDisplayLocaleUi( in canDisplayLocaleUi() method in AppLocaleUtil
/packages/apps/Settings/src/com/android/settings/localepicker/
DAppLocalePickerActivity.java87 if (!canDisplayLocaleUi()) { in onCreate()
271 private boolean canDisplayLocaleUi() { in canDisplayLocaleUi() method in AppLocalePickerActivity
274 return AppLocaleUtil.canDisplayLocaleUi(this, in canDisplayLocaleUi()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppLocalePreferenceTest.kt80 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/tests/unit/src/com/android/settings/applications/appinfo/
DAppLocalePreferenceControllerTest.java47 boolean canDisplayLocaleUi() { in setUp()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppLocalePreference.kt74 AppLocaleUtil.canDisplayLocaleUi(context, app, resolveInfos) in <lambda>()
/packages/apps/Settings/src/com/android/settings/spa/system/
DAppLanguagesListModel.kt68 isAppLocaleSupported = AppLocaleUtil.canDisplayLocaleUi( in <lambda>()