Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java235 SparseArray<Bundle> localRestrictions = new SparseArray<>(); in testMoveRestriction() local
239 localRestrictions.put(0, newRestrictions(UserManager.DISALLOW_ADJUST_VOLUME)); in testMoveRestriction()
242 localRestrictions.put(1, newRestrictions(UserManager.ENSURE_VERIFY_APPS)); in testMoveRestriction()
245 localRestrictions.put(2, newRestrictions( in testMoveRestriction()
250 UserManager.ENSURE_VERIFY_APPS, localRestrictions, globalRestrictions); in testMoveRestriction()
255 localRestrictions.get(0)); in testMoveRestriction()
259 assertNull(localRestrictions.get(1)); in testMoveRestriction()
267 localRestrictions.get(2)); in testMoveRestriction()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2548 Bundle localRestrictions = null; in readUserLP() local
2616 localRestrictions = UserRestrictionsUtils.readRestrictions(parser); in readUserLP()
2663 if (localRestrictions != null) { in readUserLP()
2664 mDevicePolicyLocalUserRestrictions.put(id, localRestrictions); in readUserLP()