Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserRestrictionsUtilsTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
57 assertRestrictions(newRestrictions("a", "b", "d", "e"), a); in testMerge()
61 assertRestrictions(newRestrictions("a", "b", "d", "e"), a); in testMerge()
122 assertRestrictions( in testMoveRestriction()
129 assertRestrictions( in testMoveRestriction()
134 assertRestrictions( in testMoveRestriction()
137 assertRestrictions( in testMoveRestriction()
H A DRestrictionsSetTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
52 assertRestrictions(restrictions, mRestrictionsSet.getRestrictions(originatingUserId)); in testUpdateRestrictions_addRestrictions()
85 assertRestrictions(newRestrictions(restriction), in testMoveRestriction_containsRestriction()
99 assertRestrictions(newRestrictions(UserManager.ENSURE_VERIFY_APPS), in testMoveRestriction_doesNotContainRestriction()
133 assertRestrictions(newRestrictions(UserManager.ENSURE_VERIFY_APPS, in testMergeAll_hasRestrictions()
H A DBundleUtilsTest.java19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions;
54 assertRestrictions(out, new Bundle()); in testClone()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java188 DpmTestUtils.assertRestrictions( in testMigration()
194 DpmTestUtils.assertRestrictions( in testMigration()
204 DpmTestUtils.assertRestrictions( in testMigration()
215 DpmTestUtils.assertRestrictions( in testMigration()
221 DpmTestUtils.assertRestrictions( in testMigration()
227 DpmTestUtils.assertRestrictions( in testMigration()
295 DpmTestUtils.assertRestrictions( in testMigration2_profileOwnerOnUser0()
302 DpmTestUtils.assertRestrictions( in testMigration2_profileOwnerOnUser0()
360 DpmTestUtils.assertRestrictions( in testMigration3_managedProfileOwner()
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 DDevicePolicyManagerTest.java2009 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2014 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2029 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2033 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo()
2143 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2165 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2173 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2189 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2196 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
2209 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo()
[all …]