Home
last modified time | relevance | path

Searched refs:carProp (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManagerBase.java173 CarPropertyValue<Boolean> carProp = getProperty(Boolean.class, prop, area); in getBooleanProperty() local
174 return carProp != null ? carProp.getValue() : false; in getBooleanProperty()
184 CarPropertyValue<Float> carProp = getProperty(Float.class, prop, area); in getFloatProperty() local
185 return carProp != null ? carProp.getValue() : 0f; in getFloatProperty()
195 CarPropertyValue<Integer> carProp = getProperty(Integer.class, prop, area); in getIntProperty() local
196 return carProp != null ? carProp.getValue() : 0; in getIntProperty()
/packages/services/Car/service/src/com/android/car/hal/
DCarPropertyUtils.java66 static VehiclePropValue toVehiclePropValue(CarPropertyValue carProp, int halPropId) { in toVehiclePropValue() argument
69 vehicleProp.areaId = carProp.getAreaId(); in toVehiclePropValue()
72 Object o = carProp.getValue(); in toVehiclePropValue()
91 throw new IllegalArgumentException("Unexpected type in: " + carProp); in toVehiclePropValue()