Home
last modified time | relevance | path

Searched refs:newBaseRestrictions (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java107 final Map<Integer, Bundle> newBaseRestrictions = new HashMap<>(); in testMigration() local
113 newBaseRestrictions.put(userId, bundle); in testMigration()
155 newBaseRestrictions.get(UserHandle.USER_SYSTEM)); in testMigration()
165 newBaseRestrictions.get(10)); in testMigration()
175 newBaseRestrictions.get(11)); in testMigration()
220 final Map<Integer, Bundle> newBaseRestrictions = new HashMap<>(); in testMigration2_profileOwnerOnUser0() local
226 newBaseRestrictions.put(userId, bundle); in testMigration2_profileOwnerOnUser0()
261 newBaseRestrictions.get(UserHandle.USER_SYSTEM)); in testMigration2_profileOwnerOnUser0()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1750 @Nullable Bundle newBaseRestrictions, int userId) { in updateUserRestrictionsInternalLR()
1755 if (newBaseRestrictions != null) { in updateUserRestrictionsInternalLR()
1759 Preconditions.checkState(prevBaseRestrictions != newBaseRestrictions); in updateUserRestrictionsInternalLR()
1761 != newBaseRestrictions); in updateUserRestrictionsInternalLR()
1763 if (updateRestrictionsIfNeededLR(userId, newBaseRestrictions, mBaseUserRestrictions)) { in updateUserRestrictionsInternalLR()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2584 final Bundle newBaseRestrictions = new Bundle(); in migrateUserRestrictionsForUser() local
2596 newBaseRestrictions.putBoolean(key, true); in migrateUserRestrictionsForUser()
2604 Log.v(LOG_TAG, "newBaseRestrictions=" + newBaseRestrictions); in migrateUserRestrictionsForUser()
2608 newBaseRestrictions); in migrateUserRestrictionsForUser() local