Home
last modified time | relevance | path

Searched refs:getRestrictions (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DRestrictionsManagerTest.java49 2, entry.getRestrictions().length); in testGetManifestRestrictions()
53 2, entry.getRestrictions().length); in testGetManifestRestrictions()
54 assertNotNull(entry.getRestrictions()); in testGetManifestRestrictions()
55 for (RestrictionEntry childEntry : entry.getRestrictions()) { in testGetManifestRestrictions()
57 assertNotNull(childEntry.getRestrictions()); in testGetManifestRestrictions()
59 1, childEntry.getRestrictions().length); in testGetManifestRestrictions()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DRestrictionsSetTest.java52 assertRestrictions(restrictions, mRestrictionsSet.getRestrictions(originatingUserId)); in testUpdateRestrictions_addRestrictions()
62 assertNull(mRestrictionsSet.getRestrictions(originatingUserId)); in testUpdateRestrictions_removeRestrictions()
83 assertNull(mRestrictionsSet.getRestrictions(originatingUserId)); in testMoveRestriction_containsRestriction()
84 assertNotNull(destRestrictionsSet.getRestrictions(originatingUserId)); in testMoveRestriction_containsRestriction()
86 destRestrictionsSet.getRestrictions(originatingUserId)); in testMoveRestriction_containsRestriction()
100 mRestrictionsSet.getRestrictions(originatingUserId)); in testMoveRestriction_doesNotContainRestriction()
101 assertNull(destRestrictionsSet.getRestrictions(originatingUserId)); in testMoveRestriction_doesNotContainRestriction()
DUserRestrictionsUtilsTest.java142 assertNull(globalRestrictions.getRestrictions(0)); in testMoveRestriction()
148 globalRestrictions.getRestrictions(1)); in testMoveRestriction()
156 globalRestrictions.getRestrictions(2)); in testMoveRestriction()
/frameworks/base/services/core/java/com/android/server/pm/
DRestrictionsSet.java98 Bundle to = destRestrictions.getRestrictions(userId); in moveRestriction()
162 public @Nullable Bundle getRestrictions(@UserIdInt int userId) { in getRestrictions() method in RestrictionsSet
DUserManagerService.java1868 Bundle restrictions = local.getRestrictions(targetUserId); in updateLocalRestrictionsForTargetUsersLR()
1899 UserRestrictionsUtils.nonNull(mBaseUserRestrictions.getRestrictions(userId)); in computeEffectiveUserRestrictionsLR()
1924 Bundle restrictions = mCachedEffectiveUserRestrictions.getRestrictions(userId); in getEffectiveUserRestrictions()
2058 Bundle bundle = mBaseUserRestrictions.getRestrictions(userId); in hasBaseUserRestriction()
2073 mBaseUserRestrictions.getRestrictions(userId)); in setUserRestriction()
2092 mAppliedUserRestrictions.getRestrictions(userId)); in updateUserRestrictionsInternalLR()
2097 final Bundle prevBaseRestrictions = mBaseUserRestrictions.getRestrictions(userId); in updateUserRestrictionsInternalLR()
2100 Preconditions.checkState(mCachedEffectiveUserRestrictions.getRestrictions(userId) in updateUserRestrictionsInternalLR()
2905 mBaseUserRestrictions.getRestrictions(userInfo.id), TAG_RESTRICTIONS); in writeUserLP()
2909 mDevicePolicyGlobalUserRestrictions.getRestrictions(userInfo.id), in writeUserLP()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockUtils.java137 return UserRestrictionsUtils.areEqual(expected.getRestrictions(userId), in checkUserRestrictions()
138 actual.getRestrictions(userId)); in checkUserRestrictions()
DDpmTestUtils.java82 Bundle actualRestrictions = actual.getRestrictions(originatingUserId); in assertRestrictions()
84 assertRestrictions(expected.getRestrictions(originatingUserId), actualRestrictions); in assertRestrictions()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java722 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle()
727 RestrictionEntry[] bundleRestrictionArray = entry.getRestrictions(); in addRestrictionToBundle()
731 bundleRestrictionArray[i].getRestrictions(); in addRestrictionToBundle()
DRestrictionEntry.java361 public RestrictionEntry[] getRestrictions() { in getRestrictions() method in RestrictionEntry
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile25654 HSPLcom/android/server/pm/RestrictionsSet;->getRestrictions(I)Landroid/os/Bundle;
/frameworks/base/api/
Dcurrent.txt11099 method public android.content.RestrictionEntry[] getRestrictions();