Searched refs:createUser (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | CarUserManagerHelperTest.java | 357 verify(mUserManager).createUser(TEST_USER_NAME, UserInfo.FLAG_ADMIN); in testCreateNewAdminUserCallsCreateUser() 365 doReturn(null).when(mUserManager).createUser(TEST_USER_NAME, UserInfo.FLAG_ADMIN); in testCreateNewAdminUserReturnsNullUsers() 376 doReturn(newUser).when(mUserManager).createUser(TEST_USER_NAME, UserInfo.FLAG_ADMIN); in testCreateNewAdminUserReturnsCreatedUser() 386 verify(mUserManager).createUser(DEFAULT_ADMIN_NAME, UserInfo.FLAG_ADMIN); in testCreateNewAdminUserWithDefaultUserNameCallsCreateUser() 394 doReturn(null).when(mUserManager).createUser(DEFAULT_ADMIN_NAME, UserInfo.FLAG_ADMIN); in testCreateNewAdminUserWithDefaultUserNameReturnsNullUsers() 405 doReturn(newUser).when(mUserManager).createUser(DEFAULT_ADMIN_NAME, UserInfo.FLAG_ADMIN); in testCreateNewAdminUserWithDefaultUserNameReturnsCreatedUser() 414 doReturn(expectedAdmin).when(mUserManager).createUser(newAdminName, UserInfo.FLAG_ADMIN); in testAdminsCanCreateAdmins() 427 doReturn(expectedAdmin).when(mUserManager).createUser(newAdminName, UserInfo.FLAG_ADMIN); in testNonAdminsCanNotCreateAdmins() 440 doReturn(expectedAdmin).when(mUserManager).createUser(newAdminName, UserInfo.FLAG_ADMIN); in testSystemUserCanCreateAdmins() 452 verify(mUserManager).createUser(TEST_USER_NAME, 0); in testCreateNewNonAdminUser() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/profileselector/ |
D | UserAdapter.java | 99 final View row = convertView != null ? convertView : createUser(parent); in getDropDownView() 117 private View createUser(ViewGroup parent) { in createUser() method in UserAdapter
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | UserAdapter.java | 99 final View row = convertView != null ? convertView : createUser(parent); in getDropDownView() 117 private View createUser(ViewGroup parent) { in createUser() method in UserAdapter
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 798 UserInfo user = mUserManager.createUser(userName, UserInfo.FLAG_ADMIN); in createNewAdminUser() 817 UserInfo user = mUserManager.createUser(userName, 0); in createNewNonAdminUser()
|
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/ |
D | TimeZoneUpdateHostTest.java | 221 int userId = device.createUser("TimeZoneTest", false /* guest */, false /* ephemeral */); in testInstallNewerRulesVersion_secondaryUser()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 747 UserInfo userInfo = mUserManager.createUser( in doInBackground()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 478 UserInfo newUserInfo = mUserManager.createUser(mAddingUserName, 0); in createTrustedUser()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserSettings.java | 474 UserInfo newUserInfo = mUserManager.createUser(mAddingUserName, 0); in createTrustedUser()
|