Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/hvac/
DCarHvacManager.java243 void onErrorEvent(@PropertyId int propertyId, int zone); in onErrorEvent() argument
262 public void onErrorEvent(int propertyId, int zone) { in onErrorEvent() argument
265 manager.handleOnErrorEvent(propertyId, zone); in onErrorEvent()
282 private void handleOnErrorEvent(int propertyId, int zone) { in handleOnErrorEvent() argument
289 l.onErrorEvent(propertyId, zone); in handleOnErrorEvent()
312 public static boolean isZonedProperty(@PropertyId int propertyId) { in isZonedProperty() argument
313 return propertyId > ID_MAX_GLOBAL_PROPERTY_ID; in isZonedProperty()
359 public boolean getBooleanProperty(@PropertyId int propertyId, int area) in getBooleanProperty() argument
361 return mMgr.getBooleanProperty(propertyId, area); in getBooleanProperty()
371 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.java368 public boolean isPropertySupported(int propertyId) { in isPropertySupported() argument
369 return mAllProperties.containsKey(propertyId); in isPropertySupported()
376 public VehiclePropValue get(int propertyId) throws PropertyTimeoutException { in get() argument
377 return get(propertyId, NO_AREA); in get()
380 public VehiclePropValue get(int propertyId, int areaId) throws PropertyTimeoutException { in get() argument
382 Log.i(CarLog.TAG_HAL, "get, property: 0x" + toHexString(propertyId) in get()
386 propValue.prop = propertyId; in get()
391 public <T> T get(Class clazz, int propertyId) throws PropertyTimeoutException { in get() argument
392 return get(clazz, createPropValue(propertyId, NO_AREA)); in get()
395 public <T> T get(Class clazz, int propertyId, int areaId) throws PropertyTimeoutException { in get() argument
[all …]
DDiagnosticHalService.java48 void setSupported(int propertyId) { in setSupported() argument
49 mProperties.add(propertyId); in setSupported()
52 boolean isSupported(int propertyId) { in isSupported() argument
53 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.java110 protected FreezeFramePropertyHandler(int propertyId) { in FreezeFramePropertyHandler() argument
111 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.java109 public synchronized void injectError(int errorCode, int propertyId, int areaId) { in injectError() argument
110 List<IVehicleCallback> callbacks = mSubscribers.get(propertyId); in injectError()
111 assertNotNull("Injecting error failed for property: " + propertyId in injectError()
115 callback.onPropertySetError(errorCode, propertyId, areaId); in injectError()
/packages/services/Car/evs/app/
Devs_app.cpp44 VehicleProperty propertyId) { in subscribeToVHal() argument
52 .propId = static_cast<int32_t>(propertyId), in subscribeToVHal()
60 ALOGW("VHAL subscription for property 0x%08X failed with code %d.", propertyId, status); in subscribeToVHal()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java164 public void onErrorEvent(final int propertyId, final int zone) {
165 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) {