Searched refs:enforcingUsers (Results 1 – 2 of 2) sorted by relevance
87 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced() local90 if (enforcingUsers.isEmpty()) { in checkIfRestrictionEnforced()93 } else if (enforcingUsers.size() > 1) { in checkIfRestrictionEnforced()97 final int restrictionSource = enforcingUsers.get(0).getUserRestrictionSource(); in checkIfRestrictionEnforced()98 final int adminUserId = enforcingUsers.get(0).getUserHandle().getIdentifier(); in checkIfRestrictionEnforced()
1539 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource() local1542 for (int i = enforcingUsers.size() - 1; i >= 0; i--) { in getUserRestrictionSource()1543 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()