Searched refs:globalRestrictions (Results 1 – 2 of 2) sorted by relevance
236 SparseArray<Bundle> globalRestrictions = new SparseArray<>(); in testMoveRestriction() local243 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()
1685 Bundle globalRestrictions = mDevicePolicyGlobalUserRestrictions.valueAt(i); in getUserRestrictionSources() local1687 if (UserRestrictionsUtils.contains(globalRestrictions, restrictionKey)) { in getUserRestrictionSources()2549 Bundle globalRestrictions = null; in readUserLP() local2618 globalRestrictions = UserRestrictionsUtils.readRestrictions(parser); in readUserLP()2666 if (globalRestrictions != null) { in readUserLP()2667 mDevicePolicyGlobalUserRestrictions.put(id, globalRestrictions); in readUserLP()