Home
last modified time | relevance | path

Searched refs:mICarServiceHelper (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java167 private final ICarServiceHelperImpl mICarServiceHelper = new ICarServiceHelperImpl(); field in CarOccupantZoneServiceTest
350 assertThat(mICarServiceHelper.mAllowlists).containsKey(userId); in assertDisplayAllowlist()
351 assertThat(mICarServiceHelper.mAllowlists.get(userId)).hasSize(displays.length); in assertDisplayAllowlist()
353 assertThat(mICarServiceHelper.mAllowlists.get(userId)).contains(display); in assertDisplayAllowlist()
358 assertThat(mICarServiceHelper.mPassengerDisplayIds).hasSize(2); in assertPassengerDisplaysFromDefaultConfig()
359 assertThat(mICarServiceHelper.mPassengerDisplayIds).contains( in assertPassengerDisplaysFromDefaultConfig()
361 assertThat(mICarServiceHelper.mPassengerDisplayIds).contains( in assertPassengerDisplaysFromDefaultConfig()
369 mService.setCarServiceHelper(mICarServiceHelper); in testAssignProfileUserOnce()
373 mICarServiceHelper.mAllowlists.clear(); in testAssignProfileUserOnce()
385 mService.setCarServiceHelper(mICarServiceHelper); in testAssignProfileUserFailForStoppedUser()
[all …]
/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemStateInterface.java84 private ICarServiceHelper mICarServiceHelper; // mHelperLatch becomes 0 when this is set field in SystemStateInterface.DefaultImpl
122 int retVal = mICarServiceHelper.forceSuspend(SUSPEND_TRY_TIMEOUT_MS); in enterDeepSleep()
140 if (mICarServiceHelper != null) { in canInvokeHelper()
149 if (mICarServiceHelper != null) { in canInvokeHelper()
174 mICarServiceHelper = helper; in setCarServiceHelper()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java182 @Mock private ICarServiceHelper mICarServiceHelper; field in CarUserServiceTest
296 mCarUserService.setCarServiceHelper(mICarServiceHelper); in testSetICarServiceHelper_withUxRestrictions()
297 verify(mICarServiceHelper).setSafetyMode(false); in testSetICarServiceHelper_withUxRestrictions()
300 verify(mICarServiceHelper).setSafetyMode(true); in testSetICarServiceHelper_withUxRestrictions()
308 mCarUserService.setCarServiceHelper(mICarServiceHelper); in testSetICarServiceHelper_withoutUxRestrictions()
309 verify(mICarServiceHelper).setSafetyMode(true); in testSetICarServiceHelper_withoutUxRestrictions()
312 verify(mICarServiceHelper).setSafetyMode(false); in testSetICarServiceHelper_withoutUxRestrictions()
1825 mCarUserService.setCarServiceHelper(mICarServiceHelper); in testCreateUserEvenWhenDisallowed_remoteException()
1826 when(mICarServiceHelper.createUserEvenWhenDisallowed(any(), any(), anyInt())) in testCreateUserEvenWhenDisallowed_remoteException()
1843 mCarUserService.setCarServiceHelper(mICarServiceHelper); in testCreateUserEvenWhenDisallowed_success()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java186 private ICarServiceHelper mICarServiceHelper; field in CarOccupantZoneService
735 if (mICarServiceHelper == null) { // helper not set yet. in doSyncWithCarServiceHelper()
738 helperToUse = mICarServiceHelper; in doSyncWithCarServiceHelper()
740 mICarServiceHelper = helper; in doSyncWithCarServiceHelper()
DICarImpl.java155 private ICarServiceHelper mICarServiceHelper; field in ICarImpl
460 mICarServiceHelper = carServiceHelper; in setSystemServerConnections()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java258 private ICarServiceHelper mICarServiceHelper; field in CarUserService
900 mICarServiceHelper = helper; in setCarServiceHelper()
931 if (mICarServiceHelper == null) { in setUxRestrictions()
934 helper = mICarServiceHelper; in setUxRestrictions()
1296 if (mICarServiceHelper == null) { in createUserEvenWhenDisallowed()
1302 return mICarServiceHelper.createUserEvenWhenDisallowed(name, userType, flags); in createUserEvenWhenDisallowed()