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.java85 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced() local
88 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()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1327 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource() local
1330 for (int i = enforcingUsers.size() - 1; i >= 0; i--) { in getUserRestrictionSource()
1331 result |= enforcingUsers.get(i).getUserRestrictionSource(); in getUserRestrictionSource()