Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java2712 verify(mInitialUserSetter).set(argThat((info) -> { in testPriorityInit_halNotSupported()
2726 verify(mInitialUserSetter).set(argThat((info) -> { in testPriorityInit_halNullResponse()
2741 verify(mInitialUserSetter).set(argThat((info) -> { in testPriorityInit_halDefaultResponse()
2758 verify(mInitialUserSetter).set(argThat((info) -> { in testPriorityInit_halSwitchResponse()
2777 verify(mInitialUserSetter).set(argThat((info) -> { in testPriorityInit_halCreateResponse()
2788 when(mInitialUserSetter.canReplaceGuestUser(any())).thenReturn(true); in testOnSuspend_replace()
2794 verify(mInitialUserSetter).set(argThat((info) -> { in testOnSuspend_replace()
2807 verify(mInitialUserSetter, never()).set(any()); in testOnSuspend_notReplace()
2818 verify(mInitialUserSetter).set(argThat((info) -> { in testOnResume_halNullResponse_replaceTrue()
2835 verify(mInitialUserSetter).set(argThat((info) -> { in testOnResume_halDefaultResponse_replaceGuest()
[all …]
DBaseCarUserServiceTestCase.java171 @Mock protected InitialUserSetter mInitialUserSetter; field in BaseCarUserServiceTestCase
390 verify(mInitialUserSetter).setLastActiveUser(user.getIdentifier()); in verifyLastActiveUserSet()
634 mInitialUserSetter, in newCarUserService()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java222 private final InitialUserSetter mInitialUserSetter; field in CarUserService
376 mInitialUserSetter = in CarUserService()
502 mInitialUserSetter.dump(writer); in dump()
711 if (!mInitialUserSetter.canReplaceGuestUser(currentUser)) return; // Not a guest in initResumeReplaceGuest()
716 mInitialUserSetter.set(info); in initResumeReplaceGuest()
791 mInitialUserSetter.set(info); in initBootUser()
803 mInitialUserSetter.set(info); in initBootUser()
837 mInitialUserSetter.set(info); in fallbackToDefaultInitialUserBehavior()
842 if (!mInitialUserSetter.hasInitialUser()) { in getInitialUserInfoRequestType()
2709 mInitialUserSetter.setLastActiveUser(toUserId); in onUserSwitching()