Home
last modified time | relevance | path

Searched refs:createNewNonAdminUser (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DAddNewUserTaskTest.java55 verify(mCarUserManagerHelper).createNewNonAdminUser(newUserName); in testTaskCallsCreateNewNonAdminUser()
62 when(mCarUserManagerHelper.createNewNonAdminUser(newUserName)).thenReturn(newUser); in testSwitchToNewUserIfUserCreated()
74 when(mCarUserManagerHelper.createNewNonAdminUser(newUserName)).thenReturn(newUser); in testOnUserAddedSuccessCalledIfUserCreated()
85 when(mCarUserManagerHelper.createNewNonAdminUser(newUserName)).thenReturn(null); in testOnUserAddedFailureCalledIfNullReturned()
DUsersListFragmentTest.java125 .createNewNonAdminUser(mContext.getString(R.string.user_new_user_name)); in testOnCreateNewUserConfirmedInvokesCreateNewNonAdminUser()
165 when(mCarUserManagerHelper.createNewNonAdminUser(any())).thenReturn(null); in createUsersListFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUserManagerHelper.java92 protected UserInfo createNewNonAdminUser(String userName) { in createNewNonAdminUser() method in ShadowCarUserManagerHelper
93 return sMockInstance.createNewNonAdminUser(userName); in createNewNonAdminUser()
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java451 mCarUserManagerHelper.createNewNonAdminUser(TEST_USER_NAME); in testCreateNewNonAdminUser()
455 assertThat(mCarUserManagerHelper.createNewNonAdminUser(TEST_USER_NAME)).isNull(); in testCreateNewNonAdminUser()
460 assertThat(mCarUserManagerHelper.createNewNonAdminUser(TEST_USER_NAME)).isEqualTo(newUser); in testCreateNewNonAdminUser()
658 mCarUserManagerHelper.createNewNonAdminUser(testUserName); in testDefaultNonAdminRestrictions()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DAddNewUserTask.java37 return mCarUserManagerHelper.createNewNonAdminUser(userNames[0]); in doInBackground()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java810 public UserInfo createNewNonAdminUser(String userName) { in createNewNonAdminUser() method in CarUserManagerHelper