Searched refs:carProp (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/car-lib/src/android/car/ |
D | CarInfoManager.java | 119 CarPropertyValue<String> carProp = mCarPropertyMgr.getProperty(String.class, in getManufacturer() local 121 return carProp != null ? carProp.getValue() : ""; in getManufacturer() 131 CarPropertyValue<String> carProp = mCarPropertyMgr.getProperty( in getModel() local 133 return carProp != null ? carProp.getValue() : ""; in getModel() 184 CarPropertyValue<Float> carProp = mCarPropertyMgr.getProperty(Float.class, in getEvBatteryCapacity() local 186 return carProp != null ? carProp.getValue() : 0f; in getEvBatteryCapacity()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 382 CarPropertyValue<Boolean> carProp = getProperty(Boolean.class, prop, area); in getBooleanProperty() local 383 return carProp != null ? carProp.getValue() : false; in getBooleanProperty() 393 CarPropertyValue<Float> carProp = getProperty(Float.class, prop, area); in getFloatProperty() local 394 return carProp != null ? carProp.getValue() : 0f; in getFloatProperty() 404 CarPropertyValue<Integer> carProp = getProperty(Integer.class, prop, area); in getIntProperty() local 405 return carProp != null ? carProp.getValue() : 0; in getIntProperty() 416 CarPropertyValue<Integer[]> carProp = getProperty(Integer[].class, prop, area); in getIntArrayProperty() local 417 return carProp != null ? toIntArray(carProp.getValue()) : new int[0]; in getIntArrayProperty()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | CarPropertyUtils.java | 95 static VehiclePropValue toVehiclePropValue(CarPropertyValue carProp, int halPropId) { in toVehiclePropValue() argument 98 vehicleProp.areaId = carProp.getAreaId(); in toVehiclePropValue() 101 Object o = carProp.getValue(); in toVehiclePropValue() 128 throw new IllegalArgumentException("Unexpected type in: " + carProp); in toVehiclePropValue()
|