Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java143 final Map<Integer, Bundle> newBaseRestrictions = new HashMap<>(); in testMigration() local
149 newBaseRestrictions.put(userId, bundle); in testMigration()
192 newBaseRestrictions.get(USER_SYSTEM)); in testMigration()
202 newBaseRestrictions.get(10)); in testMigration()
212 newBaseRestrictions.get(11)); in testMigration()
257 final Map<Integer, Bundle> newBaseRestrictions = new HashMap<>(); in testMigration2_profileOwnerOnUser0() local
263 newBaseRestrictions.put(userId, bundle); in testMigration2_profileOwnerOnUser0()
299 newBaseRestrictions.get(USER_SYSTEM)); in testMigration2_profileOwnerOnUser0()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java2213 @Nullable Bundle newBaseRestrictions, @UserIdInt int userId) { in updateUserRestrictionsInternalLR()
2218 if (newBaseRestrictions != null) { in updateUserRestrictionsInternalLR()
2222 Preconditions.checkState(prevBaseRestrictions != newBaseRestrictions); in updateUserRestrictionsInternalLR()
2224 != newBaseRestrictions); in updateUserRestrictionsInternalLR()
2226 if (mBaseUserRestrictions.updateRestrictions(userId, newBaseRestrictions)) { in updateUserRestrictionsInternalLR()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java2429 final Bundle newBaseRestrictions = new Bundle(); in migrateUserRestrictionsForUser() local
2441 newBaseRestrictions.putBoolean(key, true); in migrateUserRestrictionsForUser()
2449 Slogf.v(LOG_TAG, "newBaseRestrictions=%s", newBaseRestrictions); in migrateUserRestrictionsForUser()
2453 newBaseRestrictions); in migrateUserRestrictionsForUser() local