Lines Matching refs:prop
42 int32_t numAreas = isGlobalProp(cfg.prop) ? 1 : cfg.areaConfigs.size(); in storePropInitialValue()
45 int32_t curArea = isGlobalProp(cfg.prop) ? 0 : cfg.areaConfigs[i].areaId; in storePropInitialValue()
48 VehiclePropValue prop = { in storePropInitialValue() local
50 .prop = cfg.prop, in storePropInitialValue()
54 prop.value = config.initialValue; in storePropInitialValue()
57 prop.value = valueForAreaIt->second; in storePropInitialValue()
60 << " prop 0x" << std::hex << cfg.prop << " area 0x" << std::hex << curArea; in storePropInitialValue()
61 prop.status = VehiclePropertyStatus::UNAVAILABLE; in storePropInitialValue()
64 mServerSidePropStore.writeValue(prop, true); in storePropInitialValue()
206 req->prop = toInt(VehicleProperty::AP_POWER_STATE_REQ); in createApPowerStateReq()
218 keyEvent->prop = toInt(VehicleProperty::HW_KEY_INPUT); in createHwInputKeyProp()
230 LOG(DEBUG) << "onSetProperty(" << value.prop << ")"; in onSetProperty()
233 switch (value.prop) { in onSetProperty()
240 updatedPropValue->prop = value.value.int32Values[0]; in onSetProperty()
249 updatedPropValue->prop = value.value.int32Values[0]; in onSetProperty()
258 updatedPropValue->prop = value.value.int32Values[1]; 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()
306 updatedPropValue->prop |= toInt(VehiclePropertyGroup::VENDOR); in onSetProperty()
308 updatedPropValue->prop |= toInt(VehiclePropertyGroup::SYSTEM); in onSetProperty()