Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java93 private int halToManagerPropId(int halPropId) { in halToManagerPropId() argument
94 return PROPERTY_ID_HAL_TO_MANAGER.getOrDefault(halPropId, halPropId); in halToManagerPropId()
98 private boolean isPropertySupportedInVehicle(int halPropId) { in isPropertySupportedInVehicle() argument
99 return mHalPropIdToVehiclePropConfig.contains(halPropId); in isPropertySupportedInVehicle()
168 int halPropId = managerToHalPropId(mgrPropId); in getProperty() local
169 if (!isPropertySupportedInVehicle(halPropId)) { in getProperty()
174 VehiclePropValue value = mVehicleHal.get(halPropId, areaId); in getProperty()
175 if (isMixedTypeProperty(halPropId)) { in getProperty()
178 propConfig = mHalPropIdToVehiclePropConfig.get(halPropId); in getProperty()
192 int halPropId = managerToHalPropId(mgrPropId); in getSampleRate() local
[all …]
DDiagnosticHalService.java320 private VehiclePropConfig getPropConfig(int halPropId) { in getPropConfig() argument
323 config = mVehiclePropertyToConfig.get(halPropId, null); in getPropConfig()
328 private List<Integer> getPropConfigArray(int halPropId) { in getPropConfigArray() argument
329 VehiclePropConfig propConfig = getPropConfig(halPropId); in getPropConfigArray()
333 private int getNumIntegerSensors(int halPropId) { in getNumIntegerSensors() argument
335 List<Integer> configArray = getPropConfigArray(halPropId); in getNumIntegerSensors()
339 "assuming 0.", halPropId)); in getNumIntegerSensors()
347 private int getNumFloatSensors(int halPropId) { in getNumFloatSensors() argument
349 List<Integer> configArray = getPropConfigArray(halPropId); in getNumFloatSensors()
353 "assuming 0.", halPropId)); in getNumFloatSensors()
DCarPropertyUtils.java121 static VehiclePropValue toVehiclePropValue(CarPropertyValue carProp, int halPropId) { in toVehiclePropValue() argument
123 vehicleProp.prop = halPropId; in toVehiclePropValue()
173 int halPropId, int[] configArray) { in toMixedVehiclePropValue() argument
178 vehicleProp.prop = halPropId; in toMixedVehiclePropValue()
DHalServiceBase.java126 int getManagerPropId(int halPropId) { in getManagerPropId() argument
127 return mMap.getKey(halPropId, NOT_SUPPORTED_PROPERTY); in getManagerPropId()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java259 private void verifyEventsFromSingleProperty(int mgrPropId, int halPropId) throws Exception { in verifyEventsFromSingleProperty() argument
271 .setProp(halPropId) in verifyEventsFromSingleProperty()