Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DUserTest.kt40 import com.android.bedstead.nene.userrestrictions.CommonUserRestrictions.DISALLOW_REMOVE_USER in <lambda>()
62 DISALLOW_REMOVE_USER in <lambda>()
74 DISALLOW_REMOVE_USER in <lambda>()
79 .isSet(DISALLOW_REMOVE_USER) in <lambda>()
84 DISALLOW_REMOVE_USER in <lambda>()
96 DISALLOW_REMOVE_USER in <lambda>()
101 .isSet(DISALLOW_REMOVE_USER) in <lambda>()
106 DISALLOW_REMOVE_USER in <lambda>()
113 value = DISALLOW_REMOVE_USER, in <lambda>()
121 @EnsureDoesNotHaveUserRestriction(DISALLOW_REMOVE_USER, onUser = UserType.ANY) in <lambda>()
[all …]
DUserRestrictionsTest.java99 CommonUserRestrictions.DISALLOW_REMOVE_USER,
/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/multiuser/src/android/host/multiuser/
DEphemeralTest.java50 private static final String DISALLOW_REMOVE_USER = "no_remove_user"; field in EphemeralTest
186 dpc.addUserRestriction(DISALLOW_REMOVE_USER); in testRemoveUserWhenPossible_devicePolicyIsSet()
196 dpc.clearUserRestriction(DISALLOW_REMOVE_USER); in testRemoveUserWhenPossible_devicePolicyIsSet()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/userrestrictions/
DCommonUserRestrictions.java65 public static final String DISALLOW_REMOVE_USER = "no_remove_user"; field in CommonUserRestrictions
277 DISALLOW_REMOVE_USER,
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DPrimaryProfileOwnerUserRestrictionsTest.java29 UserManager.DISALLOW_REMOVE_USER,
DSecondaryProfileOwnerUserRestrictionsTest.java31 UserManager.DISALLOW_REMOVE_USER,
DDeviceOwnerUserRestrictionsTest.java31 UserManager.DISALLOW_REMOVE_USER,
DBaseUserRestrictionsTest.java47 UserManager.DISALLOW_REMOVE_USER,
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java73 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in tearDown()
164 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
425 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); in testCreateAndManageUser_RemoveRestrictionSet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DManagedUserPositiveTestActivity.java185 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
DDeviceOwnerPositiveTestActivity.java603 UserManager.DISALLOW_REMOVE_USER, true)), in addTestsToAdapter()
610 UserManager.DISALLOW_REMOVE_USER, false)), in addTestsToAdapter()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DDevicePolicySafetyCheckerIntegrationTester.java286 dpm.addUserRestriction(admin, UserManager.DISALLOW_REMOVE_USER); in runCommonOrSpecificOperation()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java109 private static final String DISALLOW_REMOVE_USER = "no_remove_user"; field in DeviceAndProfileOwnerTest
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandMultiUserTest.kt175 assumeFalse(getUserManager().hasUserRestriction(UserManager.DISALLOW_REMOVE_USER)) in setup()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt34088 field public static final String DISALLOW_REMOVE_USER = "no_remove_user";