Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/
DUserRestrictionTest.java28 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, true); in testAddDisallowRemoveUserRestriction()
32 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, false); in testClearDisallowRemoveUserRestriction()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DPrimaryProfileOwnerUserRestrictionsTest.java32 UserManager.DISALLOW_REMOVE_USER,
DSecondaryProfileOwnerUserRestrictionsTest.java34 UserManager.DISALLOW_REMOVE_USER,
DDeviceOwnerUserRestrictionsTest.java34 UserManager.DISALLOW_REMOVE_USER,
DBaseUserRestrictionsTest.java47 UserManager.DISALLOW_REMOVE_USER,
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java72 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in tearDown()
163 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
332 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_RemoveRestrictionSet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DManagedUserPositiveTestActivity.java171 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
DDeviceOwnerPositiveTestActivity.java538 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
545 UserManager.DISALLOW_REMOVE_USER, false)), in addTestsToAdapter()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DDevicePolicySafetyCheckerIntegrationTester.java308 dpm.addUserRestriction(admin, UserManager.DISALLOW_REMOVE_USER); in runCommonOrSpecificOperation()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java123 private static final String DISALLOW_REMOVE_USER = "no_remove_user"; field in DeviceAndProfileOwnerTest
1037 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, true, mUserId); in testCannotRemoveUserIfRestrictionSet()
1040 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, false, mUserId); in testCannotRemoveUserIfRestrictionSet()