/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationsUtilsTest.java | 90 assertThat(ApplicationsUtils.isProfileOrDeviceOwner(PACKAGE_NAME, dpm, userHelper)) in isProfileOrDeviceOwner_profileOwner_returnsTrue() 99 assertThat(ApplicationsUtils.isProfileOrDeviceOwner(PACKAGE_NAME, dpm, in isProfileOrDeviceOwner_deviceOwner_returnsTrue() 105 assertThat(ApplicationsUtils.isProfileOrDeviceOwner(PACKAGE_NAME, in isProfileOrDeviceOwner_returnsFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 175 assertThat(Utils.isProfileOrDeviceOwner(mUserManager, mDevicePolicyManager, PACKAGE_NAME)) in isProfileOrDeviceOwner_deviceOwnerApp_returnTrue() 188 assertThat(Utils.isProfileOrDeviceOwner(mUserManager, mDevicePolicyManager, PACKAGE_NAME)) in isProfileOrDeviceOwner_profileOwnerApp_returnTrue()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsDialogBuilder.java | 231 final boolean isProfileOrDeviceOwner = RestrictedLockUtils.getProfileOrDeviceOwner( in updatePositiveButton() 235 CharSequence displayText = mActivity.getText(!isProfileOrDeviceOwner && mNeedsApproval in updatePositiveButton()
|
D | Utils.java | 881 public static boolean isProfileOrDeviceOwner(UserManager userManager, in isProfileOrDeviceOwner() method in Utils 905 public static boolean isProfileOrDeviceOwner(DevicePolicyManager devicePolicyManager, in isProfileOrDeviceOwner() method in Utils
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TrustedCredentialsDialogBuilder.java | 231 final boolean isProfileOrDeviceOwner = RestrictedLockUtils.getProfileOrDeviceOwner( in updatePositiveButton() 235 CharSequence displayText = mActivity.getText(!isProfileOrDeviceOwner && mNeedsApproval in updatePositiveButton()
|
D | Utils.java | 896 public static boolean isProfileOrDeviceOwner(UserManager userManager, in isProfileOrDeviceOwner() method in Utils
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragment.java | 22 import static com.android.car.settings.applications.ApplicationsUtils.isProfileOrDeviceOwner; 295 if (isProfileOrDeviceOwner(mPackageName, mDpm, mUserHelper)) { in shouldDisableUninstallButton()
|
D | ApplicationsUtils.java | 63 public static boolean isProfileOrDeviceOwner(String packageName, DevicePolicyManager dpm, in isProfileOrDeviceOwner() method in ApplicationsUtils
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 89 || Utils.isProfileOrDeviceOwner(mUserManager, mDpm, mTargetPackage)) { in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 89 || Utils.isProfileOrDeviceOwner(mUserManager, mDpm, mTargetPackage)) { in updateState()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 407 if (Utils.isProfileOrDeviceOwner(mUserManager, mDpm, mPackageInfo.packageName)) { in updateUninstallButton() 413 if (Utils.isProfileOrDeviceOwner(mDpm, mPackageInfo.packageName, mUserId)) { in updateUninstallButton()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 399 if (Utils.isProfileOrDeviceOwner(mUserManager, mDpm, mPackageInfo.packageName)) { in updateUninstallButton()
|