Home
last modified time | relevance | path

Searched refs:isMainlineModule (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppButtons.kt39 if (remember(packageInfoPresenter) { packageInfoPresenter.isMainlineModule() }) return in AppButtons()
50 private fun PackageInfoPresenter.isMainlineModule(): Boolean = in PackageInfoPresenter() method
51 AppUtils.isMainlineModule(userPackageManager, packageName) in PackageInfoPresenter()
DAppInstallerInfoPreference.kt96 !AppUtils.isMainlineModule(packageManager, app.packageName) && in installerLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInstallerInfoPreferenceControllerTest.java157 private void mockMainlineModule(String packageName, boolean isMainlineModule) in mockMainlineModule() argument
164 if (isMainlineModule) { in mockMainlineModule()
DAppButtonsPreferenceControllerTest.java670 protected static boolean isMainlineModule(PackageManager pm, String packageName) { in isMainlineModule() method in AppButtonsPreferenceControllerTest.ShadowAppUtils
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStorageSettingsTest.java154 private void mockMainlineModule(String packageName, boolean isMainlineModule) in mockMainlineModule() argument
161 if (isMainlineModule) { in mockMainlineModule()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppButtonsTest.kt91 whenever(AppUtils.isMainlineModule(packageManager, PACKAGE_NAME)).thenReturn(false) in setUp()
102 whenever(AppUtils.isMainlineModule(packageManager, PACKAGE_NAME)).thenReturn(true) in isMainlineModule_notDisplayed()
DAppInstallerInfoPreferenceTest.kt90 whenever(AppUtils.isMainlineModule(any(), eq(PACKAGE_NAME))).thenReturn(false) in setUp()
118 whenever(AppUtils.isMainlineModule(any(), eq(PACKAGE_NAME))).thenReturn(true) in whenIsMainlineModule_notDisplayed()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInstallerInfoPreferenceController.java41 if (AppUtils.isMainlineModule(mContext.getPackageManager(), mPackageName)) { in getAvailabilityStatus()
DAppButtonsPreferenceController.java745 || AppUtils.isMainlineModule(mPm, mAppEntry.info.packageName)); in isSystemModule()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DAppUtils.java144 public static boolean isMainlineModule(PackageManager pm, String packageName) { in isMainlineModule() method in AppUtils
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java319 if (mAppsControlDisallowedBySystem || AppUtils.isMainlineModule(mPm, mPackageName)) { in initDataButtons()
584 if (mAppsControlDisallowedBySystem || AppUtils.isMainlineModule(mPm, mPackageName)) {