Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java236 SparseArray<Bundle> globalRestrictions = new SparseArray<>(); in testMoveRestriction() local
243 globalRestrictions.put(1, newRestrictions(UserManager.DISALLOW_ADD_USER)); in testMoveRestriction()
250 UserManager.ENSURE_VERIFY_APPS, localRestrictions, globalRestrictions); in testMoveRestriction()
256 assertNull(globalRestrictions.get(0)); in testMoveRestriction()
262 globalRestrictions.get(1)); in testMoveRestriction()
270 globalRestrictions.get(2)); in testMoveRestriction()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1685 Bundle globalRestrictions = mDevicePolicyGlobalUserRestrictions.valueAt(i); in getUserRestrictionSources() local
1687 if (UserRestrictionsUtils.contains(globalRestrictions, restrictionKey)) { in getUserRestrictionSources()
2549 Bundle globalRestrictions = null; in readUserLP() local
2618 globalRestrictions = UserRestrictionsUtils.readRestrictions(parser); in readUserLP()
2666 if (globalRestrictions != null) { in readUserLP()
2667 mDevicePolicyGlobalUserRestrictions.put(id, globalRestrictions); in readUserLP()