Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java146 protected int getTokenForProperty(VehiclePropConfig propConfig) { in getTokenForProperty() argument
147 switch (propConfig.prop) { in getTokenForProperty()
149 mDiagnosticCapabilities.setSupported(propConfig.prop); in getTokenForProperty()
150 mVehiclePropertyToConfig.put(propConfig.prop, propConfig); in getTokenForProperty()
152 propConfig.configArray)); in getTokenForProperty()
155 mDiagnosticCapabilities.setSupported(propConfig.prop); in getTokenForProperty()
156 mVehiclePropertyToConfig.put(propConfig.prop, propConfig); in getTokenForProperty()
158 propConfig.configArray)); in getTokenForProperty()
161 mDiagnosticCapabilities.setSupported(propConfig.prop); in getTokenForProperty()
162 return propConfig.prop; in getTokenForProperty()
[all …]
/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.java116 VehiclePropConfig propConfig = new VehiclePropConfig(); in initHalService() local
117 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in initHalService()
118 mHalService.takeSupportedProperties(Collections.singleton(propConfig)); in initHalService()
177 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow() local
178 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in testCoreId_IntegerOverflow()
179 mHalService.takeSupportedProperties(Collections.singleton(propConfig)); in testCoreId_IntegerOverflow()