Home
last modified time | relevance | path

Searched refs:updatedPropValue (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultVehicleHalServer.cpp120 auto updatedPropValue = getValuePool()->obtain(value); in onFakeValueGenerated() local
121 if (updatedPropValue) { in onFakeValueGenerated()
122 updatedPropValue->timestamp = value.timestamp; in onFakeValueGenerated()
123 updatedPropValue->status = VehiclePropertyStatus::AVAILABLE; in onFakeValueGenerated()
124 mServerSidePropStore.writeValue(*updatedPropValue, updateStatus); in onFakeValueGenerated()
125 onPropertyValueFromCar(*updatedPropValue, updateStatus); in onFakeValueGenerated()
201 auto updatedPropValue = createVehiclePropValue(getPropType(value.prop), 0); in onSetProperty() local
202 updatedPropValue->prop = value.prop & ~toInt(VehiclePropertyGroup::MASK); in onSetProperty()
204 updatedPropValue->prop |= toInt(VehiclePropertyGroup::VENDOR); in onSetProperty()
206 updatedPropValue->prop |= toInt(VehiclePropertyGroup::SYSTEM); in onSetProperty()
[all …]
DDefaultVehicleHal.cpp571 VehiclePropValuePtr updatedPropValue = getValuePool()->obtain(value); in onPropertyValue() local
573 if (mPropStore->writeValueWithCurrentTimestamp(updatedPropValue.get(), updateStatus)) { in onPropertyValue()
574 doHalEvent(std::move(updatedPropValue)); in onPropertyValue()