Home
last modified time | relevance | path

Searched refs:getProfileOrDeviceOwner (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java37 public static EnforcedAdmin getProfileOrDeviceOwner(Context context, UserHandle user) { in getProfileOrDeviceOwner() method in RestrictedLockUtils
38 return getProfileOrDeviceOwner(context, null, user); in getProfileOrDeviceOwner()
41 public static EnforcedAdmin getProfileOrDeviceOwner( in getProfileOrDeviceOwner() method in RestrictedLockUtils
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java230 return getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfUninstallBlocked()
249 return getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfApplicationIsSuspended()
264 EnforcedAdmin admin = getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfInputMethodDisallowed()
271 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, in checkIfInputMethodDisallowed()
318 EnforcedAdmin admin = getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfAccessibilityServiceDisallowed()
325 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, in checkIfAccessibilityServiceDisallowed()
386 return getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfAccountManagementDisabled()
398 final EnforcedAdmin enforcedAdmin = getProfileOrDeviceOwner(context, in checkIfMeteredDataRestricted()