Searched refs:profileAdmin (Results 1 – 1 of 1) sorted by relevance
272 EnforcedAdmin profileAdmin = null; in checkIfInputMethodDisallowed() local275 profileAdmin = getProfileOrDeviceOwner(context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed()280 if (profileAdmin != null && dpm.isOrganizationOwnedDeviceWithManagedProfile()) { in checkIfInputMethodDisallowed()284 profileAdmin.component, packageName, managedProfileId); in checkIfInputMethodDisallowed()292 return profileAdmin; in checkIfInputMethodDisallowed()334 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, in checkIfAccessibilityServiceDisallowed() local337 if (profileAdmin != null) { in checkIfAccessibilityServiceDisallowed()339 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed()346 return profileAdmin; in checkIfAccessibilityServiceDisallowed()