Home
last modified time | relevance | path

Searched refs:mInitialUserSetter (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java176 @Mock private InitialUserSetter mInitialUserSetter; field in CarUserServiceTest
404 verify(mInitialUserSetter).setLastActiveUser(user.id); in verifyLastActiveUserSet()
408 verify(mInitialUserSetter, never()).setLastActiveUser(any()); in verifyLastActiveUserNotSet()
2130 verify(mInitialUserSetter).set(argThat((info) -> { in testInitBootUser_halNotSupported()
2144 verify(mInitialUserSetter).set(argThat((info) -> { in testInitBootUser_halNullResponse()
2159 verify(mInitialUserSetter).set(argThat((info) -> { in testInitBootUser_halDefaultResponse()
2176 verify(mInitialUserSetter).set(argThat((info) -> { in testInitBootUser_halSwitchResponse()
2195 verify(mInitialUserSetter).set(argThat((info) -> { in testInitBootUser_halCreateResponse()
2222 when(mInitialUserSetter.canReplaceGuestUser(any())).thenReturn(true); in testOnSuspend_replace()
2228 verify(mInitialUserSetter).set(argThat((info) -> { in testOnSuspend_replace()
[all …]
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java167 private final InitialUserSetter mInitialUserSetter; field in CarUserService
324 mInitialUserSetter = in CarUserService()
420 mInitialUserSetter.dump(writer); in dump()
758 if (!mInitialUserSetter.canReplaceGuestUser(currentUser)) return; // Not a guest in initResumeReplaceGuest()
763 mInitialUserSetter.set(info); in initResumeReplaceGuest()
842 mInitialUserSetter.set(info); in initBootUser()
853 mInitialUserSetter.set(info); in initBootUser()
880 mInitialUserSetter.set(info); in fallbackToDefaultInitialUserBehavior()
885 if (!mInitialUserSetter.hasInitialUser()) { in getInitialUserInfoRequestType()
2185 mInitialUserSetter.setLastActiveUser(toUserId); in onUserSwitching()