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.java82 private int halToManagerPropId(int halPropId) { in halToManagerPropId() argument
83 if (mProps.containsKey(halPropId)) { in halToManagerPropId()
84 return halPropId; in halToManagerPropId()
144 int halPropId = managerToHalPropId(mgrPropId); in getProperty() local
145 if (halPropId == NOT_SUPPORTED_PROPERTY) { in getProperty()
151 value = mVehicleHal.get(halPropId, areaId); in getProperty()
153 Log.e(CarLog.TAG_PROPERTY, "get, property not ready 0x" + toHexString(halPropId), e); in getProperty()
198 int halPropId = managerToHalPropId(prop.getPropertyId()); in setProperty() local
199 if (halPropId == NOT_SUPPORTED_PROPERTY) { in setProperty()
203 VehiclePropValue halProp = toVehiclePropValue(prop, halPropId); in setProperty()
[all …]
DDiagnosticHalService.java310 private VehiclePropConfig getPropConfig(int halPropId) { in getPropConfig() argument
313 config = mVehiclePropertyToConfig.get(halPropId, null); in getPropConfig()
318 private List<Integer> getPropConfigArray(int halPropId) { in getPropConfigArray() argument
319 VehiclePropConfig propConfig = getPropConfig(halPropId); in getPropConfigArray()
323 private int getNumIntegerSensors(int halPropId) { in getNumIntegerSensors() argument
325 List<Integer> configArray = getPropConfigArray(halPropId); in getNumIntegerSensors()
329 "assuming 0.", halPropId)); in getNumIntegerSensors()
337 private int getNumFloatSensors(int halPropId) { in getNumFloatSensors() argument
339 List<Integer> configArray = getPropConfigArray(halPropId); in getNumFloatSensors()
343 "assuming 0.", halPropId)); in getNumFloatSensors()
DHalServiceBase.java98 int getManagerPropId(int halPropId) { in getManagerPropId() argument
99 return mMap.getKey(halPropId, NOT_SUPPORTED_PROPERTY); in getManagerPropId()
DCarPropertyUtils.java95 static VehiclePropValue toVehiclePropValue(CarPropertyValue carProp, int halPropId) { in toVehiclePropValue() argument
97 vehicleProp.prop = halPropId; in toVehiclePropValue()
/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()