Home
last modified time | relevance | path

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

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRestrictedLockUtilsInternal.java259 EnforcedAdmin profileAdmin = null; in checkIfInputMethodDisallowed() local
262 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() local
321 if (profileAdmin != null) { in checkIfAccessibilityServiceDisallowed()
323 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed()
330 return profileAdmin; in checkIfAccessibilityServiceDisallowed()
/packages/apps/Settings/src/com/android/settings/notification/
DLockScreenNotificationPreferenceController.java267 RestrictedLockUtils.EnforcedAdmin profileAdmin = in setRestrictedIfNotificationFeaturesDisabled() local
270 if (profileAdmin != null && mLockscreenProfile != null) { in setRestrictedIfNotificationFeaturesDisabled()
273 entry, entryValue, profileAdmin); in setRestrictedIfNotificationFeaturesDisabled()