Home
last modified time | relevance | path

Searched refs:DISALLOW_REMOVE_USER (Results 1 – 8 of 8) 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.java32 UserManager.DISALLOW_REMOVE_USER,
DSecondaryProfileOwnerUserRestrictionsTest.java34 UserManager.DISALLOW_REMOVE_USER,
DBaseUserRestrictionsTest.java44 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()
279 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
302 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
414 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_RemoveRestrictionSet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DManagedUserPositiveTestActivity.java161 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
DDeviceOwnerPositiveTestActivity.java426 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java109 private static final String DISALLOW_REMOVE_USER = "no_remove_user"; field in DeviceAndProfileOwnerTest
1118 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, true, mUserId); in testCannotRemoveUserIfRestrictionSet()
1121 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, false, mUserId); in testCannotRemoveUserIfRestrictionSet()