Searched refs:guestUserInfo (Results 1 – 2 of 2) sorted by relevance
218 UserInfo guestUserInfo = userManager.getUserInfo(mGuestUserId); in onClick() local220 if (guestUserInfo == null || !guestUserInfo.isGuest() || !mEnabling) { in onClick()227 boolean isSuccess = userManager.markGuestForDeletion(guestUserInfo.id); in onClick()230 + guestUserInfo.id); in onClick()233 userManager.removeUser(guestUserInfo.id); in onClick()
355 UserInfo guestUserInfo = mock(UserInfo.class); in onGuestPressed_createsAndSwitches() local356 guestUserInfo.id = guestUserId; in onGuestPressed_createsAndSwitches()357 when(mUserManager.findCurrentGuestUser()).thenReturn(guestUserInfo); in onGuestPressed_createsAndSwitches()