Searched refs:localRestrictions (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserRestrictionsUtilsTest.java | 213 SparseArray<RestrictionsSet> localRestrictions = new SparseArray<>(); in testMoveRestriction() local 217 localRestrictions.put(0, newRestrictions(0, UserManager.DISALLOW_ADJUST_VOLUME)); in testMoveRestriction() 220 localRestrictions.put(1, newRestrictions(1, UserManager.ENSURE_VERIFY_APPS)); in testMoveRestriction() 224 localRestrictions.put(2, newRestrictions(2, in testMoveRestriction() 228 UserManager.ENSURE_VERIFY_APPS, localRestrictions, globalRestrictions); in testMoveRestriction() 233 localRestrictions.get(0)); in testMoveRestriction() 237 assertTrue(localRestrictions.get(1).isEmpty()); in testMoveRestriction() 245 localRestrictions.get(2)); in testMoveRestriction()
|
D | UserManagerServiceUserInfoTest.java | 320 final String[] localRestrictions = new String[] { in testUserRestrictionsUpgradeFromV9() local 331 for (String restriction : localRestrictions) { in testUserRestrictionsUpgradeFromV9() 350 for (String restriction : localRestrictions) { in testUserRestrictionsUpgradeFromV9()
|
/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()
|
D | DevicePolicyManagerTest.java | 7834 RestrictionsSet localRestrictions = new RestrictionsSet(); in testSetUserRestriction_financeDo_validRestrictions_setsRestriction() local 7835 localRestrictions.updateRestrictions( in testSetUserRestriction_financeDo_validRestrictions_setsRestriction() 7843 UserHandle.USER_SYSTEM, localRestrictions), in testSetUserRestriction_financeDo_validRestrictions_setsRestriction()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 5057 Bundle localRestrictions = null; 5130 localRestrictions = oldLocalRestrictions.mergeAll(); 5132 localRestrictions = UserRestrictionsUtils.readRestrictions(parser); 5215 if (localRestrictions != null) { 5216 mDevicePolicyUserRestrictions.updateRestrictions(id, localRestrictions);
|