Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java2283 final Set<String> restrictionsToSet = new ArraySet<>(defaultRestrictions); in maybeSetDefaultRestrictionsForAdminLocked() local
2284 restrictionsToSet.removeAll(admin.defaultEnabledRestrictionsAlreadySet); in maybeSetDefaultRestrictionsForAdminLocked()
2285 if (!restrictionsToSet.isEmpty()) { in maybeSetDefaultRestrictionsForAdminLocked()
2286 for (final String restriction : restrictionsToSet) { in maybeSetDefaultRestrictionsForAdminLocked()
2289 admin.defaultEnabledRestrictionsAlreadySet.addAll(restrictionsToSet); in maybeSetDefaultRestrictionsForAdminLocked()
2290 Slogf.i(LOG_TAG, "Enabled the following restrictions by default: " + restrictionsToSet); in maybeSetDefaultRestrictionsForAdminLocked()