Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java813 assertThat(mSetter.getInitialUser(/* usesOverrideUserIdProperty= */ true)) in testGetInitialUser_WithValidLastActiveUser_ReturnsLastActiveUser()
823 assertThat(mSetter.getInitialUser(/* usesOverrideUserIdProperty= */ true)) in testGetInitialUser_WithNonExistLastActiveUser_ReturnsLastPersistentUser()
836 assertThat(mSetter.getInitialUser(/* usesOverrideUserIdProperty= */ true)) in testGetInitialUser_WithNonExistLastActiveAndPersistentUsers_ReturnsSmallestUser()
851 assertThat(mSetter.getInitialUser(/* usesOverrideUserIdProperty= */ true)) in testGetInitialUser_WithOverrideId_ReturnsOverrideId()
861 assertThat(mSetter.getInitialUser(/* usesOverrideUserIdProperty= */ true)) in testGetInitialUser_WithInvalidOverrideId_ReturnsLastActiveUserId()
875 assertThat(mSetter.getInitialUser(/* usesOverrideUserIdProperty= */ true)) in testGetInitialUser_WithInvalidOverrideAndLastActiveUserIds_ReturnsSmallestUserId()
885 assertThat(mSetter.getInitialUser(/* usesOverrideUserIdProperty= */ false)) in testGetInitialUser_WhenOverrideIdIsIgnored()
891 assertThat(mSetter.getInitialUser(/* usesOverrideUserIdProperty= */ true)) in testGetInitialUser_WithEmptyReturnNull()
1029 doReturn(userId).when(mSetter).getInitialUser(supportsOverrideUserIdProperty); in expectHasInitialUser()
DCarUserServiceTest.java2216 assertThat(mCarUserService.getInitialUser()).isNull(); in testSetInitialUser_nullUser()
/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java389 int userId = getInitialUser(info.supportsOverrideUserIdProperty); in executeDefaultBehavior()
723 int getInitialUser(boolean usesOverrideUserIdProperty) { in getInitialUser() method in InitialUserSetter
DCarUserService.java730 public UserInfo getInitialUser() { in getInitialUser() method
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java906 getInitialUser(writer); in exec()
1583 private void getInitialUser(IndentingPrintWriter writer) {
1584 android.content.pm.UserInfo user = mCarUserService.getInitialUser();