Home
last modified time | relevance | path

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

/device/google/trout/hal/vehicle/2.0/
DDefaultVehicleHalServer.cpp105 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()
[all …]
/device/generic/car/emulator/vhal_v2_0/
DEmulatedVehicleHalServer.cpp59 auto updatedPropValue = getValuePool()->obtain(propValue); in setPropertyFromVehicle() local
60 updatedPropValue->timestamp = elapsedRealtimeNano(); in setPropertyFromVehicle()
61 mServerSidePropStore.writeValue(*updatedPropValue, true); in setPropertyFromVehicle()
62 onPropertyValueFromCar(*updatedPropValue, true); in setPropertyFromVehicle()