Home
last modified time | relevance | path

Searched refs:propValue (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tools/emulator/
Dvhal_emulator.py217 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/
DVehiclePropValueBuilder.java31 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/
DHalClient.java80 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 …]
DVehicleHal.java323 VehiclePropValue propValue = new VehiclePropValue(); in get() local
324 propValue.prop = propertyId; in get()
325 propValue.areaId = areaId; in get()
326 return mHalClient.getValue(propValue); in get()
340 VehiclePropValue propValue; in get() local
341 propValue = mHalClient.getValue(requestedPropValue); in get()
344 return (T) propValue.value.int32Values.get(0); in get()
346 return (T) Boolean.valueOf(propValue.value.int32Values.get(0) == 1); in get()
348 return (T) propValue.value.floatValues.get(0); in get()
350 Integer[] intArray = new Integer[propValue.value.int32Values.size()]; in get()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java299 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/
DUtils.java59 (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/
DMockedVehicleHal.java167 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/
DCarPropertyManager.java362 CarPropertyValue propValue = mService.getProperty(propId, area); in isPropertyAvailable() local
363 return (propValue != null) in isPropertyAvailable()
364 && (propValue.getStatus() == CarPropertyValue.STATUS_AVAILABLE); in isPropertyAvailable()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vhal/
DVehicleHalFragment.java134 vehicle.get(request, (status, propValue) -> { in getValue()
136 result[0] = propValue.value.toString(); in getValue()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacController.java62 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/
DInputTestFragment.java211 public void onPropertySet(VehiclePropValue propValue) {}