Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java325 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in testCreateProfileForUser_disallowAddManagedProfile()
332 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false, in testCreateProfileForUser_disallowAddManagedProfile()
342 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in testCreateProfileForUserEvenWhenDisallowed()
349 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false, in testCreateProfileForUserEvenWhenDisallowed()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java181 UserManager.DISALLOW_ADD_MANAGED_PROFILE in testMigration()
DDevicePolicyManagerTest.java2986 eq(UserManager.DISALLOW_ADD_MANAGED_PROFILE), in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedByDo()
2990 eq(UserManager.DISALLOW_ADD_MANAGED_PROFILE), in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedByDo()
3012 eq(UserManager.DISALLOW_ADD_MANAGED_PROFILE), in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedBySystem()
3016 eq(UserManager.DISALLOW_ADD_MANAGED_PROFILE), in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedBySystem()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java99 UserManager.DISALLOW_ADD_MANAGED_PROFILE,
204 UserManager.DISALLOW_ADD_MANAGED_PROFILE
DUserManagerService.java2753 ? UserManager.DISALLOW_ADD_MANAGED_PROFILE in createUserInternal()
/frameworks/base/core/java/android/os/
DUserManager.java538 public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profile"; field in UserManager
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java12014 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, in checkManagedProfileProvisioningPreCondition()
12018 UserManager.DISALLOW_ADD_MANAGED_PROFILE, callingUserId)) { in checkManagedProfileProvisioningPreCondition()
/frameworks/base/non-updatable-api/
Dcurrent.txt35595 field public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profile";
/frameworks/base/api/
Dcurrent.txt35739 field public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profile";