Searched refs:isMainlineModule (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppButtons.kt | 39 if (remember(packageInfoPresenter) { packageInfoPresenter.isMainlineModule() }) return in AppButtons() 50 private fun PackageInfoPresenter.isMainlineModule(): Boolean = in PackageInfoPresenter() method 51 AppUtils.isMainlineModule(userPackageManager, packageName) in PackageInfoPresenter()
|
D | AppInstallerInfoPreference.kt | 96 !AppUtils.isMainlineModule(packageManager, app.packageName) && in installerLabel()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppInstallerInfoPreferenceControllerTest.java | 157 private void mockMainlineModule(String packageName, boolean isMainlineModule) in mockMainlineModule() argument 164 if (isMainlineModule) { in mockMainlineModule()
|
D | AppButtonsPreferenceControllerTest.java | 670 protected static boolean isMainlineModule(PackageManager pm, String packageName) { in isMainlineModule() method in AppButtonsPreferenceControllerTest.ShadowAppUtils
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStorageSettingsTest.java | 154 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/ |
D | AppButtonsTest.kt | 91 whenever(AppUtils.isMainlineModule(packageManager, PACKAGE_NAME)).thenReturn(false) in setUp() 102 whenever(AppUtils.isMainlineModule(packageManager, PACKAGE_NAME)).thenReturn(true) in isMainlineModule_notDisplayed()
|
D | AppInstallerInfoPreferenceTest.kt | 90 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/ |
D | AppInstallerInfoPreferenceController.java | 41 if (AppUtils.isMainlineModule(mContext.getPackageManager(), mPackageName)) { in getAvailabilityStatus()
|
D | AppButtonsPreferenceController.java | 745 || AppUtils.isMainlineModule(mPm, mAppEntry.info.packageName)); in isSystemModule()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/ |
D | AppUtils.java | 144 public static boolean isMainlineModule(PackageManager pm, String packageName) { in isMainlineModule() method in AppUtils
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSettings.java | 319 if (mAppsControlDisallowedBySystem || AppUtils.isMainlineModule(mPm, mPackageName)) { in initDataButtons() 584 if (mAppsControlDisallowedBySystem || AppUtils.isMainlineModule(mPm, mPackageName)) {
|