Home
last modified time | relevance | path

Searched refs:propConfig (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java156 protected int getTokenForProperty(VehiclePropConfig propConfig) { in getTokenForProperty() argument
157 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 …]
DPropertyHalService.java176 VehiclePropConfig propConfig; in getProperty() local
178 propConfig = mHalPropIdToVehiclePropConfig.get(halPropId); in getProperty()
180 boolean containBooleanType = propConfig.configArray.get(1) == 1; in getProperty()
242 VehiclePropConfig propConfig; in setProperty() local
244 propConfig = mHalPropIdToVehiclePropConfig.get(prop.getPropertyId()); in setProperty()
246 int[] configArray = propConfig.configArray.stream().mapToInt(i->i).toArray(); in setProperty()
388 VehiclePropConfig propConfig; in onHalEvents() local
390 propConfig = mHalPropIdToVehiclePropConfig.get(v.prop); in onHalEvents()
392 boolean containBooleanType = propConfig.configArray.get(1) == 1; in onHalEvents()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DVehiclePropConfigBuilder.java46 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() argument
49 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()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticEventBuilder.java101 public DiagnosticEventBuilder(VehiclePropConfig propConfig) { in DiagnosticEventBuilder() argument
102 this(propConfig.prop, propConfig.configArray.get(0), propConfig.configArray.get(1)); in DiagnosticEventBuilder()
/packages/services/Car/tools/emulator/
Ddiagnostic_builder.py55 def __init__(self, propConfig): argument
58 self.numIntSensors = propConfig.config[0].config_array[0] + \
60 self.numFloatSensors = propConfig.config[0].config_array[1] + \
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java105 VehiclePropConfig propConfig = new VehiclePropConfig(); in initHalService() local
106 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in initHalService()
107 mHalService.takeProperties(Collections.singleton(propConfig)); in initHalService()
157 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow() local
158 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in testCoreId_IntegerOverflow()
159 mHalService.takeProperties(Collections.singleton(propConfig)); in testCoreId_IntegerOverflow()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java418 CarPropertyConfig<?> propConfig = getCarPropertyConfig(propId); in getAreaId() local
419 if (propConfig == null) { in getAreaId()
424 if (propConfig.isGlobalProperty()) { in getAreaId()
427 for (int areaId : propConfig.getAreaIds()) { in getAreaId()