Searched refs:DISALLOW_ADD_USER (Results 1 – 11 of 11) sorted by relevance
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | DisallowAddUserTaskTest.java | 85 verify(mockUserManager).setUserRestriction(UserManager.DISALLOW_ADD_USER, true, in testMaybeDisallowAddUsers_normalSystem() 100 when(mockUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_USER, in testMaybeDisallowAddUsers_normalSystem_restrictionAlreadySetupForOneUser() 126 verify(mockUserManager).setUserRestriction(UserManager.DISALLOW_ADD_USER, true, in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner() 128 verify(mockUserManager).setUserRestriction(UserManager.DISALLOW_ADD_USER, true, in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DisallowAddUserTask.java | 72 if (!mUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_USER, userHandle)) { in run() 73 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, true, userHandle); in run()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserCapabilities.java | 72 UserManager.DISALLOW_ADD_USER, UserHandle.myUserId()); in updateAddUserCapabilities() 74 context, UserManager.DISALLOW_ADD_USER, UserHandle.myUserId()); in updateAddUserCapabilities()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserCapabilities.java | 72 UserManager.DISALLOW_ADD_USER, UserHandle.myUserId()); in updateAddUserCapabilities() 74 context, UserManager.DISALLOW_ADD_USER, UserHandle.myUserId()); in updateAddUserCapabilities()
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UserGridRecyclerView.java | 19 import static android.os.UserManager.DISALLOW_ADD_USER; 170 if (!mUserManager.hasUserRestriction(DISALLOW_ADD_USER, fgUserHandle)) { in createUserRecords()
|
D | PermissionsPreferenceController.java | 70 PERMISSIONS_LIST.add(new UserPermission(UserManager.DISALLOW_ADD_USER, in PERMISSIONS_LIST.add() argument
|
D | UsersListFragment.java | 227 return !mUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_USER); in canCurrentProcessAddUsers()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | UsersFragment.java | 44 UserManager.DISALLOW_ADD_USER,
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | PermissionsPreferenceControllerTest.java | 51 private static final String TEST_RESTRICTION = UserManager.DISALLOW_ADD_USER;
|
D | UsersListFragmentTest.java | 164 testUser.getUserHandle(), UserManager.DISALLOW_ADD_USER, disallowAddUser); in createUsersListFragment()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 76 UserManager.DISALLOW_ADD_USER,
|