Searched refs:mUserHal (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | BaseCarUserServiceTestCase.java | 165 @Mock protected UserHalService mUserHal; field in BaseCarUserServiceTestCase 628 mUserHal, in newCarUserService() 719 }).when(mUserHal).getInitialUserInfo(anyInt(), eq(ASYNC_CALL_TIMEOUT_MS), in mockHalGetInitialInfo() 751 }).when(mUserHal).createUser(captor.capture(), eq(ASYNC_CALL_TIMEOUT_MS), notNull()); in mockHalCreateUser() 756 doThrow(exception).when(mUserHal).createUser(any(), eq(ASYNC_CALL_TIMEOUT_MS), notNull()); in mockHalCreateUserThrowsRuntimeException() 792 doAnswer(blockingAnswer).when(mUserHal).switchUser(eq(request), eq(ASYNC_CALL_TIMEOUT_MS), in mockHalSwitchLateResponse() 817 }).when(mUserHal).switchUser(eq(request), eq(ASYNC_CALL_TIMEOUT_MS), notNull()); in mockHalSwitch() 836 when(mUserHal.getUserAssociation(isUserIdentificationGetRequest(user, types))) in mockHalGetUserIdentificationAssociation() 872 }).when(mUserHal).setUserAssociation(eq(ASYNC_CALL_TIMEOUT_MS), notNull(), notNull()); in mockHalSetUserIdentificationAssociationSuccess() 885 }).when(mUserHal).setUserAssociation(eq(ASYNC_CALL_TIMEOUT_MS), notNull(), notNull()); in mockHalSetUserIdentificationAssociationFailure() [all …]
|
D | CarUserServiceTest.java | 301 verify(mUserHal).legacyUserSwitch(any()); in testOnUserLifecycleEvent_legacyUserSwitch_halCalled() 314 verify(mUserHal, never()).legacyUserSwitch(any()); in testOnUserLifecycleEvent_legacyUserSwitch_halnotSupported() 1486 verify(mUserHal).legacyUserSwitch( in testSwitchUser_multipleCallsDifferentUser_beforeFirstUserUnlock_legacySwitch() 1677 verify(mUserHal).legacyUserSwitch( in testLegacyUserSwitch_ok() 1701 verify(mUserHal, never()).legacyUserSwitch(any()); in testLegacyUserSwitch_notCalledAfterNormalSwitch() 2177 }).when(mUserHal).createUser(any(), anyInt(), any()); in testCreateUser_concurrentRequests_success() 2516 when(mUserHal.isSupported()).thenReturn(true); in testIsHalSupported() 2568 verify(mUserHal, never()).getUserAssociation(any()); in testGetUserIdentificationAssociation_halNotSupported() 2650 verify(mUserHal, never()).setUserAssociation(anyInt(), any(), any()); in testSetUserIdentificationAssociation_halNotSupported()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 110 private final UserHalService mUserHal; field in VehicleHal 277 mUserHal = userHal != null ? userHal : new UserHalService(this); in VehicleHal() 289 mUserHal, in VehicleHal() 568 return mUserHal; in getUserHal()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 126 private UserHalService mUserHal; field in VendorServiceControllerTest 157 mCarUserService = new CarUserService(mContext, mUserHal, mUserManager, in setUp()
|