Searched refs:guest (Results 1 – 10 of 10) sorted by relevance
118 UserInfo guest = new UserInfo(12, name, UserInfo.FLAG_GUEST); in createGuest() local120 addUserInfo(guest); in createGuest()121 return guest; in createGuest()
964 UserInfo guest = createNewOrFindExistingGuest(guestName); in startGuestSession() local965 if (guest == null) { in startGuestSession()968 return switchToUserId(guest.id); in startGuestSession()
930 UserInfo guest = mCarUserManagerHelper.createNewOrFindExistingGuest(GUEST_USER_NAME); in test_CreateNewOrFindExistingGuest_ReturnsExistingGuest() local931 assertThat(guest).isEqualTo(user3); in test_CreateNewOrFindExistingGuest_ReturnsExistingGuest()946 UserInfo guest = mCarUserManagerHelper.createNewOrFindExistingGuest(GUEST_USER_NAME); in test_CreateNewOrFindExistingGuest_CreatesNewGuest_IfNoExisting() local948 assertThat(guest).isEqualTo(guestInfo); in test_CreateNewOrFindExistingGuest_CreatesNewGuest_IfNoExisting()
177 final Preference guest = userListCategory.findPreference(KEY_USER_GUEST); in updateUserList_cannotSwitchUser_shouldNotBeSelectableForGuest() local178 assertThat(guest.isSelectable()).isFalse(); in updateUserList_cannotSwitchUser_shouldNotBeSelectableForGuest()
922 UserInfo guest = mUserManager.createGuest( in updateUserList()924 if (guest != null) { in updateUserList()925 id = guest.id; in updateUserList()
918 UserInfo guest = mUserManager.createGuest( in updateUserList()920 if (guest != null) { in updateUserList()921 id = guest.id; in updateUserList()