Searched refs:getProfileOrDeviceOwner (Results 1 – 1 of 1) sorted by relevance
203 return getProfileOrDeviceOwner(context, userId); in checkIfUninstallBlocked()222 return getProfileOrDeviceOwner(context, userId); in checkIfApplicationIsSuspended()237 EnforcedAdmin admin = getProfileOrDeviceOwner(context, userId); in checkIfInputMethodDisallowed()244 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, managedProfileId); in checkIfInputMethodDisallowed()290 EnforcedAdmin admin = getProfileOrDeviceOwner(context, userId); in checkIfAccessibilityServiceDisallowed()297 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, managedProfileId); in checkIfAccessibilityServiceDisallowed()356 return getProfileOrDeviceOwner(context, userId); in checkIfAccountManagementDisabled()515 public static EnforcedAdmin getProfileOrDeviceOwner(Context context, int userId) { in getProfileOrDeviceOwner() method in RestrictedLockUtils