Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/
DCarInfoManager.java274 CarPropertyValue<T> carProp = mCarPropertyMgr.getProperty( in getPropertyWithDefaultValue() local
276 if (carProp != null && carProp.getStatus() == CarPropertyValue.STATUS_AVAILABLE) { in getPropertyWithDefaultValue()
277 return carProp.getValue(); in getPropertyWithDefaultValue()
/packages/services/Car/service/src/com/android/car/hal/
DHalPropValueBuilder.java700 private void setCarProperty(CarPropertyValue carProp) { in setCarProperty() argument
701 Object o = carProp.getValue(); in setCarProperty()
735 throw new IllegalArgumentException("Unexpected type in: " + carProp); in setCarProperty()
754 private void setMixedCarProperty(CarPropertyValue carProp, int[] configArray) { in setMixedCarProperty() argument
756 throw new IllegalArgumentException("Unexpected configArray in:" + carProp); in setMixedCarProperty()
759 Object[] values = (Object[]) carProp.getValue(); in setMixedCarProperty()
1082 private void setCarProperty(CarPropertyValue carProp) { in setCarProperty() argument
1083 Object o = carProp.getValue(); in setCarProperty()
1106 throw new IllegalArgumentException("Unexpected type in: " + carProp); in setCarProperty()
1125 private void setMixedCarProperty(CarPropertyValue carProp, int[] configArray) { in setMixedCarProperty() argument
[all …]
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
DClusterOsDoubleActivity.java229 public void onChangeEvent(CarPropertyValue carProp) {
230 int propertyId = carProp.getPropertyId();
232 onClusterReportState((Object[]) carProp.getValue());
234 onClusterNavigationState((byte[]) carProp.getValue());
236 onClusterRequestDisplay((Integer) carProp.getValue());
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java2254 CarPropertyValue<Boolean> carProp = getProperty(Boolean.class, propertyId, areaId); in getBooleanProperty() local
2255 return handleNullAndPropertyStatus(carProp, areaId, false); in getBooleanProperty()
2282 CarPropertyValue<Float> carProp = getProperty(Float.class, propertyId, areaId); in getFloatProperty() local
2283 return handleNullAndPropertyStatus(carProp, areaId, 0f); in getFloatProperty()
2310 CarPropertyValue<Integer> carProp = getProperty(Integer.class, propertyId, areaId); in getIntProperty() local
2311 return handleNullAndPropertyStatus(carProp, areaId, 0); in getIntProperty()
2339 CarPropertyValue<Integer[]> carProp = getProperty(Integer[].class, propertyId, areaId); in getIntArrayProperty() local
2340 Integer[] res = handleNullAndPropertyStatus(carProp, areaId, new Integer[0]); in getIntArrayProperty()