Searched refs:localRestrictions (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserRestrictionsUtilsTest.java | 121 SparseArray<RestrictionsSet> localRestrictions = new SparseArray<>(); in testMoveRestriction() local 125 localRestrictions.put(0, newRestrictions(0, UserManager.DISALLOW_ADJUST_VOLUME)); in testMoveRestriction() 128 localRestrictions.put(1, newRestrictions(1, UserManager.ENSURE_VERIFY_APPS)); in testMoveRestriction() 132 localRestrictions.put(2, newRestrictions(2, in testMoveRestriction() 136 UserManager.ENSURE_VERIFY_APPS, localRestrictions, globalRestrictions); in testMoveRestriction() 141 localRestrictions.get(0)); in testMoveRestriction() 145 assertTrue(localRestrictions.get(1).isEmpty()); in testMoveRestriction() 153 localRestrictions.get(2)); in testMoveRestriction()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 64 RestrictionsSet localRestrictions = new RestrictionsSet(); in newRestrictions() local 65 localRestrictions.updateRestrictions(userId, localRestrictionsBundle); in newRestrictions() 66 return localRestrictions; in newRestrictions()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 3040 RestrictionsSet localRestrictions = null; in readUserLP() local 3112 localRestrictions = RestrictionsSet.readRestrictions(parser, in readUserLP() 3160 if (localRestrictions != null) { in readUserLP() 3161 mDevicePolicyLocalUserRestrictions.put(id, localRestrictions); in readUserLP()
|