Searched refs:mVehicleHal (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 91 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 …]
|
D | PropertyHalServiceTest.java | 39 private VehicleHal mVehicleHal; field in PropertyHalServiceTest 52 mPropertyHalService = new PropertyHalService(mVehicleHal); in setUp()
|
D | InputHalServiceTest.java | 62 @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/ |
D | PropertyHalService.java | 56 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()
|
D | DiagnosticHalService.java | 54 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()
|
D | VmsHalService.java | 84 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()
|