Searched refs:createNewNonAdminUser (Results 1 – 6 of 6) sorted by relevance
55 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()
90 .createNewNonAdminUser(mContext.getString(R.string.user_new_user_name)); in testOnCreateNewUserConfirmedInvokesCreateNewNonAdminUser()129 doReturn(null).when(mCarUserManagerHelper).createNewNonAdminUser(any()); in createUsersListFragment()
92 protected UserInfo createNewNonAdminUser(String userName) { in createNewNonAdminUser() method in ShadowCarUserManagerHelper93 return sMockInstance.createNewNonAdminUser(userName); in createNewNonAdminUser()
451 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()
37 return mCarUserManagerHelper.createNewNonAdminUser(userNames[0]); in doInBackground()
816 public UserInfo createNewNonAdminUser(String userName) { in createNewNonAdminUser() method in CarUserManagerHelper