Searched refs:propConfig (Results 1 – 7 of 7) sorted by relevance
156 protected int getTokenForProperty(VehiclePropConfig propConfig) { in getTokenForProperty() argument157 switch (propConfig.prop) { in getTokenForProperty()159 mDiagnosticCapabilities.setSupported(propConfig.prop); in getTokenForProperty()160 mVehiclePropertyToConfig.put(propConfig.prop, propConfig); in getTokenForProperty()162 propConfig.configArray)); in getTokenForProperty()165 mDiagnosticCapabilities.setSupported(propConfig.prop); in getTokenForProperty()166 mVehiclePropertyToConfig.put(propConfig.prop, propConfig); in getTokenForProperty()168 propConfig.configArray)); in getTokenForProperty()171 mDiagnosticCapabilities.setSupported(propConfig.prop); in getTokenForProperty()172 return propConfig.prop; in getTokenForProperty()[all …]
176 VehiclePropConfig propConfig; in getProperty() local178 propConfig = mHalPropIdToVehiclePropConfig.get(halPropId); in getProperty()180 boolean containBooleanType = propConfig.configArray.get(1) == 1; in getProperty()242 VehiclePropConfig propConfig; in setProperty() local244 propConfig = mHalPropIdToVehiclePropConfig.get(prop.getPropertyId()); in setProperty()246 int[] configArray = propConfig.configArray.stream().mapToInt(i->i).toArray(); in setProperty()388 VehiclePropConfig propConfig; in onHalEvents() local390 propConfig = mHalPropIdToVehiclePropConfig.get(v.prop); in onHalEvents()392 boolean containBooleanType = propConfig.configArray.get(1) == 1; in onHalEvents()
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()
101 public DiagnosticEventBuilder(VehiclePropConfig propConfig) { in DiagnosticEventBuilder() argument102 this(propConfig.prop, propConfig.configArray.get(0), propConfig.configArray.get(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] + \
105 VehiclePropConfig propConfig = new VehiclePropConfig(); in initHalService() local106 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in initHalService()107 mHalService.takeProperties(Collections.singleton(propConfig)); in initHalService()157 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow() local158 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in testCoreId_IntegerOverflow()159 mHalService.takeProperties(Collections.singleton(propConfig)); in testCoreId_IntegerOverflow()
418 CarPropertyConfig<?> propConfig = getCarPropertyConfig(propId); in getAreaId() local419 if (propConfig == null) { in getAreaId()424 if (propConfig.isGlobalProperty()) { in getAreaId()427 for (int areaId : propConfig.getAreaIds()) { in getAreaId()