Searched refs:switchToUserId (Results 1 – 4 of 4) sorted by relevance
927 public boolean switchToUserId(int id) { in switchToUserId() method in CarUserManagerHelper948 return switchToUserId(userInfo.id); in switchToUser()962 return switchToUserId(guest.id); in startGuestSession()
566 assertThat(mCarUserManagerHelper.switchToUserId(userIdToSwitchTo)).isTrue(); in testSwitchToId()574 assertThat(mCarUserManagerHelper.switchToUserId(mForegroundUserId)).isFalse(); in testSwitchToForegroundIdExitsEarly()583 assertThat(mCarUserManagerHelper.switchToUserId(userIdToSwitchTo)).isFalse(); in testCannotSwitchIfSwitchingNotAllowed()
709 verify(mCarUserManagerHelper, never()).switchToUserId(anyInt()); in verifyUserNotSwitched()713 verify(mCarUserManagerHelper, times(1)).switchToUserId(userId); in verifyUserSwitched()
490 mCarUserManagerHelper.switchToUserId(toUser); in switchToUser()