Searched refs:DISALLOW_REMOVE_USER (Results 1 – 10 of 10) sorted by relevance
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | UserRestrictionTest.java | 28 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/ |
D | PrimaryProfileOwnerUserRestrictionsTest.java | 32 UserManager.DISALLOW_REMOVE_USER,
|
D | SecondaryProfileOwnerUserRestrictionsTest.java | 34 UserManager.DISALLOW_REMOVE_USER,
|
D | DeviceOwnerUserRestrictionsTest.java | 34 UserManager.DISALLOW_REMOVE_USER,
|
D | BaseUserRestrictionsTest.java | 47 UserManager.DISALLOW_REMOVE_USER,
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | CreateAndManageUserTest.java | 72 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/ |
D | ManagedUserPositiveTestActivity.java | 161 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
|
D | DeviceOwnerPositiveTestActivity.java | 535 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/ |
D | DevicePolicySafetyCheckerIntegrationTester.java | 298 dpm.addUserRestriction(admin, UserManager.DISALLOW_REMOVE_USER); in runCommonOrSpecificOperation()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 122 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()
|