Searched refs:propConfig (Results 1 – 9 of 9) sorted by relevance
162 protected int getTokenForProperty(HalPropConfig propConfig) { in getTokenForProperty() argument163 int propId = propConfig.getPropId(); in getTokenForProperty()168 mVehiclePropertyToConfig.put(propId, propConfig); in getTokenForProperty()170 + Arrays.toString(propConfig.getConfigArray())); in getTokenForProperty()174 mVehiclePropertyToConfig.put(propId, propConfig); in getTokenForProperty()176 + Arrays.toString(propConfig.getConfigArray())); in getTokenForProperty()183 int[] configArray = propConfig.getConfigArray(); in getTokenForProperty()254 HalPropConfig propConfig; in requestDiagnosticStart() local256 propConfig = mSensorTypeToConfig.get(sensorType); in requestDiagnosticStart()258 if (propConfig == null) { in requestDiagnosticStart()[all …]
188 HalPropConfig propConfig; in getProperty() local190 propConfig = mHalPropIdToPropConfig.get(halPropId); in getProperty()192 return value.toCarPropertyValue(mgrPropId, propConfig); in getProperty()285 HalPropConfig propConfig; in setProperty() local287 propConfig = mHalPropIdToPropConfig.get(halPropId); in setProperty()289 HalPropValue halPropValue = mPropValueBuilder.build(prop, halPropId, propConfig); in setProperty()430 HalPropConfig propConfig; in onHalEvents() local432 propConfig = mHalPropIdToPropConfig.get(propId); in onHalEvents()434 CarPropertyValue<?> propVal = v.toCarPropertyValue(mgrPropId, propConfig); in onHalEvents()
34 private AidlVehiclePropConfigBuilder(VehiclePropConfig propConfig) { in AidlVehiclePropConfigBuilder() argument35 mConfig = clone(propConfig); in AidlVehiclePropConfigBuilder()47 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() argument50 newConfig.prop = propConfig.prop; in clone()51 newConfig.access = propConfig.access; in clone()52 newConfig.changeMode = propConfig.changeMode; in clone()53 newConfig.configString = propConfig.configString; in clone()54 newConfig.minSampleRate = propConfig.minSampleRate; in clone()55 newConfig.maxSampleRate = propConfig.maxSampleRate; in clone()56 newConfig.configArray = propConfig.configArray.clone(); in clone()[all …]
46 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() argument49 newConfig.prop = propConfig.prop; in clone()50 newConfig.access = propConfig.access; in clone()51 newConfig.changeMode = propConfig.changeMode; in clone()52 newConfig.configString = propConfig.configString; in clone()53 newConfig.minSampleRate = propConfig.minSampleRate; in clone()54 newConfig.maxSampleRate = propConfig.maxSampleRate; in clone()55 newConfig.configArray.addAll(propConfig.configArray); in clone()56 for (VehicleAreaConfig area : propConfig.areaConfigs) { in clone()
105 public DiagnosticEventBuilder(VehiclePropConfig propConfig) { in DiagnosticEventBuilder() argument106 this(propConfig.prop, propConfig.configArray[0], propConfig.configArray[1]); in DiagnosticEventBuilder()
55 def __init__(self, propConfig): argument58 self.numIntSensors = propConfig.config[0].config_array[0] + \60 self.numFloatSensors = propConfig.config[0].config_array[1] + \
111 VehiclePropConfig propConfig = new VehiclePropConfig(); in initHalService() local112 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in initHalService()113 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in initHalService()165 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow() local166 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in testCoreId_IntegerOverflow()167 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in testCoreId_IntegerOverflow()
464 CarPropertyConfig<?> propConfig = getCarPropertyConfig(propId); in getAreaId() local465 if (propConfig == null) { in getAreaId()470 if (propConfig.isGlobalProperty()) { in getAreaId()473 for (int areaId : propConfig.getAreaIds()) { in getAreaId()
329 PropertyData(CarPropertyConfig propConfig) { in PropertyData() argument330 config = propConfig; in PropertyData()