Home
last modified time | relevance | path

Searched refs:areaId (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java406 public VehiclePropValue get(int propertyId, int areaId) throws PropertyTimeoutException { in get() argument
409 + ", areaId: 0x" + toHexString(areaId)); in get()
413 propValue.areaId = areaId; in get()
421 public <T> T get(Class clazz, int propertyId, int areaId) throws PropertyTimeoutException { in get() argument
422 return get(clazz, createPropValue(propertyId, areaId)); in get()
471 VehiclePropValueSetter set(int propId, int areaId) { in set() argument
472 return new VehiclePropValueSetter(mHalClient, propId, areaId); in set()
525 public void onPropertySetError(int errorCode, int propId, int areaId) { in onPropertySetError() argument
527 + "area: 0x%x", errorCode, propId, areaId)); in onPropertySetError()
531 service.handlePropertySetError(propId, areaId); in onPropertySetError()
[all …]
DHalClient.java93 propValue.prop, propValue.areaId)); in setValue()
103 + "code: %d", propValue.prop, propValue.areaId, status)); in setValue()
116 int areaId = requestedPropValue.areaId; in getValue() local
119 String.format("Failed to get value for: 0x%x, areaId: 0x%x", propId, areaId)); in getValue()
129 + "code: %d", propId, areaId, status)); in getValue()
184 final int areaId; field in HalClient.PropertySetError
186 PropertySetError(int errorCode, int propId, int areaId) { in PropertySetError() argument
189 this.areaId = areaId; in PropertySetError()
219 mCallback.onPropertySetError(obj.errorCode, obj.propId, obj.areaId); in handleMessage()
250 public void onPropertySetError(int errorCode, int propId, int areaId) { in onPropertySetError() argument
[all …]
DCarPropertyUtils.java46 int areaId = halValue.areaId; in toCarPropertyValue() local
50 return new CarPropertyValue<>(propertyId, areaId, v.int32Values.get(0) == 1); in toCarPropertyValue()
52 return new CarPropertyValue<>(propertyId, areaId, v.stringValue); in toCarPropertyValue()
54 return new CarPropertyValue<>(propertyId, areaId, v.int64Values.get(0)); in toCarPropertyValue()
57 return new CarPropertyValue<>(propertyId, areaId, halData); in toCarPropertyValue()
60 return new CarPropertyValue<>(propertyId, areaId, in toCarPropertyValue()
69 vehicleProp.areaId = carProp.getAreaId(); in toVehiclePropValue()
117 builder.addAreaConfig(area.areaId, area.minInt32Value, area.maxInt32Value); in toCarPropertyConfig()
119 builder.addAreaConfig(area.areaId, area.minFloatValue, area.maxFloatValue); in toCarPropertyConfig()
121 builder.addAreaConfig(area.areaId, area.minInt64Value, area.maxInt64Value); in toCarPropertyConfig()
DPropertyHalServiceBase.java85 public CarPropertyValue getProperty(int mgrPropId, int areaId) { in getProperty() argument
93 value = mVehicleHal.get(halPropId, areaId); in getProperty()
DVmsHalService.java367 vehicleProp.areaId = VehicleAreaType.VEHICLE_AREA_TYPE_NONE; in toVehiclePropValue()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java87 public boolean hasArea(int areaId) { in hasArea() argument
88 return mSupportedAreas.indexOfKey(areaId) >= 0; in hasArea()
92 public T getMinValue(int areaId) { in getMinValue() argument
93 AreaConfig<T> area = mSupportedAreas.get(areaId); in getMinValue()
98 public T getMaxValue(int areaId) { in getMaxValue() argument
99 AreaConfig<T> area = mSupportedAreas.get(areaId); in getMaxValue()
145 int areaId = in.readInt(); in CarPropertyConfig() local
147 mSupportedAreas.put(areaId, area); in CarPropertyConfig()
262 public Builder<T> addArea(int areaId) {
263 return addAreaConfig(areaId, null, null);
[all …]
DCarPropertyValue.java48 public CarPropertyValue(int propertyId, int areaId, T value) { in CarPropertyValue() argument
50 mAreaId = areaId; in CarPropertyValue()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DVehiclePropConfigBuilder.java60 newArea.areaId = area.areaId; in clone()
112 public VehiclePropConfigBuilder addAreaConfig(int areaId, int minValue, int maxValue) { in addAreaConfig() argument
114 area.areaId = areaId; in addAreaConfig()
122 public VehiclePropConfigBuilder addAreaConfig(int areaId, float minValue, float maxValue) { in addAreaConfig() argument
124 area.areaId = areaId; in addAreaConfig()
DMockedVehicleHal.java91 public synchronized void injectError(int errorCode, int propertyId, int areaId) { in injectError() argument
97 callback.onPropertySetError(errorCode, propertyId, areaId); in injectError()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DVehiclePropValueBuilder.java48 newValue.areaId = propValue.areaId; in clone()
60 public VehiclePropValueBuilder setAreaId(int areaId) { in setAreaId() argument
61 mPropValue.areaId = areaId; in setAreaId()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacController.java199 int areaId = val.getAreaId();
205 handleFanPositionUpdate(areaId, getValue(val));
208 handleFanSpeedUpdate(areaId, getValue(val));
211 handleTempUpdate(areaId, getValue(val));
214 handleDefrosterUpdate(areaId, getValue(val));
220 handleSeatWarmerUpdate(areaId, getValue(val));
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java286 CarPropertyConfig<Float> cfg, int areaId, CountDownLatch counter) { in invokeSetAndGetForHvacFloat() argument
287 float minValue = cfg.getMinValue(areaId); in invokeSetAndGetForHvacFloat()
288 float maxValue = cfg.getMaxValue(areaId); in invokeSetAndGetForHvacFloat()
294 mgr.setFloatProperty(cfg.getPropertyId(), areaId, curValue); in invokeSetAndGetForHvacFloat() local
295 actualValue = mgr.getFloatProperty(cfg.getPropertyId(), areaId); in invokeSetAndGetForHvacFloat()
DUtils.java77 int areaId, in readVhalProperty() argument
80 VehiclePropValueBuilder.newBuilder(propertyId).setAreaId(areaId).build(); in readVhalProperty()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarVendorExtensionManagerTest.java252 result.areaId = requestedPropValue.areaId; in get()