Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java91 private VehicleHal mVehicleHal; field in VmsHalServiceTest
111 mHalService = new VmsHalService(mContext, mVehicleHal, () -> (long) CORE_ID, in initHalService()
127 Mockito.inOrder(mClientManager, mSubscriberService, mVehicleHal); in initHalService()
128 initOrder.verify(mVehicleHal).subscribeProperty(mHalService, in initHalService()
130 initOrder.verify(mVehicleHal).set(createHalMessage( in initHalService()
161 initOrder.verify(mVehicleHal).set(createHalMessage( in initHalService()
169 reset(mClientManager, mSubscriberService, mVehicleHal); in initHalService()
174 mHalService = new VmsHalService(mContext, mVehicleHal, in testCoreId_IntegerOverflow()
186 verify(mVehicleHal).set(createHalMessage( in testCoreId_IntegerOverflow()
342 verify(mVehicleHal).set(response); in testHandlePublisherIdRequestEvent()
[all …]
DPropertyHalServiceTest.java39 private VehicleHal mVehicleHal; field in PropertyHalServiceTest
52 mPropertyHalService = new PropertyHalService(mVehicleHal); in setUp()
DInputHalServiceTest.java62 @Mock VehicleHal mVehicleHal; field in InputHalServiceTest
77 mInputHalService = new InputHalService(mVehicleHal, mUptimeSupplier); in setUp()
238 verify(mVehicleHal).subscribeProperty(mInputHalService, VehicleProperty.HW_KEY_INPUT); in subscribeListener()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java56 private final VehicleHal mVehicleHal; field in PropertyHalService
110 mVehicleHal = vehicleHal; in PropertyHalService()
151 value = mVehicleHal.get(halPropId, areaId); in getProperty()
164 return mVehicleHal.getSampleRate(propId); in getSampleRate()
205 mVehicleHal.set(halProp); in setProperty()
236 mVehicleHal.subscribeProperty(this, halPropId, rate); in subscribeProperty()
255 mVehicleHal.unsubscribeProperty(this, halPropId); in unsubscribeProperty()
274 mVehicleHal.unsubscribeProperty(this, prop); in release()
DDiagnosticHalService.java54 private final VehicleHal mVehicleHal; field in DiagnosticHalService
108 mVehicleHal = hal; in DiagnosticHalService()
251 mVehicleHal.subscribeProperty(this, propConfig.prop, in requestDiagnosticStart()
278 mVehicleHal.unsubscribeProperty(this, propConfig.prop); in requestDiagnosticStop()
301 return mVehicleHal.get(propConfig.prop); in getCurrentDiagnosticValue()
469 VehiclePropValue value = mVehicleHal.get(VehicleProperty.OBD2_LIVE_FRAME); in getCurrentLiveFrame()
483 VehiclePropValue value = mVehicleHal.get(VehicleProperty.OBD2_FREEZE_FRAME_INFO); in getFreezeFrameTimestamps()
505 VehiclePropValue value = mVehicleHal.get(builder.build()); in getFreezeFrame()
522 mVehicleHal.set(builder.build()); in clearFreezeFrames()
DVmsHalService.java84 private final VehicleHal mVehicleHal; field in VmsHalService
203 mVehicleHal = vehicleHal; in VmsHalService()
265 mVehicleHal.subscribeProperty(this, HAL_PROPERTY_ID); in init()
284 mVehicleHal.unsubscribeProperty(this, HAL_PROPERTY_ID); in release()
325 vehicleProp = mVehicleHal.get(mClientMetricsProperty); in dumpMetrics()
689 mVehicleHal.set(vehicleProp); in setPropertyValue()