Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1642 final String[] defaultRestrictions = UserRestrictionsUtils in testSetUserRestriction_asDo() local
1645 DpmTestUtils.newRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()
1649 DpmTestUtils.newRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()
1654 MockUtils.checkUserRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()
1660 for (String restriction : defaultRestrictions) { in testSetUserRestriction_asDo()
1910 String[] defaultRestrictions = UserRestrictionsUtils in testDefaultEnabledUserRestrictions() local
1912 assertTrue(defaultRestrictions.length > 0); in testDefaultEnabledUserRestrictions()
1914 DpmTestUtils.newRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()
1918 DpmTestUtils.newRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()
1923 MockUtils.checkUserRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2427 int userId, ActiveAdmin admin, Set<String> defaultRestrictions) { in maybeSetDefaultRestrictionsForAdminLocked() argument
2428 if (defaultRestrictions.equals(admin.defaultEnabledRestrictionsAlreadySet)) { in maybeSetDefaultRestrictionsForAdminLocked()
2435 + defaultRestrictions in maybeSetDefaultRestrictionsForAdminLocked()
2440 final Set<String> restrictionsToSet = new ArraySet<>(defaultRestrictions); in maybeSetDefaultRestrictionsForAdminLocked()