Home
last modified time | relevance | path

Searched refs:getInitialUser (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java854 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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java81 doReturn(10).when(mCarUserManagerHelper).getInitialUser(); in setUp()
179 doReturn(newUserId).when(mCarUserManagerHelper).getInitialUser(); in testSleepEntryAndWakeUpForProcessing()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java233 public int getInitialUser() { in getInitialUser() method in CarUserManagerHelper
/packages/services/Car/service/src/com/android/car/
DCarPowerManagementService.java311 int targetUserId = mCarUserManagerHelper.getInitialUser(); in handleOn()