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()
81 doReturn(10).when(mCarUserManagerHelper).getInitialUser(); in setUp()179 doReturn(newUserId).when(mCarUserManagerHelper).getInitialUser(); in testSleepEntryAndWakeUpForProcessing()
233 public int getInitialUser() { in getInitialUser() method in CarUserManagerHelper
311 int targetUserId = mCarUserManagerHelper.getInitialUser(); in handleOn()