Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java290 int managedProfileId = getManagedProfileId(context, userId); in checkIfInputMethodDisallowed() local
291 if (managedProfileId != UserHandle.USER_NULL) { in checkIfInputMethodDisallowed()
292 profileAdmin = getProfileOrDeviceOwner(context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed()
299 UserManager.get(context).getUserInfo(managedProfileId)); in checkIfInputMethodDisallowed()
301 profileAdmin.component, packageName, managedProfileId); in checkIfInputMethodDisallowed()
350 int managedProfileId = getManagedProfileId(context, userId); in checkIfAccessibilityServiceDisallowed() local
352 getUserHandleOf(managedProfileId)); in checkIfAccessibilityServiceDisallowed()
356 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed()
429 int managedProfileId = getManagedProfileId(context, userId); in checkIfUsbDataSignalingIsDisabled() local
430 if (admin == null && managedProfileId != UserHandle.USER_NULL) { in checkIfUsbDataSignalingIsDisabled()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java471 int managedProfileId = getManagedProfileId(context, userId); in checkIfInputMethodDisallowed() local
472 if (managedProfileId != UserHandle.USER_NULL) { in checkIfInputMethodDisallowed()
474 context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed()
481 UserManager.get(context).getUserInfo(managedProfileId)); in checkIfInputMethodDisallowed()
483 profileAdmin.component, packageName, managedProfileId); in checkIfInputMethodDisallowed()