Searched refs:EnforcedAdmin (Results 1 – 6 of 6) sorted by relevance
69 public static EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced()95 final EnforcedAdmin deviceOwner = getDeviceOwner(context); in checkIfRestrictionEnforced()98 : EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN; in checkIfRestrictionEnforced()119 public static EnforcedAdmin checkIfKeyguardFeaturesDisabled(Context context, in checkIfKeyguardFeaturesDisabled()128 EnforcedAdmin enforcedAdmin = null; in checkIfKeyguardFeaturesDisabled()137 enforcedAdmin = new EnforcedAdmin(admin, userId); in checkIfKeyguardFeaturesDisabled()139 return EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN; in checkIfKeyguardFeaturesDisabled()158 enforcedAdmin = new EnforcedAdmin(admin, userInfo.id); in checkIfKeyguardFeaturesDisabled()160 return EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN; in checkIfKeyguardFeaturesDisabled()176 enforcedAdmin = new EnforcedAdmin(admin, userInfo.id); in checkIfKeyguardFeaturesDisabled()[all …]
30 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;41 private EnforcedAdmin mEnforcedAdmin;134 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled()146 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
28 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;102 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
31 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;164 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
58 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;318 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly()557 public EnforcedAdmin enforcedAdmin;590 other.enforcedAdmin = new EnforcedAdmin(enforcedAdmin); in copyTo()
67 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;680 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfAddUserDisallowedByAdminOnly()705 public EnforcedAdmin enforcedAdmin;