Searched refs:profileAdmin (Results 1 – 2 of 2) sorted by relevance
259 EnforcedAdmin profileAdmin = null; in checkIfInputMethodDisallowed() local262 profileAdmin = getProfileOrDeviceOwner(context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed()267 if (profileAdmin != null && dpm.isOrganizationOwnedDeviceWithManagedProfile()) { in checkIfInputMethodDisallowed()271 profileAdmin.component, packageName, managedProfileId); in checkIfInputMethodDisallowed()279 return profileAdmin; in checkIfInputMethodDisallowed()318 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, in checkIfAccessibilityServiceDisallowed() local321 if (profileAdmin != null) { in checkIfAccessibilityServiceDisallowed()323 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed()330 return profileAdmin; in checkIfAccessibilityServiceDisallowed()
267 RestrictedLockUtils.EnforcedAdmin profileAdmin = in setRestrictedIfNotificationFeaturesDisabled() local270 if (profileAdmin != null && mLockscreenProfile != null) { in setRestrictedIfNotificationFeaturesDisabled()273 entry, entryValue, profileAdmin); in setRestrictedIfNotificationFeaturesDisabled()