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.java271 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, in checkIfInputMethodDisallowed() local
274 if (profileAdmin != null) { in checkIfInputMethodDisallowed()
275 permittedByProfileAdmin = dpm.isInputMethodPermittedByAdmin(profileAdmin.component, in checkIfInputMethodDisallowed()
283 return profileAdmin; in checkIfInputMethodDisallowed()
325 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, in checkIfAccessibilityServiceDisallowed() local
328 if (profileAdmin != null) { in checkIfAccessibilityServiceDisallowed()
330 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed()
337 return profileAdmin; in checkIfAccessibilityServiceDisallowed()