Home
last modified time | relevance | path

Searched refs:DISALLOW_REMOVE_USER (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/
DUserRestrictionTest.java45 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, true); in testAddDisallowRemoveUserRestriction()
49 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, false); in testClearDisallowRemoveUserRestriction()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DDeviceOwnerUserRestrictionsTest.java31 UserManager.DISALLOW_REMOVE_USER,
DSecondaryProfileOwnerUserRestrictionsTest.java33 UserManager.DISALLOW_REMOVE_USER,
DBaseUserRestrictionsTest.java43 UserManager.DISALLOW_REMOVE_USER,
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java70 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in tearDown()
270 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_RemoveRestrictionSet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java50 UserManager.DISALLOW_REMOVE_USER,
199 case UserManager.DISALLOW_REMOVE_USER: in isRestrictionValid()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java89 private static final String DISALLOW_REMOVE_USER = "no_remove_user"; field in DeviceAndProfileOwnerTest
653 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, true, mUserId); in testCannotRemoveUserIfRestrictionSet()
656 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, false, mUserId); in testCannotRemoveUserIfRestrictionSet()