Searched refs:getInitialUser (Results 1 – 5 of 5) sorted by relevance
813 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()
2216 assertThat(mCarUserService.getInitialUser()).isNull(); in testSetInitialUser_nullUser()
389 int userId = getInitialUser(info.supportsOverrideUserIdProperty); in executeDefaultBehavior()723 int getInitialUser(boolean usesOverrideUserIdProperty) { in getInitialUser() method in InitialUserSetter
730 public UserInfo getInitialUser() { in getInitialUser() method
906 getInitialUser(writer); in exec()1583 private void getInitialUser(IndentingPrintWriter writer) {1584 android.content.pm.UserInfo user = mCarUserService.getInitialUser();