Searched refs:enforcingUsers (Results 1 – 2 of 2) sorted by relevance
85 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced() local88 if (enforcingUsers.isEmpty()) { in checkIfRestrictionEnforced()91 } else if (enforcingUsers.size() > 1) { in checkIfRestrictionEnforced()95 final int restrictionSource = enforcingUsers.get(0).getUserRestrictionSource(); in checkIfRestrictionEnforced()96 final int adminUserId = enforcingUsers.get(0).getUserHandle().getIdentifier(); in checkIfRestrictionEnforced()
1327 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource() local1330 for (int i = enforcingUsers.size() - 1; i >= 0; i--) { in getUserRestrictionSource()1331 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()