Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserRestrictionsUtilsTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
59 assertRestrictions(newRestrictions("a", "b", "d", "e"), a); in testMerge()
63 assertRestrictions(newRestrictions("a", "b", "d", "e"), a); in testMerge()
124 assertRestrictions( in testMoveRestriction()
131 assertRestrictions( in testMoveRestriction()
136 assertRestrictions( in testMoveRestriction()
139 assertRestrictions( in testMoveRestriction()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DRestrictionsSetTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
55 assertRestrictions(restrictions, mRestrictionsSet.getRestrictions(originatingUserId)); in testUpdateRestrictions_addRestrictions()
88 assertRestrictions(newRestrictions(restriction), in testMoveRestriction_containsRestriction()
102 assertRestrictions(newRestrictions(UserManager.ENSURE_VERIFY_APPS), in testMoveRestriction_doesNotContainRestriction()
136 assertRestrictions(newRestrictions(UserManager.ENSURE_VERIFY_APPS, in testMergeAll_hasRestrictions()
H A DBundleUtilsTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
56 assertRestrictions(out, new Bundle()); in testClone()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestUtils.java77 public static void assertRestrictions(RestrictionsSet expected, RestrictionsSet actual) { in assertRestrictions() method in DpmTestUtils
84 assertRestrictions(expected.getRestrictions(originatingUserId), actualRestrictions); in assertRestrictions()
88 public static void assertRestrictions(Bundle expected, Bundle actual) { in assertRestrictions() method in DpmTestUtils
166 assertRestrictions(a, b); in checkAssertRestrictions()
H A DDevicePolicyManagerServiceMigrationTest.java134 DpmTestUtils.assertRestrictions( in testMigration_managedProfileOwner()
H A DDevicePolicyManagerTest.java1999 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2004 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2019 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2023 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2134 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2156 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2164 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2180 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2187 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2200 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
[all …]