/packages/services/Car/car-lib/src/android/car/hardware/ |
H A D | CarPropertyConfig.java | 76 * Returns the first areaId. 87 public boolean hasArea(int areaId) { argument 88 return mSupportedAreas.indexOfKey(areaId) >= 0; 92 public T getMinValue(int areaId) { argument 93 AreaConfig<T> area = mSupportedAreas.get(areaId); 98 public T getMaxValue(int areaId) { argument 99 AreaConfig<T> area = mSupportedAreas.get(areaId); 145 int areaId = in.readInt(); 147 mSupportedAreas.put(areaId, area); 262 public Builder<T> addArea(int areaId) { argument 266 addAreaConfig(int areaId, T min, T max) argument [all...] |
H A D | CarPropertyValue.java | 48 public CarPropertyValue(int propertyId, int areaId, T value) { argument 50 mAreaId = areaId;
|
/packages/services/Car/service/src/com/android/car/hal/ |
H A D | HalClient.java | 92 String.format("Failed to set value for: 0x%x, areaId: 0x%x", 93 propValue.prop, propValue.areaId)); 102 String.format("Failed to set property: 0x%x, areaId: 0x%x, " 103 + "code: %d", propValue.prop, propValue.areaId, status)); 116 int areaId = requestedPropValue.areaId; 119 String.format("Failed to get value for: 0x%x, areaId: 0x%x", propId, areaId)); 128 String.format("Failed to get property: 0x%x, areaId: 0x%x, " 129 + "code: %d", propId, areaId, statu 184 final int areaId; field in class:HalClient.PropertySetError 186 PropertySetError(int errorCode, int propId, int areaId) argument 250 onPropertySetError(int errorCode, int propId, int areaId) argument [all...] |
H A D | CarPropertyUtils.java | 46 int areaId = halValue.areaId; 50 return new CarPropertyValue<>(propertyId, areaId, v.int32Values.get(0) == 1); 52 return new CarPropertyValue<>(propertyId, areaId, v.stringValue); 54 return new CarPropertyValue<>(propertyId, areaId, v.int64Values.get(0)); 57 return new CarPropertyValue<>(propertyId, areaId, halData); 60 return new CarPropertyValue<>(propertyId, areaId, 69 vehicleProp.areaId = carProp.getAreaId(); 117 builder.addAreaConfig(area.areaId, area.minInt32Value, area.maxInt32Value); 119 builder.addAreaConfig(area.areaId, are [all...] |
H A D | VehicleHal.java | 406 public VehiclePropValue get(int propertyId, int areaId) throws PropertyTimeoutException { argument 409 + ", areaId: 0x" + toHexString(areaId)); 413 propValue.areaId = areaId; 421 public <T> T get(Class clazz, int propertyId, int areaId) throws PropertyTimeoutException { argument 422 return get(clazz, createPropValue(propertyId, areaId)); 471 VehiclePropValueSetter set(int propId, int areaId) { argument 472 return new VehiclePropValueSetter(mHalClient, propId, areaId); 525 public void onPropertySetError(int errorCode, int propId, int areaId) { argument 589 injectBooleanEvent(int propId, int areaId, boolean value) argument 626 VehiclePropValueSetter(HalClient client, int propId, int areaId) argument 689 createPropValue(int propId, int areaId) argument [all...] |
H A D | PropertyHalServiceBase.java | 85 public CarPropertyValue getProperty(int mgrPropId, int areaId) { argument 93 value = mVehicleHal.get(halPropId, areaId);
|
H A D | VmsHalService.java | 367 vehicleProp.areaId = VehicleAreaType.VEHICLE_AREA_TYPE_NONE;
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
H A D | VehiclePropConfigBuilder.java | 60 newArea.areaId = area.areaId; 112 public VehiclePropConfigBuilder addAreaConfig(int areaId, int minValue, int maxValue) { argument 114 area.areaId = areaId; 122 public VehiclePropConfigBuilder addAreaConfig(int areaId, float minValue, float maxValue) { argument 124 area.areaId = areaId;
|
H A D | MockedVehicleHal.java | 91 public synchronized void injectError(int errorCode, int propertyId, int areaId) { argument 97 callback.onPropertySetError(errorCode, propertyId, areaId);
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
H A D | VehiclePropValueBuilder.java | 48 newValue.areaId = propValue.areaId; 60 public VehiclePropValueBuilder setAreaId(int areaId) { argument 61 mPropValue.areaId = areaId;
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
H A D | Utils.java | 77 int areaId, 80 VehiclePropValueBuilder.newBuilder(propertyId).setAreaId(areaId).build(); 74 readVhalProperty( IVehicle vehicle, int propertyId, int areaId, java.util.function.BiFunction<Integer, VehiclePropValue, Boolean> f) argument
|
H A D | E2ePerformanceTest.java | 286 CarPropertyConfig<Float> cfg, int areaId, CountDownLatch counter) { 287 float minValue = cfg.getMinValue(areaId); 288 float maxValue = cfg.getMaxValue(areaId); 294 mgr.setFloatProperty(cfg.getPropertyId(), areaId, curValue); 295 actualValue = mgr.getFloatProperty(cfg.getPropertyId(), areaId); 285 invokeSetAndGetForHvacFloat(CarHvacManager mgr, CarPropertyConfig<Float> cfg, int areaId, CountDownLatch counter) argument
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
H A D | HvacController.java | 199 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/carservice_test/src/com/android/car/test/ |
H A D | CarVendorExtensionManagerTest.java | 252 result.areaId = requestedPropValue.areaId;
|