Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java2694 final Set<String> restrictionsToSet = new ArraySet<>(defaultRestrictions); in maybeSetDefaultRestrictionsForAdminLocked() local
2695 restrictionsToSet.removeAll(admin.defaultEnabledRestrictionsAlreadySet); in maybeSetDefaultRestrictionsForAdminLocked()
2696 if (!restrictionsToSet.isEmpty()) { in maybeSetDefaultRestrictionsForAdminLocked()
2697 for (final String restriction : restrictionsToSet) { in maybeSetDefaultRestrictionsForAdminLocked()
2700 admin.defaultEnabledRestrictionsAlreadySet.addAll(restrictionsToSet); in maybeSetDefaultRestrictionsForAdminLocked()
2701 Slogf.i(LOG_TAG, "Enabled the following restrictions by default: " + restrictionsToSet); in maybeSetDefaultRestrictionsForAdminLocked()