Searched defs:EnforcedAdmin (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockUtils.java71 * @return EnforcedAdmin Object containing the enforced admin component and admin user details,
76 public static EnforcedAdmin checkIfRestrictionEnforced(Context context,
92 return EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN;
104 // Otherwise it is in a separate user and we return a default EnforcedAdmin.
108 : EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN;
112 // if the admin is for the {@param userId} otherwise return a default EnforcedAdmin.
114 ? getDeviceOwner(context) : EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN;
137 * @return EnforcedAdmin Object containing the enforced admin component and admin user details,
142 public static EnforcedAdmin checkIfKeyguardFeaturesDisabled(Context context,
161 * {@code admins.stream().filter(check).map(x → new EnforcedAdmin(admi
724 public static class EnforcedAdmin { class in class:RestrictedLockUtils
731 public EnforcedAdmin(ComponentName component, int userId) { method in class:RestrictedLockUtils.EnforcedAdmin
736 public EnforcedAdmin(EnforcedAdmin other) { method in class:RestrictedLockUtils.EnforcedAdmin
744 public EnforcedAdmin() {} method in class:RestrictedLockUtils.EnforcedAdmin
[all...]

Completed in 297 milliseconds