/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppButtonsPreferenceControllerTest.java | 282 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/ |
D | AppButtonsPreferenceController.java | 413 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/ |
D | ShadowUtils.java | 43 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/ |
D | PackageUtils.java | 65 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/ |
D | DialerRoleBehavior.java | 90 if (PackageUtils.isSystemPackage(packageName, context)) { in grant()
|
D | SmsRoleBehavior.java | 105 if (SdkLevel.isAtLeastS() && PackageUtils.isSystemPackage(packageName, context)) { in grant()
|
D | BrowserRoleBehavior.java | 138 if (PackageUtils.isSystemPackage(packageName, context)) { in grant()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | NotificationsPreference.java | 132 return Utils.isSystemPackage(context.getResources(), context.getPackageManager(), info) in isSystemApp()
|
D | EnableDisablePreference.java | 104 Utils.isSystemPackage(getContext().getResources(), mPackageManager, packageInfo)); in canDisable()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationActionButtonsPreferenceController.java | 404 if (Utils.isSystemPackage(getContext().getResources(), mPm, mPackageInfo)) { in shouldDisableUninstallButton()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 115 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked()
|