Searched refs:getPrimaryUser (Results 1 – 6 of 6) sorted by relevance
58 assertTrue(userInfoAreEqual.apply(personalUser, state.getPrimaryUser())) in <lambda>()83 .containsExactly(state.getPrimaryUser(), state.getUser(work), state.getUser(private)) in <lambda>()96 .containsExactly(state.getPrimaryUser(), state.getUser(clone)) in <lambda>()101 val personal = state.getPrimaryUser() in <lambda>()112 val primaryUser = state.getPrimaryUser() in <lambda>()121 val personal = state.getPrimaryUser() in <lambda>()
126 when(mUserManager.getPrimaryUser()).thenReturn(mPrimaryUser); in noNonCurrentUserAddedIfNoneExist()142 when(mUserManager.getPrimaryUser()).thenReturn(mPrimaryUser); in getNonCurrentUserControllers_notWorkProfile_addNonCurrentUserController()160 when(mUserManager.getPrimaryUser()).thenReturn(mPrimaryUser); in getNonCurrentUserControllers_workProfileOfNonCurrentUser()177 when(mUserManager.getPrimaryUser()).thenReturn(mPrimaryUser); in profilesOfCurrentUserAreIgnored()275 when(mUserManager.getPrimaryUser()).thenReturn(mPrimaryUser); in getNonCurrentUserControllers_switchUsers()
247 addProfile(getPrimaryUser()); in addPrimaryUser()307 protected UserInfo getPrimaryUser() { in getPrimaryUser() method in ShadowUserManager
121 fun getPrimaryUser(): UserInfo = getUser(primaryUserHandle) in <lambda>() method
91 final UserHandle primaryUser = userManager.getPrimaryUser().getUserHandle(); in onAttach()
2494 UserInfo primaryUserInfo = userManager.getPrimaryUser();