/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 105 default void onErrorEvent(int propId, int areaId, @CarSetPropertyErrorCode int errorCode) { in onErrorEvent() argument 108 + toHexString(areaId) + " ErrorCode: " + errorCode); in onErrorEvent() 110 onErrorEvent(propId, areaId); in onErrorEvent() 427 for (int areaId : propConfig.getAreaIds()) { in getAreaId() 428 if ((area & areaId) == area) { in getAreaId() 429 return areaId; in getAreaId() 604 public <E> CarPropertyValue<E> getProperty(@NonNull Class<E> clazz, int propId, int areaId) { in getProperty() argument 607 + ", areaId: 0x" + toHexString(areaId) + ", class: " + clazz); in getProperty() 613 CarPropertyValue<E> propVal = mService.getProperty(propId, areaId); in getProperty() 631 + "areaId: 0x%x", propId, areaId)); in getProperty() [all …]
|
D | PropertyAccessDeniedSecurityException.java | 25 PropertyAccessDeniedSecurityException(int property, int areaId) { in PropertyAccessDeniedSecurityException() argument 27 + toHexString(property) + " in area: " + toHexString(areaId)); in PropertyAccessDeniedSecurityException()
|
D | PropertyNotAvailableAndRetryException.java | 26 PropertyNotAvailableAndRetryException(int property, int areaId) { in PropertyNotAvailableAndRetryException() argument 27 super("Property 0x" + toHexString(property) + " with area: " + toHexString(areaId) in PropertyNotAvailableAndRetryException()
|
D | PropertyNotAvailableException.java | 27 PropertyNotAvailableException(int property, int areaId) { in PropertyNotAvailableException() argument 28 super("Property 0x" + toHexString(property) + " with area: " + toHexString(areaId) in PropertyNotAvailableException()
|
D | CarInternalErrorException.java | 25 CarInternalErrorException(int property, int areaId) { in CarInternalErrorException() argument 26 super("Property 0x" + toHexString(property) + " with area: " + toHexString(areaId) in CarInternalErrorException()
|
D | CarPropertyEvent.java | 108 public static CarPropertyEvent createErrorEventWithErrorCode(int propertyId, int areaId, in createErrorEventWithErrorCode() argument 110 CarPropertyValue<Integer> valueWithErrorCode = new CarPropertyValue<>(propertyId, areaId, in createErrorEventWithErrorCode()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | CarPropertyUtils.java | 51 int areaId = halValue.areaId; in toCarPropertyValue() local 58 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, in toCarPropertyValue() 61 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, in toCarPropertyValue() 64 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, in toCarPropertyValue() 67 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, in toCarPropertyValue() 74 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, values); in toCarPropertyValue() 80 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, values); in toCarPropertyValue() 86 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, values); in toCarPropertyValue() 88 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, v.stringValue); in toCarPropertyValue() 91 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, halData); in toCarPropertyValue() [all …]
|
D | VehicleHal.java | 412 public VehiclePropValue get(int propertyId, int areaId) { in get() argument 415 + ", areaId: 0x" + toHexString(areaId)); in get() 419 propValue.areaId = areaId; in get() 427 public <T> T get(Class clazz, int propertyId, int areaId) { in get() argument 428 return get(clazz, createPropValue(propertyId, areaId)); in get() 492 VehiclePropValueSetter set(int propId, int areaId) { in set() argument 493 return new VehiclePropValueSetter(mHalClient, propId, areaId); in set() 547 int propId, int areaId) { in onPropertySetError() argument 549 + "area: 0x%x", errorCode, propId, areaId)); in onPropertySetError() 553 service.onPropertySetError(propId, areaId, errorCode); in onPropertySetError() [all …]
|
D | HalClient.java | 115 + " in areaId: 0x" + Integer.toHexString(propValue.areaId)); in setValue() 121 Integer.toHexString(propValue.prop), Integer.toHexString(propValue.areaId)); in getValueErrorMessage() 126 Integer.toHexString(propValue.prop), Integer.toHexString(propValue.areaId), in getPropertyErrorMessage() 151 + " in areaId: 0x" + Integer.toHexString(requestedPropValue.areaId)); in getValue() 213 final int areaId; field in HalClient.PropertySetError 215 PropertySetError(int errorCode, int propId, int areaId) { in PropertySetError() argument 218 this.areaId = areaId; in PropertySetError() 252 callback.onPropertySetError(obj.errorCode, obj.propId, obj.areaId); in handleMessage() 283 public void onPropertySetError(int errorCode, int propId, int areaId) { in onPropertySetError() argument 286 new PropertySetError(errorCode, propId, areaId))); in onPropertySetError()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | VehiclePropConfigBuilder.java | 58 newArea.areaId = area.areaId; in clone() 98 public VehiclePropConfigBuilder addAreaConfig(int areaId) { in addAreaConfig() argument 100 area.areaId = areaId; in addAreaConfig() 106 public VehiclePropConfigBuilder addAreaConfig(int areaId, int minValue, int maxValue) { in addAreaConfig() argument 108 area.areaId = areaId; in addAreaConfig() 116 public VehiclePropConfigBuilder addAreaConfig(int areaId, float minValue, float maxValue) { in addAreaConfig() argument 118 area.areaId = areaId; in addAreaConfig()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarHvacManagerTest.java | 132 for (int areaId : areaIds) { in checkIntMinMax() 133 assertThat(property.hasArea(areaId)).isTrue(); in checkIntMinMax() 134 int min = property.getMinValue(areaId) == null ? 0 : property.getMinValue(areaId); in checkIntMinMax() 135 int max = property.getMaxValue(areaId) == null ? 0 : property.getMaxValue(areaId); in checkIntMinMax() 157 for (int areaId : areaIds) { in checkFloatMinMax() 158 assertThat(property.hasArea(areaId)).isTrue(); in checkFloatMinMax() 160 property.getMinValue(areaId) == null ? 0f : property.getMinValue(areaId); in checkFloatMinMax() 162 property.getMaxValue(areaId) == null ? 0f : property.getMinValue(areaId); in checkFloatMinMax()
|
/packages/services/Car/surround_view/service-impl/ |
D | AnimationModuleTests.cpp | 251 .areaId = (int32_t)VehicleArea::DOOR, in TEST() 265 .areaId = (int32_t)VehicleArea::DOOR, in TEST() 279 .areaId = (int32_t)VehicleArea::DOOR, in TEST() 293 .areaId = (int32_t)VehicleArea::DOOR, in TEST() 307 .areaId = (int32_t)VehicleArea::GLOBAL, in TEST() 321 .areaId = (int32_t)VehicleArea::GLOBAL, in TEST() 335 .areaId = (int32_t)VehicleArea::GLOBAL, in TEST() 349 .areaId = (int32_t)VehicleArea::GLOBAL, in TEST() 363 .areaId = (int32_t)VehicleArea::GLOBAL, in TEST() 377 .areaId = (int32_t)VehicleArea::GLOBAL, in TEST() [all …]
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarPropertyConfig.java | 292 public boolean hasArea(int areaId) { in hasArea() argument 293 return mSupportedAreas.indexOfKey(areaId) >= 0; in hasArea() 302 public T getMinValue(int areaId) { in getMinValue() argument 303 AreaConfig<T> area = mSupportedAreas.get(areaId); in getMinValue() 313 public T getMaxValue(int areaId) { in getMaxValue() argument 314 AreaConfig<T> area = mSupportedAreas.get(areaId); in getMaxValue() 382 int areaId = in.readInt(); in CarPropertyConfig() local 384 mSupportedAreas.put(areaId, area); in CarPropertyConfig() 558 public Builder<T> addArea(int areaId) { 559 return addAreaConfig(areaId, null, null); [all …]
|
D | CarPropertyValue.java | 77 public CarPropertyValue(int propertyId, int areaId, T value) { in CarPropertyValue() argument 78 this(propertyId, areaId, 0, 0, value); in CarPropertyValue() 90 public CarPropertyValue(int propertyId, int areaId, int status, long timestamp, T value) { in CarPropertyValue() argument 92 mAreaId = areaId; in CarPropertyValue()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarPropertyService.java | 191 int areaId = areaIdToClient.keyAt(j); in dump() local 193 + " areaId: 0x" + toHexString(areaId) in dump() 264 for (int areaId : config.getAreaIds()) { in getAndDispatchPropertyInitValue() 265 CarPropertyValue value = mHal.getProperty(propId, areaId); in getAndDispatchPropertyInitValue() 448 private void updateSetOperationRecorder(int propId, int areaId, Client client) { in updateSetOperationRecorder() argument 450 mSetOperationClientMap.get(propId).put(areaId, client); in updateSetOperationRecorder() 453 areaIdToClient.put(areaId, client); in updateSetOperationRecorder() 519 public void onPropertySetError(int property, int areaId, int errorCode) { in onPropertySetError() argument 523 && mSetOperationClientMap.get(property).get(areaId) != null) { in onPropertySetError() 524 lastOperatedClient = mSetOperationClientMap.get(property).get(areaId); in onPropertySetError() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
D | HvacTestFragment.java | 585 int areaId = prop.getFirstAndOnlyAreaId(); in configureAutoRecircOn() local 590 setBooleanProperty(CarHvacManager.ID_ZONED_HVAC_AUTO_RECIRC_ON, areaId, in configureAutoRecircOn() 596 int areaId = prop.getFirstAndOnlyAreaId(); in configureTempDisplayUnit() local 603 setIntProperty(CarHvacManager.ID_TEMPERATURE_DISPLAY_UNITS, areaId, unit); in configureTempDisplayUnit() 609 int areaId = prop.getFirstAndOnlyAreaId(); in configurePowerOn() local 614 setBooleanProperty(CarHvacManager.ID_ZONED_HVAC_POWER_ON, areaId, mTbPower.isChecked()); in configurePowerOn() 620 int areaId = prop.getFirstAndOnlyAreaId(); in configurePowerAndAcOn() local 625 setBooleanProperty(CarHvacManager.ID_ZONED_HVAC_POWER_ON, areaId, true); in configurePowerAndAcOn() 626 setBooleanProperty(CarHvacManager.ID_ZONED_AC_ON, areaId, true); in configurePowerAndAcOn() 630 private void setBooleanProperty(int propertyId, int areaId, boolean value) { in setBooleanProperty() argument [all …]
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | VhalJsonReader.java | 73 int areaId = rawEvent.getInt(JSON_FIELD_AREA_ID); in getEvent() local 78 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent() 81 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent() 84 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent() 87 return new CarPropertyValue<>(prop, areaId, in getEvent() 91 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent() 106 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent()
|
D | E2ePerformanceTest.java | 229 CarPropertyConfig<Float> cfg, int areaId, CountDownLatch counter) { in invokeSetAndGetForHvacFloat() argument 230 float minValue = cfg.getMinValue(areaId); in invokeSetAndGetForHvacFloat() 231 float maxValue = cfg.getMaxValue(areaId); in invokeSetAndGetForHvacFloat() 236 mgr.setFloatProperty(cfg.getPropertyId(), areaId, curValue); in invokeSetAndGetForHvacFloat() local 237 actualValue = mgr.getFloatProperty(cfg.getPropertyId(), areaId); in invokeSetAndGetForHvacFloat()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyTestFragment.java | 112 int areaId = Integer.decode(mAreaId.getSelectedItem().toString()); in onCreateView() 113 CarPropertyValue value = mMgr.getProperty(propId, areaId); in onCreateView() 140 int areaId = Integer.decode(mAreaId.getSelectedItem().toString()); in onCreateView() 146 mMgr.setBooleanProperty(propId, areaId, boolVal); in onCreateView() 150 mMgr.setFloatProperty(propId, areaId, floatVal); in onCreateView() 154 mMgr.setIntProperty(propId, areaId, intVal); in onCreateView() 198 for (int areaId : areaIds) { in onItemSelected() 199 areaString.add("0x" + toHexString(areaId)); in onItemSelected()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacPolicy.java | 40 for(int areaId : config.getAreaIds()) { in HvacPolicy() 41 Integer newValue = (Integer) config.getMaxValue(areaId); in HvacPolicy() 54 for(int areaId : config.getAreaIds()) { in HvacPolicy() 55 Float newValue = (Float) config.getMaxValue(areaId); in HvacPolicy() 59 newValue = (Float) config.getMinValue(areaId); in HvacPolicy()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | VehiclePropValueBuilder.java | 48 newValue.areaId = propValue.areaId; in clone() 60 public VehiclePropValueBuilder setAreaId(int areaId) { in setAreaId() argument 61 mPropValue.areaId = areaId; in setAreaId()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | CarRatedFloatListeners.java | 132 public boolean needUpdateForAreaId(int areaId, long eventTime) { in needUpdateForAreaId() argument 133 long lastUpdateTime = mAreaIdToLastUpdateTime.get(areaId, 0L); in needUpdateForAreaId() 135 mAreaIdToLastUpdateTime.put(areaId, eventTime); in needUpdateForAreaId()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarPropertyService.java | 174 private PropKey(int propId, int areaId) { in PropKey() argument 176 this.mAreaId = areaId; in PropKey() 179 static PropKey of(int propId, int areaId) { in of() argument 180 return new PropKey(propId, areaId); in of()
|
/packages/apps/Car/Cluster/src/android/car/cluster/sensors/ |
D | Sensor.java | 52 Sensor(String name, int propertyId, int areaId, int expectedPropertyType, in Sensor() argument 56 mAreaId = areaId; in Sensor()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPropertyManagerTest.java | 435 firstFakeValueDriveSide.areaId = DRIVER_SIDE_AREA_ID; in testOnChangeEventWithSameAreaId() 440 secFakeValueDriveSide.areaId = DRIVER_SIDE_AREA_ID; in testOnChangeEventWithSameAreaId() 465 fakeValueDriveSide.areaId = DRIVER_SIDE_AREA_ID; in testOnChangeEventWithDifferentAreaId() 471 fakeValuePsgSide.areaId = PASSENGER_SIDE_AREA_ID; in testOnChangeEventWithDifferentAreaId() 709 public void onErrorEvent(int propId, int areaId, int errorCode) { in onErrorEvent() argument 712 Log.d(CALLBACK_TAG, "onErrorEvent, propId: " + propId + " areaId: " + areaId in onErrorEvent()
|