/packages/services/Car/tools/emulator/ |
D | vhal_emulator.py | 217 propValue = cmd.value.add() 218 propValue.prop = prop 220 propValue.area_id = area_id 221 propValue.status = status; 228 propValue.value_type = valType 230 propValue.string_value = value 232 propValue.bytes_value = value 234 propValue.int32_values.append(value) 236 propValue.int64_values.append(value) 238 propValue.float_values.append(value) [all …]
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | VehiclePropValueBuilder.java | 31 public static VehiclePropValueBuilder newBuilder(VehiclePropValue propValue) { in newBuilder() argument 32 return new VehiclePropValueBuilder(propValue); in newBuilder() 40 private VehiclePropValueBuilder(VehiclePropValue propValue) { in VehiclePropValueBuilder() argument 41 mPropValue = clone(propValue); in VehiclePropValueBuilder() 44 private VehiclePropValue clone(VehiclePropValue propValue) { in clone() argument 47 newValue.prop = propValue.prop; in clone() 48 newValue.areaId = propValue.areaId; in clone() 49 newValue.timestamp = propValue.timestamp; in clone() 50 newValue.value.stringValue = propValue.value.stringValue; in clone() 51 newValue.value.int32Values.addAll(propValue.value.int32Values); in clone() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | HalClient.java | 80 public void setValue(VehiclePropValue propValue) throws PropertyTimeoutException { in setValue() argument 83 return mVehicle.set(propValue); in setValue() 93 propValue.prop, propValue.areaId)); in setValue() 97 throw new PropertyTimeoutException(propValue.prop); in setValue() 103 + "code: %d", propValue.prop, propValue.areaId, status)); in setValue() 111 valueWrapper.object = res.propValue; in getValue() 139 (status, propValue) -> { in internalGet() 141 result.propValue = propValue; in internalGet() 178 VehiclePropValue propValue; field in HalClient.ValueResult 244 public void onPropertySet(VehiclePropValue propValue) { in onPropertySet() argument [all …]
|
D | VehicleHal.java | 324 VehiclePropValue propValue = new VehiclePropValue(); in get() local 325 propValue.prop = propertyId; in get() 326 propValue.areaId = areaId; in get() 327 return mHalClient.getValue(propValue); in get() 341 VehiclePropValue propValue; in get() local 342 propValue = mHalClient.getValue(requestedPropValue); in get() 345 return (T) propValue.value.int32Values.get(0); in get() 347 return (T) Boolean.valueOf(propValue.value.int32Values.get(0) == 1); in get() 349 return (T) propValue.value.floatValues.get(0); in get() 351 Integer[] intArray = new Integer[propValue.value.int32Values.size()]; in get() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 299 public synchronized int set(VehiclePropValue propValue) { in set() argument 300 if (propValue.prop == CUSTOM_BYTES_PROP_ID_1) { in set() 301 mBytes = toByteArray(propValue.value.bytes); in set() 304 mValues.put(propValue.prop, propValue); in set()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | Utils.java | 59 (int status, VehiclePropValue propValue) -> { in readVhalProperty() 60 if (f.apply(status, propValue)) { in readVhalProperty() 61 vpv[0] = propValue; in readVhalProperty()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 167 public synchronized int set(VehiclePropValue propValue) { in set() argument 168 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(propValue.prop); in set() 172 handler.onPropertySet(propValue); in set()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 366 CarPropertyValue propValue = mService.getProperty(propId, area); in isPropertyAvailable() local 367 return (propValue != null) in isPropertyAvailable() 368 && (propValue.getStatus() == CarPropertyValue.STATUS_AVAILABLE); in isPropertyAvailable()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vhal/ |
D | VehicleHalFragment.java | 134 vehicle.get(request, (status, propValue) -> { in getValue() 136 result[0] = propValue.value.toString(); in getValue()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacController.java | 62 public void onPassengerTemperatureChange(CarPropertyValue propValue) { in onPassengerTemperatureChange() argument 65 public void onDriverTemperatureChange(CarPropertyValue propValue) { in onDriverTemperatureChange() argument
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/ |
D | InputTestFragment.java | 211 public void onPropertySet(VehiclePropValue propValue) {}
|