Home
last modified time | relevance | path

Searched refs:enforcingUsers (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java87 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced() local
90 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()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1539 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource() local
1542 for (int i = enforcingUsers.size() - 1; i >= 0; i--) { in getUserRestrictionSource()
1543 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()