Searched refs:DISALLOW_REMOVE_USER (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | UserRestrictionTest.java | 45 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/ |
D | DeviceOwnerUserRestrictionsTest.java | 31 UserManager.DISALLOW_REMOVE_USER,
|
D | SecondaryProfileOwnerUserRestrictionsTest.java | 33 UserManager.DISALLOW_REMOVE_USER,
|
D | BaseUserRestrictionsTest.java | 43 UserManager.DISALLOW_REMOVE_USER,
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | CreateAndManageUserTest.java | 70 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/ |
D | UserRestrictions.java | 50 UserManager.DISALLOW_REMOVE_USER, 199 case UserManager.DISALLOW_REMOVE_USER: in isRestrictionValid()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 89 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()
|