Searched refs:RestrictionsSet (Results 1 – 11 of 11) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | MockUtils.java | 25 import com.android.server.pm.RestrictionsSet; 129 public static RestrictionsSet checkUserRestrictions(int userId, String... keys) { in checkUserRestrictions() 130 final RestrictionsSet expected = DpmTestUtils.newRestrictions(userId, in checkUserRestrictions() 132 final Matcher<RestrictionsSet> m = new BaseMatcher<RestrictionsSet>() { in checkUserRestrictions() 136 RestrictionsSet actual = (RestrictionsSet) item; in checkUserRestrictions() 173 private static String getRestrictionsAsString(RestrictionsSet r) { in getRestrictionsAsString()
|
H A D | DpmTestUtils.java | 28 import com.android.server.pm.RestrictionsSet; 62 public static RestrictionsSet newRestrictions(int userId, String... restrictions) { in newRestrictions() 64 RestrictionsSet localRestrictions = new RestrictionsSet(); in newRestrictions() 77 public static void assertRestrictions(RestrictionsSet expected, RestrictionsSet actual) { in assertRestrictions()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | RestrictionsSet.java | 46 public class RestrictionsSet { class 60 public RestrictionsSet() { in RestrictionsSet() method in RestrictionsSet 63 public RestrictionsSet(@UserIdInt int userId, @NonNull Bundle restrictions) { in RestrictionsSet() method in RestrictionsSet 93 public void moveRestriction(@NonNull RestrictionsSet destRestrictions, String restriction) { in moveRestriction() 204 public static RestrictionsSet readRestrictions(@NonNull TypedXmlPullParser parser, in readRestrictions() 206 RestrictionsSet restrictionsSet = new RestrictionsSet(); in readRestrictions()
|
H A D | UserManagerService.java | 353 private final RestrictionsSet mBaseUserRestrictions = new RestrictionsSet(); 368 private final RestrictionsSet mCachedEffectiveUserRestrictions = new RestrictionsSet(); 377 private final RestrictionsSet mAppliedUserRestrictions = new RestrictionsSet(); 386 private final RestrictionsSet mDevicePolicyGlobalUserRestrictions = new RestrictionsSet(); 1894 @NonNull Bundle global, @NonNull RestrictionsSet local, in setDevicePolicyUserRestrictionsInner() 1963 @NonNull RestrictionsSet local) { in getUpdatedTargetUserIdsFromLocalRestrictions() 1988 RestrictionsSet local, List<Integer> updatedTargetUserIds) { in updateLocalRestrictionsForTargetUsersLR() 2013 result = new RestrictionsSet(); in getDevicePolicyLocalRestrictionsForTargetUserLR() 3287 RestrictionsSet localRestrictions = null; in readUserLP() 3406 new RestrictionsSet(id, legacyLocalRestrictions)); in readUserLP() [all …]
|
H A D | UserManagerInternal.java | 93 @Nullable Bundle global, @Nullable RestrictionsSet local, boolean isDeviceOwner); in setDevicePolicyUserRestrictions()
|
H A D | UserRestrictionsUtils.java | 828 SparseArray<RestrictionsSet> sourceRestrictionsSets, in moveRestriction() 829 RestrictionsSet destRestrictionSet) { in moveRestriction() 831 final RestrictionsSet sourceRestrictionsSet = sourceRestrictionsSets.valueAt(i); in moveRestriction()
|
H A D | OWNERS | 33 per-file RestrictionsSet.java = file:MULTIUSER_AND_ENTERPRISE_OWNERS
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | RestrictionsSetTest.java | 43 private RestrictionsSet mRestrictionsSet = new RestrictionsSet(); 75 RestrictionsSet destRestrictionsSet = new RestrictionsSet(); in testMoveRestriction_containsRestriction() 91 RestrictionsSet destRestrictionsSet = new RestrictionsSet(); in testMoveRestriction_doesNotContainRestriction()
|
H A D | UserRestrictionsUtilsTest.java | 104 SparseArray<RestrictionsSet> localRestrictions = new SparseArray<>(); in testMoveRestriction() 105 RestrictionsSet globalRestrictions = new RestrictionsSet(); in testMoveRestriction()
|
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 336 import com.android.server.pm.RestrictionsSet; 2488 new Bundle(), new RestrictionsSet(), /* isDeviceOwner */ false); in fixupAutoTimeRestrictionDuringOrganizationOwnedDeviceMigration() 11351 final RestrictionsSet local = new RestrictionsSet();
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 32050 HSPLcom/android/server/pm/RestrictionsSet;-><init>()V 32053 HPLcom/android/server/pm/RestrictionsSet;->getEnforcingUser(II)Landroid/os/UserManager$EnforcingUse… 32059 …oid/server/pm/RestrictionsSet;->readRestrictions(Landroid/util/TypedXmlPullParser;Ljava/lang/Strin… 32060 PLcom/android/server/pm/RestrictionsSet;->remove(I)Z 32061 PLcom/android/server/pm/RestrictionsSet;->removeAllRestrictions()V 33301 …LR(I)Landroid/os/Bundle;+]Lcom/android/server/pm/RestrictionsSet;Lcom/android/server/pm/Restrictio… 33322 …ns(I)Landroid/os/Bundle;+]Lcom/android/server/pm/RestrictionsSet;Lcom/android/server/pm/Restrictio… 33343 …RestrictionsSet;)Ljava/util/List;+]Landroid/util/SparseArray;Landroid/util/SparseArray;]Ljava/util… 33376 …undle;Landroid/os/Bundle;]Lcom/android/server/pm/RestrictionsSet;Lcom/android/server/pm/Restrictio… 33445 …RestrictionsSet;Ljava/util/List;)Z+]Ljava/lang/Integer;Ljava/lang/Integer;]Ljava/util/List;Ljava/u… [all …]
|