Home
last modified time | relevance | path

Searched refs:DISALLOW_ADD_USER (Results 1 – 17 of 17) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DModifyUsersTest.java19 import static com.android.bedstead.nene.userrestrictions.CommonUserRestrictions.DISALLOW_ADD_USER;
54 DISALLOW_ADD_USER)); in setUserRestriction_disallowAddUser_cannotSet_throwsException()
63 sDeviceState.dpc().componentName(), DISALLOW_ADD_USER); in setUserRestriction_disallowAddUser_isSet() local
66 DISALLOW_ADD_USER)) in setUserRestriction_disallowAddUser_isSet()
70 sDeviceState.dpc().componentName(), DISALLOW_ADD_USER); in setUserRestriction_disallowAddUser_isSet() local
80 sDeviceState.dpc().componentName(), DISALLOW_ADD_USER); in setUserRestriction_disallowAddUser_isNotSet() local
83 DISALLOW_ADD_USER)) in setUserRestriction_disallowAddUser_isNotSet()
88 sDeviceState.dpc().componentName(), DISALLOW_ADD_USER); in setUserRestriction_disallowAddUser_isNotSet() local
DUserRestrictionsTest.java107 CommonUserRestrictions.DISALLOW_ADD_USER,
DProvisioningTest.kt492 .isSet(CommonUserRestrictions.DISALLOW_ADD_USER) in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/userrestrictions/
DCommonUserRestrictions.java89 public static final String DISALLOW_ADD_USER = "no_add_user"; field in CommonUserRestrictions
285 DISALLOW_ADD_USER,
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DUserRestrictionsParentTest.java134 UserManager.DISALLOW_ADD_USER); in testAddUserRestrictionDisallowAddUser_onParent()
138 assertThat(hasUserRestriction(UserManager.DISALLOW_ADD_USER)).isTrue(); in testHasUserRestrictionDisallowAddUser()
146 UserManager.DISALLOW_ADD_USER); in testClearUserRestrictionDisallowAddUser()
DOrgOwnedProfileOwnerParentTest.java136 testUnableToAddBaseUserRestriction(UserManager.DISALLOW_ADD_USER); in testUnableToAddAndClearBaseUserRestrictions_onParent()
137 testUnableToClearBaseUserRestriction(UserManager.DISALLOW_ADD_USER); in testUnableToAddAndClearBaseUserRestrictions_onParent()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DPrimaryProfileOwnerUserRestrictionsTest.java35 UserManager.DISALLOW_ADD_USER,
DSecondaryProfileOwnerUserRestrictionsTest.java55 UserManager.DISALLOW_ADD_USER,
DBaseUserRestrictionsTest.java53 UserManager.DISALLOW_ADD_USER,
92 UserManager.DISALLOW_ADD_USER,
DDeviceOwnerUserRestrictionsTest.java37 UserManager.DISALLOW_ADD_USER,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java39 UserManager.DISALLOW_ADD_USER,
186 UserManager.DISALLOW_ADD_USER,
284 case UserManager.DISALLOW_ADD_USER: in isRestrictionValid()
DDeviceOwnerPositiveTestActivity.java122 UserManager.DISALLOW_ADD_USER); in onCreate()
/cts/tests/tests/car/src/android/car/cts/
DCarUserManagerTest.java461 assertWithMessage("%s restriction", UserManager.DISALLOW_ADD_USER) in assertCanAddUser()
462 .that(restrictions.getBoolean(UserManager.DISALLOW_ADD_USER, false)).isFalse(); in assertCanAddUser()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java72 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_ADD_USER); in tearDown()
419 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_ADD_USER); in testCreateAndManageUser_AddRestrictionSet()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt319 UserManager.DISALLOW_ADD_USER, in <lambda>()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDeviceState.java31 import static com.android.bedstead.nene.userrestrictions.CommonUserRestrictions.DISALLOW_ADD_USER;
2511 } else if (restriction.equals(DISALLOW_ADD_USER)) {
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt34040 field public static final String DISALLOW_ADD_USER = "no_add_user";