Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java162 protected int getTokenForProperty(HalPropConfig propConfig) { in getTokenForProperty() argument
163 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() local
256 propConfig = mSensorTypeToConfig.get(sensorType); in requestDiagnosticStart()
258 if (propConfig == null) { in requestDiagnosticStart()
[all …]
DPropertyHalService.java188 HalPropConfig propConfig; in getProperty() local
190 propConfig = mHalPropIdToPropConfig.get(halPropId); in getProperty()
192 return value.toCarPropertyValue(mgrPropId, propConfig); in getProperty()
285 HalPropConfig propConfig; in setProperty() local
287 propConfig = mHalPropIdToPropConfig.get(halPropId); in setProperty()
289 HalPropValue halPropValue = mPropValueBuilder.build(prop, halPropId, propConfig); in setProperty()
430 HalPropConfig propConfig; in onHalEvents() local
432 propConfig = mHalPropIdToPropConfig.get(propId); in onHalEvents()
434 CarPropertyValue<?> propVal = v.toCarPropertyValue(mgrPropId, propConfig); in onHalEvents()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/hal/test/
DAidlVehiclePropConfigBuilder.java34 private AidlVehiclePropConfigBuilder(VehiclePropConfig propConfig) { in AidlVehiclePropConfigBuilder() argument
35 mConfig = clone(propConfig); in AidlVehiclePropConfigBuilder()
47 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() argument
50 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 …]
DHidlVehiclePropConfigBuilder.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()
DDiagnosticEventBuilder.java105 public DiagnosticEventBuilder(VehiclePropConfig propConfig) { in DiagnosticEventBuilder() argument
106 this(propConfig.prop, propConfig.configArray[0], propConfig.configArray[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.java111 VehiclePropConfig propConfig = new VehiclePropConfig(); in initHalService() local
112 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in initHalService()
113 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in initHalService()
165 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow() local
166 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in testCoreId_IntegerOverflow()
167 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in testCoreId_IntegerOverflow()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java464 CarPropertyConfig<?> propConfig = getCarPropertyConfig(propId); in getAreaId() local
465 if (propConfig == null) { in getAreaId()
470 if (propConfig.isGlobalProperty()) { in getAreaId()
473 for (int areaId : propConfig.getAreaIds()) { in getAreaId()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DVehiclePropertyPublisher.java329 PropertyData(CarPropertyConfig propConfig) { in PropertyData() argument
330 config = propConfig; in PropertyData()