Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DRestrictedLockUtilsInternal.java54 int managedProfileId = getManagedProfileId(context, userId); in checkIfAccessibilityServiceDisallowed() local
56 getUserHandleOf(managedProfileId)); in checkIfAccessibilityServiceDisallowed()
60 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed()
91 int managedProfileId = getManagedProfileId(context, userId); in checkIfInputMethodDisallowed() local
92 if (managedProfileId != UserHandle.USER_NULL) { in checkIfInputMethodDisallowed()
94 context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed()
101 UserManager.get(context).getUserInfo(managedProfileId)); in checkIfInputMethodDisallowed()
103 profileAdmin.component, packageName, managedProfileId); in checkIfInputMethodDisallowed()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java355 int managedProfileId = getManagedProfileId(context, userId); in checkIfInputMethodDisallowed() local
356 if (managedProfileId != UserHandle.USER_NULL) { in checkIfInputMethodDisallowed()
357 profileAdmin = getProfileOrDeviceOwner(context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed()
364 UserManager.get(context).getUserInfo(managedProfileId)); in checkIfInputMethodDisallowed()
366 profileAdmin.component, packageName, managedProfileId); in checkIfInputMethodDisallowed()
415 int managedProfileId = getManagedProfileId(context, userId); in checkIfAccessibilityServiceDisallowed() local
417 getUserHandleOf(managedProfileId)); in checkIfAccessibilityServiceDisallowed()
421 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed()
494 int managedProfileId = getManagedProfileId(context, userId); in checkIfUsbDataSignalingIsDisabled() local
495 if (admin == null && managedProfileId != UserHandle.USER_NULL) { in checkIfUsbDataSignalingIsDisabled()
[all …]