Searched refs:updateRestrictions (Results 1 – 8 of 8) sorted by relevance
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
H A D | RestrictionsSetTest.java | 61 mRestrictionsSet.updateRestrictions(originatingUserId, restrictions); in testUpdateRestrictions_removeRestrictions() 81 mRestrictionsSet.updateRestrictions(originatingUserId, in testMoveRestriction_containsRestriction() 96 mRestrictionsSet.updateRestrictions(originatingUserId, in testMoveRestriction_doesNotContainRestriction() 114 mRestrictionsSet.updateRestrictions(originatingUserId, in testIsEmpty_hasRestrictions() 128 mRestrictionsSet.updateRestrictions(originatingUserId, in testMergeAll_hasRestrictions() 131 mRestrictionsSet.updateRestrictions(10, in testMergeAll_hasRestrictions() 144 mRestrictionsSet.updateRestrictions(originatingUserId, in testGetEnforcingUsers_hasEnforcingUser() 146 mRestrictionsSet.updateRestrictions(10, in testGetEnforcingUsers_hasEnforcingUser() 162 mRestrictionsSet.updateRestrictions(originatingUserId, in testGetEnforcingUsers_hasMultipleEnforcingUsers() 164 mRestrictionsSet.updateRestrictions(originatingUserId2, in testGetEnforcingUsers_hasMultipleEnforcingUsers() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | RestrictionsSet.java | 76 public boolean updateRestrictions(@UserIdInt int userId, @Nullable Bundle restrictions) { in updateRestrictions() method in RestrictionsSet 122 destRestrictions.updateRestrictions(userId, to); in moveRestriction() 238 restrictionsSet.updateRestrictions(userId, restrictions); in readRestrictions()
|
H A D | UserManagerService.java | 2680 if (mDevicePolicyUserRestrictions.updateRestrictions(userId, newRestrictions)) { in setUserRestrictionInner() 2702 mDevicePolicyUserRestrictions.updateRestrictions(UserHandle.USER_ALL, global); in setDevicePolicyUserRestrictionsInner() 2707 mDevicePolicyUserRestrictions.updateRestrictions(userId, in setDevicePolicyUserRestrictionsInner() 2754 mCachedEffectiveUserRestrictions.updateRestrictions(userId, restrictions); in getEffectiveUserRestrictions() 2939 mCachedEffectiveUserRestrictions.updateRestrictions(userId, new Bundle(effective)); in updateUserRestrictionsInternalLR() 2959 mAppliedUserRestrictions.updateRestrictions(userId, new Bundle(effective)); in updateUserRestrictionsInternalLR() 4121 mBaseUserRestrictions.updateRestrictions(UserHandle.USER_SYSTEM, in fallbackToSingleUserLP() 4582 mBaseUserRestrictions.updateRestrictions(id, baseRestrictions); 4585 mDevicePolicyUserRestrictions.updateRestrictions(id, localRestrictions); 4593 mDevicePolicyUserRestrictions.updateRestrictions(UserHandle.USER_ALL, [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserRestrictionsUtilsTest.java | 114 globalRestrictions.updateRestrictions(1, in testMoveRestriction()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DpmTestUtils.java | 65 localRestrictions.updateRestrictions(userId, localRestrictionsBundle); in newRestrictions()
|
H A D | DevicePolicyManagerTest.java | 7818 localRestrictions.updateRestrictions( in testSetUserRestriction_financeDo_validRestrictions_setsRestriction()
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 13642 local.updateRestrictions(originatingUserId, deviceOwner.getLocalUserRestrictions( 13650 local.updateRestrictions(originatingUserId, profileOwner.getLocalUserRestrictions( 13666 local.updateRestrictions(
|
/aosp14/frameworks/base/services/ |
H A D | art-profile | 6680 HSPLcom/android/server/pm/RestrictionsSet;->updateRestrictions(ILandroid/os/Bundle;)Z
|