/packages/services/Car/car-lib/src/android/car/hardware/ |
H A D | CarVendorExtensionManager.java | 131 * @param propId - property id which is matched with the one defined in vehicle HAL 135 public <E> E getGlobalProperty(Class<E> propertyClass, int propId) argument 137 return getProperty(propertyClass, propId, 0 /* area */); 146 * @param propId - property id which is matched with the one defined in vehicle HAL 152 public <E> E getProperty(Class<E> propertyClass, int propId, int area) argument 154 return mPropertyManager.getProperty(propertyClass, propId, area).getValue(); 163 * @param propId - property id which is matched with the one defined in vehicle HAL 169 public <E> void setGlobalProperty(Class<E> propertyClass, int propId, E value) argument 171 mPropertyManager.setProperty(propertyClass, propId, 0 /* area */, value); 180 * @param propId 188 setProperty(Class<E> propertyClass, int propId, int area, E value) argument [all...] |
/packages/services/Car/service/src/com/android/car/hal/ |
H A D | HalClient.java | 115 int propId = requestedPropValue.prop; 119 String.format("Failed to get value for: 0x%x, areaId: 0x%x", propId, areaId)); 123 throw new PropertyTimeoutException(propId); 129 + "code: %d", propId, areaId, status)); 183 final int propId; field in class:HalClient.PropertySetError 186 PropertySetError(int errorCode, int propId, int areaId) { argument 188 this.propId = propId; 219 mCallback.onPropertySetError(obj.errorCode, obj.propId, obj.areaId); 250 public void onPropertySetError(int errorCode, int propId, in argument [all...] |
H A D | VehicleHal.java | 323 opts.propId = property; 440 VehiclePropValueSetter set(int propId) { argument 441 return new VehiclePropValueSetter(mHalClient, propId, NO_AREA); 445 VehiclePropValueSetter set(int propId, int areaId) { argument 446 return new VehiclePropValueSetter(mHalClient, propId, areaId); 499 public void onPropertySetError(int errorCode, int propId, int areaId) { argument 501 + "area: 0x%x", errorCode, propId, areaId)); 502 if (propId != VehicleProperty.INVALID) { 503 HalServiceBase service = mPropertyHandlers.get(propId); 505 service.handlePropertySetError(propId, areaI 563 injectBooleanEvent(int propId, int areaId, boolean value) argument 574 injectIntegerEvent(int propId, int value) argument 600 VehiclePropValueSetter(HalClient client, int propId, int areaId) argument 663 createPropValue(int propId, int areaId) argument [all...] |
H A D | CabinHalService.java | 156 protected int managerToHalPropId(int propId) { argument 157 return mMgrHalPropIdMap.getHalPropId(propId);
|
H A D | SensorHalService.java | 167 private Integer mapHalEnumValueToMgr(int propId, int halValue) { argument 170 switch (propId) {
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
H A D | MockedVehicleHal.java | 78 public boolean waitForSubscriber(int propId, long timeoutMillis) { argument 82 while (mSubscribers.get(propId) == null) { 88 return mSubscribers.get(propId) != null; 167 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(opt.propId); 172 handler.onPropertySubscribe(opt.propId, opt.vehicleAreas, opt.sampleRate); 173 List<IVehicleCallback> subscribers = mSubscribers.get(opt.propId); 176 mSubscribers.put(opt.propId, subscribers); 185 public synchronized int unsubscribe(IVehicleCallback callback, int propId) { argument 186 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(propId); 191 handler.onPropertyUnsubscribe(propId); [all...] |
H A D | VehiclePropConfigBuilder.java | 35 public static VehiclePropConfigBuilder newBuilder(int propId) { argument 36 return new VehiclePropConfigBuilder(propId); 39 private VehiclePropConfigBuilder(int propId) { argument 41 mConfig.prop = propId;
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
H A D | VehiclePropValueBuilder.java | 27 public static VehiclePropValueBuilder newBuilder(int propId) { argument 28 return new VehiclePropValueBuilder(propId); 35 private VehiclePropValueBuilder(int propId) { argument 37 mPropValue.prop = propId;
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
H A D | CarPropertyManagerBase.java | 201 public <E> CarPropertyValue<E> getProperty(Class<E> clazz, int propId, int area) argument 204 Log.d(mTag, "getProperty, propId: 0x" + toHexString(propId) 208 CarPropertyValue<E> propVal = mService.getProperty(propId, area); 219 + ", propId: 0x" + toHexString(propId) + ", area: 0x" + toHexString(area), e); 224 public <E> void setProperty(Class<E> clazz, int propId, int area, E val) argument 227 Log.d(mTag, "setProperty, propId: 0x" + toHexString(propId) 231 mService.setProperty(new CarPropertyValue<>(propId, are [all...] |
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
H A D | CarCabinManagerTest.java | 57 int propId = property.getPropertyId(); 58 switch (propId) { 111 Log.e(TAG, "Property ID not handled: " + propId);
|
/packages/services/Car/service/src/com/android/car/ |
H A D | ICarImpl.java | 451 int propId; 459 propId = Integer.decode(property); 465 mHal.injectBooleanEvent(propId, zoneId, event); 478 int propId; 481 propId = Integer.decode(property); 487 mHal.injectIntegerEvent(propId, eventValue);
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
H A D | E2ePerformanceTest.java | 194 for (int propId: mgrProperties) { 195 mgr.registerListener(listener, propId, CarSensorManager.SENSOR_RATE_FASTEST); 420 void start(int propId) throws RemoteException { argument 423 .addIntValue(CMD_START, propId) 434 void stop(int propId) throws RemoteException { argument 437 .addIntValue(CMD_STOP, propId)
|
/packages/services/Car/evs/app/ |
H A D | evs_app.cpp | 52 .propId = static_cast<int32_t>(propertyId),
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
H A D | HvacTestFragment.java | 200 int propId = prop.getPropertyId(); 206 switch(propId) { 241 Log.w(TAG, "propertyId " + propId + " is not handled");
|