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()
172 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
339 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.java535 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
542 UserManager.DISALLOW_REMOVE_USER, false)), in addTestsToAdapter()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DDevicePolicySafetyCheckerIntegrationTester.java298 dpm.addUserRestriction(admin, UserManager.DISALLOW_REMOVE_USER); in runCommonOrSpecificOperation()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java122 private static final String DISALLOW_REMOVE_USER = "no_remove_user"; field in DeviceAndProfileOwnerTest
1108 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, true, mUserId); in testCannotRemoveUserIfRestrictionSet()
1111 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, false, mUserId); in testCannotRemoveUserIfRestrictionSet()