Searched refs:mVehicleHal (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 72 private VehicleHal mVehicleHal; field in VmsHalServiceTest 91 mHalService = new VmsHalService(mVehicleHal, () -> (long) CORE_ID); in setUp() 107 Mockito.inOrder(mPublisherOnHalConnected, mSubscriberService, mVehicleHal); in setUp() 108 initOrder.verify(mVehicleHal).subscribeProperty(mHalService, in setUp() 110 initOrder.verify(mVehicleHal).set(createHalMessage( in setUp() 141 initOrder.verify(mVehicleHal).set(createHalMessage( in setUp() 147 reset(mPublisherOnHalConnected, mSubscriberService, mVehicleHal); in setUp() 152 mHalService = new VmsHalService(mVehicleHal, () -> (long) Integer.MAX_VALUE + CORE_ID); in testCoreId_IntegerOverflow() 163 verify(mVehicleHal).set(createHalMessage( in testCoreId_IntegerOverflow() 319 verify(mVehicleHal).set(response); in testHandlePublisherIdRequestEvent() [all …]
|
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() 197 mVehicleHal.set(halProp); in setProperty() 228 mVehicleHal.subscribeProperty(this, halPropId, rate); in subscribeProperty() 247 mVehicleHal.unsubscribeProperty(this, halPropId); in unsubscribeProperty() 266 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 | 81 private final VehicleHal mVehicleHal; field in VmsHalService 204 mVehicleHal = vehicleHal; in VmsHalService() 251 mVehicleHal.subscribeProperty(this, HAL_PROPERTY_ID); in init() 270 mVehicleHal.unsubscribeProperty(this, HAL_PROPERTY_ID); in release() 660 mVehicleHal.set(vehicleProp); in setPropertyValue()
|