Searched refs:getInitialUser (Results 1 – 4 of 4) sorted by relevance
854 assertThat(mCarUserManagerHelper.getInitialUser()).isEqualTo(lastActiveUserId); in test_GetInitialUserWithValidLastActiveUser_ReturnsLastActiveUser()868 assertThat(mCarUserManagerHelper.getInitialUser()).isEqualTo(minimumUserId); in test_GetInitialUserWithNonExistLastActiveUser_ReturnsSmallestUserId()884 assertThat(mCarUserManagerHelper.getInitialUser()).isEqualTo(overrideUserId); in test_GetInitialUserWithOverrideId_ReturnsOverrideId()900 assertThat(mCarUserManagerHelper.getInitialUser()).isEqualTo(lastActiveUserId); in test_GetInitialUserWithInvalidOverrideId_ReturnsLastActiveUserId()917 assertThat(mCarUserManagerHelper.getInitialUser()).isEqualTo(minimumUserId); in test_GetInitialUserWithInvalidOverrideAndLastActiveUserIds_ReturnsSmallestUserId()
233 public int getInitialUser() { in getInitialUser() method in CarUserManagerHelper
688 when(mCarUserManagerHelper.getInitialUser()).thenReturn(userId); in setInitialUser()
410 int targetUserId = mCarUserManagerHelper.getInitialUser(); in switchUserOnResumeIfNecessary()