Searched refs:managedProfileId (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | RestrictedLockUtilsInternal.java | 54 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()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsInternal.java | 277 int managedProfileId = getManagedProfileId(context, userId); in checkIfInputMethodDisallowed() local 278 if (managedProfileId != UserHandle.USER_NULL) { in checkIfInputMethodDisallowed() 279 profileAdmin = getProfileOrDeviceOwner(context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed() 286 UserManager.get(context).getUserInfo(managedProfileId)); in checkIfInputMethodDisallowed() 288 profileAdmin.component, packageName, managedProfileId); in checkIfInputMethodDisallowed() 337 int managedProfileId = getManagedProfileId(context, userId); in checkIfAccessibilityServiceDisallowed() local 339 getUserHandleOf(managedProfileId)); in checkIfAccessibilityServiceDisallowed() 343 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed() 416 int managedProfileId = getManagedProfileId(context, userId); in checkIfUsbDataSignalingIsDisabled() local 417 if (admin == null && managedProfileId != UserHandle.USER_NULL) { in checkIfUsbDataSignalingIsDisabled() [all …]
|