Lines Matching refs:value
54 prop.value = config.initialValue; in storePropInitialValue()
57 prop.value = valueForAreaIt->second; in storePropInitialValue()
79 for (const auto& value : values) { in sendAllValuesToClient() local
80 onPropertyValueFromCar(value, update_status); in sendAllValuesToClient()
102 void DefaultVehicleHalServer::onFakeValueGenerated(const VehiclePropValue& value) { in onFakeValueGenerated() argument
104 LOG(DEBUG) << __func__ << ": " << toString(value); in onFakeValueGenerated()
105 auto updatedPropValue = getValuePool()->obtain(value); in onFakeValueGenerated()
107 updatedPropValue->timestamp = value.timestamp; in onFakeValueGenerated()
122 const auto& v = request.value; in handleGenerateFakeDataRequest()
184 int32_t keyCode = request.value.int32Values[2]; in handleGenerateFakeDataRequest()
185 int32_t display = request.value.int32Values[3]; in handleGenerateFakeDataRequest()
210 req->value.int32Values[0] = toInt(state); in createApPowerStateReq()
211 req->value.int32Values[1] = param; in createApPowerStateReq()
222 keyEvent->value.int32Values[0] = toInt(action); in createHwInputKeyProp()
223 keyEvent->value.int32Values[1] = keyCode; in createHwInputKeyProp()
224 keyEvent->value.int32Values[2] = targetDisplay; in createHwInputKeyProp()
228 StatusCode DefaultVehicleHalServer::onSetProperty(const VehiclePropValue& value, in onSetProperty() argument
230 LOG(DEBUG) << "onSetProperty(" << value.prop << ")"; in onSetProperty()
233 switch (value.prop) { in onSetProperty()
235 return handleGenerateFakeDataRequest(value); in onSetProperty()
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()
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()
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()
267 switch (value.value.int32Values[0]) { in onSetProperty()
303 auto updatedPropValue = createVehiclePropValue(getPropType(value.prop), 0); in onSetProperty()
304 updatedPropValue->prop = value.prop & ~toInt(VehiclePropertyGroup::MASK); in onSetProperty()
305 if (isSystemProperty(value.prop)) { in onSetProperty()
310 updatedPropValue->value = value.value; in onSetProperty()
312 updatedPropValue->areaId = value.areaId; in onSetProperty()
324 auto updatedPropValue = getValuePool()->obtain(value); in onSetProperty()