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.java1640 @Nullable Bundle newBaseRestrictions, int userId) { in updateUserRestrictionsInternalLR()
1645 if (newBaseRestrictions != null) { in updateUserRestrictionsInternalLR()
1649 Preconditions.checkState(prevBaseRestrictions != newBaseRestrictions); in updateUserRestrictionsInternalLR()
1651 != newBaseRestrictions); in updateUserRestrictionsInternalLR()
1653 if (updateRestrictionsIfNeededLR(userId, newBaseRestrictions, mBaseUserRestrictions)) { in updateUserRestrictionsInternalLR()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2467 final Bundle newBaseRestrictions = new Bundle(); in migrateUserRestrictionsForUser() local
2479 newBaseRestrictions.putBoolean(key, true); in migrateUserRestrictionsForUser()
2487 Log.v(LOG_TAG, "newBaseRestrictions=" + newBaseRestrictions); in migrateUserRestrictionsForUser()
2491 newBaseRestrictions); in migrateUserRestrictionsForUser() local