Searched refs:assertRestrictions (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserRestrictionsUtilsTest.java | 19 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()
|
D | RestrictionsSetTest.java | 19 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()
|
D | BundleUtilsTest.java | 19 import static com.android.server.devicepolicy.DpmTestUtils.assertRestrictions; 54 assertRestrictions(out, new Bundle()); in testClone()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 188 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()
|
D | DpmTestUtils.java | 77 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()
|
D | DevicePolicyManagerTest.java | 2002 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo() 2007 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo() 2022 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo() 2026 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asDo() 2130 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo() 2152 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo() 2160 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo() 2176 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo() 2183 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo() 2196 DpmTestUtils.assertRestrictions( in testSetUserRestriction_asPo() [all …]
|