Home
last modified time | relevance | path

Searched refs:DISALLOW_ADD_MANAGED_PROFILE (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java612 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in testCreateProfileForUser_disallowAddManagedProfile()
619 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false, in testCreateProfileForUser_disallowAddManagedProfile()
631 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in testCreateProfileForUserEvenWhenDisallowed()
638 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false, in testCreateProfileForUserEvenWhenDisallowed()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java103 UserManager.DISALLOW_ADD_MANAGED_PROFILE,
147 UserManager.DISALLOW_ADD_MANAGED_PROFILE,
DUserManagerService.java3502 ? UserManager.DISALLOW_ADD_MANAGED_PROFILE in createUserInternal()
/frameworks/base/core/java/android/os/
DUserManager.java722 public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profile"; field in UserManager
1401 DISALLOW_ADD_MANAGED_PROFILE,
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2188 UserManager.DISALLOW_ADD_MANAGED_PROFILE, doUserHandle)) { in applyManagedProfileRestrictionIfDeviceOwnerLocked()
2189 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in applyManagedProfileRestrictionIfDeviceOwnerLocked()
3716 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, userHandle)) {
3717 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false,
8390 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true,
8761 UserManager.DISALLOW_ADD_MANAGED_PROFILE,
13701 UserManager.DISALLOW_ADD_MANAGED_PROFILE, callingUserHandle);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1103 eq(UserManager.DISALLOW_ADD_MANAGED_PROFILE), in setDeviceOwner()
3703 eq(UserManager.DISALLOW_ADD_MANAGED_PROFILE), in testProvisioning_withDo_systemUser_restrictedBySystem()
3707 eq(UserManager.DISALLOW_ADD_MANAGED_PROFILE), in testProvisioning_withDo_systemUser_restrictedBySystem()
/frameworks/base/core/api/
Dcurrent.txt31989 …field @Deprecated public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profil…