Lines Matching refs:updatedPropValue
105 auto updatedPropValue = getValuePool()->obtain(value); in onFakeValueGenerated() local
106 if (updatedPropValue) { in onFakeValueGenerated()
107 updatedPropValue->timestamp = value.timestamp; in onFakeValueGenerated()
108 updatedPropValue->status = VehiclePropertyStatus::AVAILABLE; in onFakeValueGenerated()
109 mServerSidePropStore.writeValue(*updatedPropValue, updateStatus); in onFakeValueGenerated()
110 onPropertyValueFromCar(*updatedPropValue, updateStatus); in onFakeValueGenerated()
239 auto updatedPropValue = createVehiclePropValue(VehiclePropertyType::INT32, 1); in onSetProperty() local
240 updatedPropValue->prop = value.value.int32Values[0]; in onSetProperty()
241 updatedPropValue->value.int32Values[0] = value.value.int32Values[1]; in onSetProperty()
242 updatedPropValue->timestamp = value.value.int64Values[0]; in onSetProperty()
243 updatedPropValue->areaId = value.areaId; in onSetProperty()
244 onPropertyValueFromCar(*updatedPropValue, updateStatus); in onSetProperty()
248 auto updatedPropValue = createVehiclePropValue(VehiclePropertyType::FLOAT, 1); in onSetProperty() local
249 updatedPropValue->prop = value.value.int32Values[0]; in onSetProperty()
250 updatedPropValue->value.floatValues[0] = value.value.floatValues[0]; in onSetProperty()
251 updatedPropValue->timestamp = value.value.int64Values[0]; in onSetProperty()
252 updatedPropValue->areaId = value.areaId; in onSetProperty()
253 onPropertyValueFromCar(*updatedPropValue, updateStatus); in onSetProperty()
257 auto updatedPropValue = createVehiclePropValue(VehiclePropertyType::BOOLEAN, 1); in onSetProperty() local
258 updatedPropValue->prop = value.value.int32Values[1]; in onSetProperty()
259 updatedPropValue->value.int32Values[0] = value.value.int32Values[0]; in onSetProperty()
260 updatedPropValue->timestamp = value.value.int64Values[0]; in onSetProperty()
261 updatedPropValue->areaId = value.areaId; in onSetProperty()
262 onPropertyValueFromCar(*updatedPropValue, updateStatus); in onSetProperty()
303 auto updatedPropValue = createVehiclePropValue(getPropType(value.prop), 0); in onSetProperty() local
304 updatedPropValue->prop = value.prop & ~toInt(VehiclePropertyGroup::MASK); in onSetProperty()
306 updatedPropValue->prop |= toInt(VehiclePropertyGroup::VENDOR); in onSetProperty()
308 updatedPropValue->prop |= toInt(VehiclePropertyGroup::SYSTEM); in onSetProperty()
310 updatedPropValue->value = value.value; in onSetProperty()
311 updatedPropValue->timestamp = elapsedRealtimeNano(); in onSetProperty()
312 updatedPropValue->areaId = value.areaId; in onSetProperty()
313 onPropertyValueFromCar(*updatedPropValue, updateStatus); in onSetProperty()
324 auto updatedPropValue = getValuePool()->obtain(value); in onSetProperty() local
325 updatedPropValue->timestamp = elapsedRealtimeNano(); in onSetProperty()
327 mServerSidePropStore.writeValue(*updatedPropValue, updateStatus); in onSetProperty()
328 onPropertyValueFromCar(*updatedPropValue, updateStatus); in onSetProperty()