Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java282 doReturn(true).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isSystemAndIsProfileOrDeviceOwner_setButtonDisable()
292 doReturn(true).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isSystemAndIsNotProfileOrDeviceOwner_setButtonEnabled()
302 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isNotSystemAndIsProfileOrDeviceOwner_setButtonDisable()
313 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in updateUninstallButton_isNotSystemAndIsNotProfileOrDeviceOwner_setButtonEnabled()
441 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in handleDisableable_isAppEnabled_controllable()
453 doReturn(false).when(mController).isSystemPackage(any(), any(), any()); in handleDisableable_isAppDisabled_controllable()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java413 if (isSystemPackage(mActivity.getResources(), mPm, mPackageInfo)) { in updateUninstallButton()
586 || isSystemPackage(mActivity.getResources(), mPm, mPackageInfo)) { in handleDisableable()
605 boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo packageInfo) { in isSystemPackage() method in AppButtonsPreferenceController
606 return Utils.isSystemPackage(resources, pm, packageInfo); in isSystemPackage()
/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/utils/
DPackageUtils.java65 public static boolean isSystemPackage(@NonNull String packageName, @NonNull Context context) { in isSystemPackage() method in PackageUtils
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DDialerRoleBehavior.java90 if (PackageUtils.isSystemPackage(packageName, context)) { in grant()
DSmsRoleBehavior.java105 if (SdkLevel.isAtLeastS() && PackageUtils.isSystemPackage(packageName, context)) { in grant()
DBrowserRoleBehavior.java138 if (PackageUtils.isSystemPackage(packageName, context)) { in grant()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DNotificationsPreference.java132 return Utils.isSystemPackage(context.getResources(), context.getPackageManager(), info) in isSystemApp()
DEnableDisablePreference.java104 Utils.isSystemPackage(getContext().getResources(), mPackageManager, packageInfo)); in canDisable()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java404 if (Utils.isSystemPackage(getContext().getResources(), mPm, mPackageInfo)) { in shouldDisableUninstallButton()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java115 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked()