Home
last modified time | relevance | path

Searched refs:propertyId (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/car-lib/src/android/car/hardware/hvac/
DCarHvacManager.java237 void onErrorEvent(@PropertyId int propertyId, int zone); in onErrorEvent() argument
256 public void onErrorEvent(int propertyId, int zone) { in onErrorEvent() argument
259 manager.handleOnErrorEvent(propertyId, zone); in onErrorEvent()
276 private void handleOnErrorEvent(int propertyId, int zone) { in handleOnErrorEvent() argument
283 l.onErrorEvent(propertyId, zone); in handleOnErrorEvent()
306 public static boolean isZonedProperty(@PropertyId int propertyId) { in isZonedProperty() argument
307 return propertyId > ID_MAX_GLOBAL_PROPERTY_ID; in isZonedProperty()
353 public boolean getBooleanProperty(@PropertyId int propertyId, int area) in getBooleanProperty() argument
355 return mMgr.getBooleanProperty(propertyId, area); in getBooleanProperty()
365 public float getFloatProperty(@PropertyId int propertyId, int area) in getFloatProperty() argument
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/cabin/
DCarCabinManager.java386 void onErrorEvent(@PropertyId int propertyId, int zone); in onErrorEvent() argument
405 public void onErrorEvent(int propertyId, int zone) { in onErrorEvent() argument
408 manager.handleOnErrorEvent(propertyId, zone); in onErrorEvent()
423 private void handleOnErrorEvent(int propertyId, int zone) { in handleOnErrorEvent() argument
430 l.onErrorEvent(propertyId, zone); in handleOnErrorEvent()
453 public static boolean isZonedProperty(@PropertyId int propertyId) { in isZonedProperty() argument
500 public boolean getBooleanProperty(@PropertyId int propertyId, int area) in getBooleanProperty() argument
502 return mMgr.getBooleanProperty(propertyId, area); in getBooleanProperty()
512 public float getFloatProperty(@PropertyId int propertyId, int area) in getFloatProperty() argument
514 return mMgr.getFloatProperty(propertyId, area); in getFloatProperty()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DCarPropertyUtils.java44 VehiclePropValue halValue, int propertyId) { in toCarPropertyValue() argument
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()
100 static CarPropertyConfig<?> toCarPropertyConfig(VehiclePropConfig p, int propertyId) { in toCarPropertyConfig() argument
108 .newBuilder(clazz, propertyId, areaType, /* capacity */ 1) in toCarPropertyConfig()
113 .newBuilder(clazz, propertyId, areaType, /* capacity */ p.areaConfigs.size()); in toCarPropertyConfig()
DVehicleHal.java394 public boolean isPropertySupported(int propertyId) { in isPropertySupported() argument
395 return mAllProperties.containsKey(propertyId); in isPropertySupported()
402 public VehiclePropValue get(int propertyId) throws PropertyTimeoutException { in get() argument
403 return get(propertyId, NO_AREA); in get()
406 public VehiclePropValue get(int propertyId, int areaId) throws PropertyTimeoutException { in get() argument
408 Log.i(CarLog.TAG_HAL, "get, property: 0x" + toHexString(propertyId) in get()
412 propValue.prop = propertyId; in get()
417 public <T> T get(Class clazz, int propertyId) throws PropertyTimeoutException { in get() argument
418 return get(clazz, createPropValue(propertyId, NO_AREA)); in get()
421 public <T> T get(Class clazz, int propertyId, int areaId) throws PropertyTimeoutException { in get() argument
[all …]
DDiagnosticHalService.java53 void setSupported(int propertyId) { in setSupported() argument
54 mProperties.add(propertyId); in setSupported()
57 boolean isSupported(int propertyId) { in isSupported() argument
58 return mProperties.contains(propertyId); in isSupported()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DMockedCarTestBase.java133 protected synchronized VehiclePropConfigBuilder addProperty(int propertyId, in addProperty() argument
135 VehiclePropConfigBuilder builder = VehiclePropConfigBuilder.newBuilder(propertyId); in addProperty()
140 protected synchronized VehiclePropConfigBuilder addProperty(int propertyId) { in addProperty() argument
141 VehiclePropConfigBuilder builder = VehiclePropConfigBuilder.newBuilder(propertyId); in addProperty()
146 protected synchronized VehiclePropConfigBuilder addProperty(int propertyId, in addProperty() argument
148 VehiclePropConfigBuilder builder = VehiclePropConfigBuilder.newBuilder(propertyId); in addProperty()
153 protected synchronized VehiclePropConfigBuilder addStaticProperty(int propertyId, in addStaticProperty() argument
155 VehiclePropConfigBuilder builder = VehiclePropConfigBuilder.newBuilder(propertyId) in addStaticProperty()
DCarCabinManagerTest.java115 public void onErrorEvent(@PropertyId int propertyId, int area) { in testError()
116 propertyIdReceived.value = propertyId; in testError()
209 public void onErrorEvent(final int propertyId, final int zone) { in onErrorEvent() argument
210 Log.d(TAG, "Error: propertyId=" + propertyId + " zone=" + zone); in onErrorEvent()
DCarHvacManagerTest.java139 public void onErrorEvent(@PropertyId int propertyId, int area) { in testError()
140 propertyIdReceived.value = propertyId; in testError()
242 public void onErrorEvent(final int propertyId, final int zone) { in onErrorEvent() argument
243 Log.d(TAG, "Error: propertyId=" + propertyId + " zone=" + zone); in onErrorEvent()
DCarDiagnosticManagerTest.java106 protected FreezeFramePropertyHandler(int propertyId) { in FreezeFramePropertyHandler() argument
107 VEHICLE_PROPERTY = propertyId; in FreezeFramePropertyHandler()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java46 private CarPropertyConfig(Class<T> type, int propertyId, int areaType, in CarPropertyConfig() argument
48 mPropertyId = propertyId; in CarPropertyConfig()
228 public static <T> Builder<T> newBuilder(Class<T> clazz, int propertyId, int areaType,
230 return new Builder<>(clazz, propertyId, areaType, areaCapacity);
234 public static <T> Builder<T> newBuilder(Class<T> clazz, int propertyId, int areaType) {
235 return newBuilder(clazz, propertyId, areaType, 0);
244 private Builder(Class<T> type, int propertyId, int areaType, int areaCapacity) {
246 mPropertyId = propertyId;
DCarPropertyValue.java44 public CarPropertyValue(int propertyId, T value) { in CarPropertyValue() argument
45 this(propertyId, 0, value); in CarPropertyValue()
48 public CarPropertyValue(int propertyId, int areaId, T value) { in CarPropertyValue() argument
49 mPropertyId = propertyId; in CarPropertyValue()
DCarVendorExtensionManager.java71 void onErrorEvent(int propertyId, int zone); in onErrorEvent() argument
91 public void onErrorEvent(int propertyId, int zone) { in registerCallback()
93 listener.onErrorEvent(propertyId, zone); in registerCallback()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DUtils.java69 int propertyId, in readVhalProperty() argument
71 return readVhalProperty(vehicle, propertyId, 0, f); in readVhalProperty()
76 int propertyId, in readVhalProperty() argument
80 VehiclePropValueBuilder.newBuilder(propertyId).setAreaId(areaId).build(); in readVhalProperty()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticEventBuilder.java105 public DiagnosticEventBuilder(int propertyId) { in DiagnosticEventBuilder() argument
106 this(propertyId, 0, 0); in DiagnosticEventBuilder()
110 int propertyId, int numVendorIntSensors, int numVendorFloatSensors) { in DiagnosticEventBuilder() argument
111 mPropertyId = propertyId; in DiagnosticEventBuilder()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java91 public synchronized void injectError(int errorCode, int propertyId, int areaId) { in injectError() argument
92 List<IVehicleCallback> callbacks = mSubscribers.get(propertyId); in injectError()
93 assertNotNull("Injecting error failed for property: " + propertyId in injectError()
97 callback.onPropertySetError(errorCode, propertyId, areaId); in injectError()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java163 public void onErrorEvent(final int propertyId, final int zone) {
164 Log.w(TAG, "Error: propertyId=0x" + toHexString(propertyId)
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManagerBase.java61 void onErrorEvent(int propertyId, int zone); in onErrorEvent() argument
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacController.java236 public void onErrorEvent(final int propertyId, final int zone) {