/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppButtonsPreferenceControllerTest.java | 284 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/ |
D | ShadowUtils.java | 43 public static boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo pkg) { in isSystemPackage() method in ShadowUtils
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 399 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/ |
D | NotificationsPreference.java | 131 return Utils.isSystemPackage(context.getResources(), context.getPackageManager(), info) in isSystemApp()
|
D | EnableDisablePreference.java | 104 Utils.isSystemPackage(getContext().getResources(), mPackageManager, packageInfo)); in canDisable()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/ |
D | NotificationsPreferenceController.java | 126 return LibUtils.isSystemPackage( in isSystemApp()
|
D | EnableDisablePreferenceController.java | 139 || LibUtils.isSystemPackage(mContext.getResources(), mPackageManager, packageInfo)); in canDisable()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | LibUtils.java | 218 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/ |
D | ApplicationActionButtonsPreferenceController.java | 424 if (Utils.isSystemPackage(getContext().getResources(), mPm, mPackageInfo)) { in shouldDisableUninstallButton()
|