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/
DVehicleHalServer.cpp114 auto updatedPropValue = getValuePool()->obtain(value); in onFakeValueGenerated() local
115 if (updatedPropValue) { in onFakeValueGenerated()
116 updatedPropValue->timestamp = value.timestamp; in onFakeValueGenerated()
117 updatedPropValue->status = VehiclePropertyStatus::AVAILABLE; in onFakeValueGenerated()
118 mServerSidePropStore.writeValue(*updatedPropValue, updateStatus); in onFakeValueGenerated()
119 onPropertyValueFromCar(*updatedPropValue, updateStatus); in onFakeValueGenerated()
247 auto updatedPropValue = createVehiclePropValue(VehiclePropertyType::INT32, 1); in onSetProperty() local
248 updatedPropValue->prop = value.value.int32Values[0]; in onSetProperty()
249 updatedPropValue->value.int32Values[0] = value.value.int32Values[1]; in onSetProperty()
250 updatedPropValue->timestamp = value.value.int64Values[0]; in onSetProperty()
[all …]
DEmulatedVehicleHal.cpp395 VehiclePropValuePtr updatedPropValue = getValuePool()->obtain(value); in onPropertyValue() local
397 if (mPropStore->writeValue(*updatedPropValue, updateStatus)) { in onPropertyValue()
398 getEmulatorOrDie()->doSetValueFromClient(*updatedPropValue); in onPropertyValue()
399 doHalEvent(std::move(updatedPropValue)); in onPropertyValue()