Loading automotive/vehicle/2.0/default/common/src/VehicleObjectPool.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ VehiclePropValuePool::RecyclableType VehiclePropValuePool::obtain( dest->prop = src.prop; dest->areaId = src.areaId; dest->status = src.status; dest->timestamp = src.timestamp; copyVehicleRawValue(&dest->value, src.value); Loading automotive/vehicle/2.0/default/common/src/VehicleUtils.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -114,6 +114,7 @@ void shallowCopyHidlStr(hidl_string* dest, const hidl_string& src) { void shallowCopy(VehiclePropValue* dest, const VehiclePropValue& src) { dest->prop = src.prop; dest->areaId = src.areaId; dest->status = src.status; dest->timestamp = src.timestamp; shallowCopyHidlVec(&dest->value.int32Values, src.value.int32Values); shallowCopyHidlVec(&dest->value.int64Values, src.value.int64Values); Loading automotive/vehicle/2.0/default/impl/vhal_v2_0/EmulatedVehicleHal.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -363,6 +363,7 @@ void EmulatedVehicleHal::onFakeValueGenerated(int32_t propId, float value) { updatedPropValue->prop = propId; updatedPropValue->areaId = 0; // Add area support if necessary. updatedPropValue->timestamp = elapsedRealtimeNano(); updatedPropValue->status = VehiclePropertyStatus::AVAILABLE; mPropStore->writeValue(*updatedPropValue); auto changeMode = mPropStore->getConfigOrDie(propId)->changeMode; if (VehiclePropertyChangeMode::ON_CHANGE == changeMode) { Loading Loading
automotive/vehicle/2.0/default/common/src/VehicleObjectPool.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ VehiclePropValuePool::RecyclableType VehiclePropValuePool::obtain( dest->prop = src.prop; dest->areaId = src.areaId; dest->status = src.status; dest->timestamp = src.timestamp; copyVehicleRawValue(&dest->value, src.value); Loading
automotive/vehicle/2.0/default/common/src/VehicleUtils.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -114,6 +114,7 @@ void shallowCopyHidlStr(hidl_string* dest, const hidl_string& src) { void shallowCopy(VehiclePropValue* dest, const VehiclePropValue& src) { dest->prop = src.prop; dest->areaId = src.areaId; dest->status = src.status; dest->timestamp = src.timestamp; shallowCopyHidlVec(&dest->value.int32Values, src.value.int32Values); shallowCopyHidlVec(&dest->value.int64Values, src.value.int64Values); Loading
automotive/vehicle/2.0/default/impl/vhal_v2_0/EmulatedVehicleHal.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -363,6 +363,7 @@ void EmulatedVehicleHal::onFakeValueGenerated(int32_t propId, float value) { updatedPropValue->prop = propId; updatedPropValue->areaId = 0; // Add area support if necessary. updatedPropValue->timestamp = elapsedRealtimeNano(); updatedPropValue->status = VehiclePropertyStatus::AVAILABLE; mPropStore->writeValue(*updatedPropValue); auto changeMode = mPropStore->getConfigOrDie(propId)->changeMode; if (VehiclePropertyChangeMode::ON_CHANGE == changeMode) { Loading