Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java272 EnforcedAdmin profileAdmin = null; in checkIfInputMethodDisallowed() local
275 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() local
337 if (profileAdmin != null) { in checkIfAccessibilityServiceDisallowed()
339 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed()
346 return profileAdmin; in checkIfAccessibilityServiceDisallowed()