Searched refs:DISALLOW_REMOVE_USER (Results 1 – 8 of 8) 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 | 32 UserManager.DISALLOW_REMOVE_USER,
|
D | SecondaryProfileOwnerUserRestrictionsTest.java | 34 UserManager.DISALLOW_REMOVE_USER,
|
D | BaseUserRestrictionsTest.java | 44 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() 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/ |
D | ManagedUserPositiveTestActivity.java | 161 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
|
D | DeviceOwnerPositiveTestActivity.java | 426 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 109 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()
|