Searched refs:getRestrictions (Results 1 – 12 of 12) sorted by relevance
49 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()
52 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()
142 assertNull(globalRestrictions.getRestrictions(0)); in testMoveRestriction()148 globalRestrictions.getRestrictions(1)); in testMoveRestriction()156 globalRestrictions.getRestrictions(2)); in testMoveRestriction()
98 Bundle to = destRestrictions.getRestrictions(userId); in moveRestriction()162 public @Nullable Bundle getRestrictions(@UserIdInt int userId) { in getRestrictions() method in RestrictionsSet
1868 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 …]
137 return UserRestrictionsUtils.areEqual(expected.getRestrictions(userId), in checkUserRestrictions()138 actual.getRestrictions(userId)); in checkUserRestrictions()
82 Bundle actualRestrictions = actual.getRestrictions(originatingUserId); in assertRestrictions()84 assertRestrictions(expected.getRestrictions(originatingUserId), actualRestrictions); in assertRestrictions()
722 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle()727 RestrictionEntry[] bundleRestrictionArray = entry.getRestrictions(); in addRestrictionToBundle()731 bundleRestrictionArray[i].getRestrictions(); in addRestrictionToBundle()
361 public RestrictionEntry[] getRestrictions() { in getRestrictions() method in RestrictionEntry
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
25654 HSPLcom/android/server/pm/RestrictionsSet;->getRestrictions(I)Landroid/os/Bundle;
11099 method public android.content.RestrictionEntry[] getRestrictions();