Home
last modified time | relevance | path

Searched refs:updateRestrictions (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DRestrictionsSetTest.java50 assertTrue(mRestrictionsSet.updateRestrictions(originatingUserId, restrictions)); in testUpdateRestrictions_addRestrictions()
58 mRestrictionsSet.updateRestrictions(originatingUserId, restrictions); in testUpdateRestrictions_removeRestrictions()
60 assertTrue(mRestrictionsSet.updateRestrictions(originatingUserId, new Bundle())); in testUpdateRestrictions_removeRestrictions()
68 mRestrictionsSet.updateRestrictions(originatingUserId, restrictions); in testUpdateRestrictions_noChange()
70 assertFalse(mRestrictionsSet.updateRestrictions(originatingUserId, restrictions)); in testUpdateRestrictions_noChange()
78 mRestrictionsSet.updateRestrictions(originatingUserId, in testMoveRestriction_containsRestriction()
93 mRestrictionsSet.updateRestrictions(originatingUserId, in testMoveRestriction_doesNotContainRestriction()
111 mRestrictionsSet.updateRestrictions(originatingUserId, in testIsEmpty_hasRestrictions()
125 mRestrictionsSet.updateRestrictions(originatingUserId, in testMergeAll_hasRestrictions()
128 mRestrictionsSet.updateRestrictions(10, in testMergeAll_hasRestrictions()
[all …]
DUserRestrictionsUtilsTest.java129 globalRestrictions.updateRestrictions(1, in testMoveRestriction()
/frameworks/base/services/core/java/com/android/server/pm/
DRestrictionsSet.java74 public boolean updateRestrictions(@UserIdInt int userId, @Nullable Bundle restrictions) { in updateRestrictions() method in RestrictionsSet
102 destRestrictions.updateRestrictions(userId, to); in moveRestriction()
216 restrictionsSet.updateRestrictions(userId, restrictions); in readRestrictions()
DUserManagerService.java1778 .updateRestrictions(originatingUserId, global); in setDevicePolicyUserRestrictionsInner()
1873 .updateRestrictions(originatingUserId, restrictions)) { in updateLocalRestrictionsForTargetUsersLR()
1927 mCachedEffectiveUserRestrictions.updateRestrictions(userId, restrictions); in getEffectiveUserRestrictions()
2103 if (mBaseUserRestrictions.updateRestrictions(userId, newBaseRestrictions)) { in updateUserRestrictionsInternalLR()
2110 mCachedEffectiveUserRestrictions.updateRestrictions(userId, effective); in updateUserRestrictionsInternalLR()
2133 mAppliedUserRestrictions.updateRestrictions(userId, new Bundle(effective)); in updateUserRestrictionsInternalLR()
2658 mDevicePolicyGlobalUserRestrictions.updateRestrictions( in upgradeIfNecessaryLP()
2783 mBaseUserRestrictions.updateRestrictions(UserHandle.USER_SYSTEM, in fallbackToSingleUserLP()
3158 mBaseUserRestrictions.updateRestrictions(id, baseRestrictions); in readUserLP()
3170 mDevicePolicyGlobalUserRestrictions.updateRestrictions(id, in readUserLP()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java65 localRestrictions.updateRestrictions(userId, localRestrictionsBundle); in newRestrictions()
/frameworks/base/services/
Dart-profile25662 HSPLcom/android/server/pm/RestrictionsSet;->updateRestrictions(ILandroid/os/Bundle;)Z