/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 86 UserManager.DISALLOW_ADD_USER, in testMigration() 92 UserManager.DISALLOW_ADD_USER, in testMigration() 101 UserManager.DISALLOW_ADD_USER, in testMigration() 159 UserManager.DISALLOW_ADD_USER, in testMigration() 169 UserManager.DISALLOW_ADD_USER, in testMigration() 180 UserManager.DISALLOW_ADD_USER, in testMigration() 215 UserManager.DISALLOW_ADD_USER, in testMigration2_profileOwnerOnUser0() 266 UserManager.DISALLOW_ADD_USER, in testMigration2_profileOwnerOnUser0()
|
D | DevicePolicyManagerTest.java | 1091 dpm.addUserRestriction(admin1, UserManager.DISALLOW_ADD_USER); in testClearDeviceOwner() 1092 when(getServices().userManager.hasUserRestriction(eq(UserManager.DISALLOW_ADD_USER), in testClearDeviceOwner() 1118 verify(getServices().userManager).setUserRestriction(eq(UserManager.DISALLOW_ADD_USER), in testClearDeviceOwner() 1667 dpm.addUserRestriction(admin1, UserManager.DISALLOW_ADD_USER); in testSetUserRestriction_asDo() 1670 MockUtils.checkUserRestrictions(UserManager.DISALLOW_ADD_USER), in testSetUserRestriction_asDo() 1678 UserManager.DISALLOW_ADD_USER), in testSetUserRestriction_asDo() 1684 UserManager.DISALLOW_ADD_USER, UserManager.DISALLOW_OUTGOING_CALLS), in testSetUserRestriction_asDo() 1689 UserManager.DISALLOW_ADD_USER, UserManager.DISALLOW_OUTGOING_CALLS), in testSetUserRestriction_asDo() 1693 dpm.clearUserRestriction(admin1, UserManager.DISALLOW_ADD_USER); in testSetUserRestriction_asDo() 1735 dpm.addUserRestriction(admin1, UserManager.DISALLOW_ADD_USER); in testSetUserRestriction_asDo() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserRestrictionsUtilsTest.java | 91 assertTrue(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_ADD_USER)); in testCanDeviceOwnerChange() 104 UserManager.DISALLOW_ADD_USER, user)); in testCanProfileOwnerChange() 114 UserManager.DISALLOW_ADD_USER, user)); in testCanProfileOwnerChange() 243 globalRestrictions.put(1, newRestrictions(UserManager.DISALLOW_ADD_USER)); in testMoveRestriction() 261 newRestrictions(UserManager.ENSURE_VERIFY_APPS, UserManager.DISALLOW_ADD_USER), in testMoveRestriction()
|
D | UserManagerTest.java | 310 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, true, primaryUserHandle); in testCreateUser_disallowAddUser() 315 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, false, in testCreateUser_disallowAddUser() 359 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, true, primaryUserHandle); in testCreateProfileForUser_disallowAddUser() 365 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, false, in testCreateProfileForUser_disallowAddUser()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 99 boolean cantCreateUser = mUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_USER) in checkUserCreationRequirements()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | MultiUserSwitch.java | 118 || (guestEnabled && !mUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_USER)) in isMultiUserEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 241 UserManager.DISALLOW_ADD_USER, UserHandle.SYSTEM); in refreshUsers() 700 UserManager.DISALLOW_ADD_USER, ActivityManager.getCurrentUser()); in checkIfAddUserDisallowedByAdminOnly() 702 UserManager.DISALLOW_ADD_USER, ActivityManager.getCurrentUser())) { in checkIfAddUserDisallowedByAdminOnly()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 98 UserManager.DISALLOW_ADD_USER, 157 UserManager.DISALLOW_ADD_USER,
|
D | UserManagerService.java | 2754 : UserManager.DISALLOW_ADD_USER; in createUserInternal()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 524 public static final String DISALLOW_ADD_USER = "no_add_user"; field in UserManager
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4049 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_USER, userHandle)) { in clearDeviceOwnerUserRestrictionLocked() 4050 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, false, userHandle); in clearDeviceOwnerUserRestrictionLocked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 22386 field public static final java.lang.String DISALLOW_ADD_USER = "no_add_user";
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 35596 field public static final String DISALLOW_ADD_USER = "no_add_user";
|
/frameworks/base/api/ |
D | current.txt | 35740 field public static final String DISALLOW_ADD_USER = "no_add_user";
|