Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java284 doReturn(true).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isSystemAndIsProfileOrDeviceOwner_setButtonDisable()
294 doReturn(true).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isSystemAndIsNotProfileOrDeviceOwner_setButtonEnabled()
304 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isNotSystemAndIsProfileOrDeviceOwner_setButtonDisable()
315 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isNotSystemAndIsNotProfileOrDeviceOwner_setButtonEnabled()
356 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isNotSystemAndIsCurrentHomeAndHasOneHome_setButtonDisable()
370 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isNotSystemAndIsCurrentHomeAndHasOtherHome_setButtonEnable()
471 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in handleDisableable_isAppEnabled_controllable()
483 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in handleDisableable_isAppDisabled_controllable()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/
DShadowUtils.java43 public static boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo pkg) { in isSystemPackage() method in ShadowUtils
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java399 if (isSystemPackage(mActivity.getResources(), mPm, mPackageInfo)) { in updateUninstallButton()
582 || isSystemPackage(mActivity.getResources(), mPm, mPackageInfo)) { in handleDisableable()
601 boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo packageInfo) { in isSystemPackage() method in AppButtonsPreferenceController
602 return Utils.isSystemPackage(resources, pm, packageInfo); in isSystemPackage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DNotificationsPreference.java131 return Utils.isSystemPackage(context.getResources(), context.getPackageManager(), info) in isSystemApp()
DEnableDisablePreference.java104 Utils.isSystemPackage(getContext().getResources(), mPackageManager, packageInfo)); in canDisable()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DNotificationsPreferenceController.java126 return LibUtils.isSystemPackage( in isSystemApp()
DEnableDisablePreferenceController.java139 || LibUtils.isSystemPackage(mContext.getResources(), mPackageManager, packageInfo)); in canDisable()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DLibUtils.java218 public static boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo pkg) { in isSystemPackage() method in LibUtils
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java424 if (Utils.isSystemPackage(getContext().getResources(), mPm, mPackageInfo)) { in shouldDisableUninstallButton()