Searched refs:VehiclePropertyType (Results 1 – 14 of 14) sorted by relevance
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarPropertyService.java | 25 import android.car.VehiclePropertyType; 231 int type = propId & VehiclePropertyType.MASK; in getPropertyType() 233 case VehiclePropertyType.BOOLEAN: in getPropertyType() 235 case VehiclePropertyType.FLOAT: in getPropertyType() 237 case VehiclePropertyType.INT32: in getPropertyType() 239 case VehiclePropertyType.INT64: in getPropertyType() 241 case VehiclePropertyType.FLOAT_VEC: in getPropertyType() 243 case VehiclePropertyType.INT32_VEC: in getPropertyType() 245 case VehiclePropertyType.INT64_VEC: in getPropertyType() 247 case VehiclePropertyType.STRING: in getPropertyType() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | CarPropertyUtils.java | 29 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType; 45 Class<?> clazz = getJavaClass(halValue.prop & VehiclePropertyType.MASK); in toCarPropertyValue() 145 Class<?> clazz = getJavaClass(p.prop & VehiclePropertyType.MASK); in toCarPropertyConfig() 213 case VehiclePropertyType.BOOLEAN: in getJavaClass() 215 case VehiclePropertyType.FLOAT: in getJavaClass() 217 case VehiclePropertyType.INT32: in getJavaClass() 219 case VehiclePropertyType.INT64: in getJavaClass() 221 case VehiclePropertyType.FLOAT_VEC: in getJavaClass() 223 case VehiclePropertyType.INT32_VEC: in getJavaClass() 225 case VehiclePropertyType.INT64_VEC: in getJavaClass() [all …]
|
D | VehicleHal.java | 36 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType; 603 int propertyType = propId & VehiclePropertyType.MASK; in injectVhalEvent() 607 case VehiclePropertyType.BOOLEAN: in injectVhalEvent() 611 case VehiclePropertyType.INT32: in injectVhalEvent() 612 case VehiclePropertyType.INT32_VEC: in injectVhalEvent() 617 case VehiclePropertyType.FLOAT: in injectVhalEvent() 618 case VehiclePropertyType.FLOAT_VEC: in injectVhalEvent()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | VhalJsonReader.java | 21 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType; 76 switch (prop & VehiclePropertyType.MASK) { in getEvent() 77 case VehiclePropertyType.BOOLEAN: in getEvent() 80 case VehiclePropertyType.INT32: in getEvent() 83 case VehiclePropertyType.INT64: in getEvent() 86 case VehiclePropertyType.FLOAT: in getEvent() 90 case VehiclePropertyType.STRING: in getEvent() 95 case VehiclePropertyType.MIXED: in getEvent() 110 + toHexString(prop & VehiclePropertyType.MASK) in getEvent()
|
D | VhalEventGenerator.java | 20 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType; 35 | VehiclePropertyType.MIXED;
|
/packages/apps/Car/Cluster/src/android/car/cluster/sensors/ |
D | Sensors.java | 19 import android.car.VehiclePropertyType; 51 "Fuel", VehiclePropertyIds.FUEL_LEVEL, GLOBAL_AREA_ID, VehiclePropertyType.FLOAT, 56 VehiclePropertyType.FLOAT, 61 VehiclePropertyType.FLOAT, 66 VehiclePropertyType.FLOAT, 71 VehiclePropertyType.FLOAT, 75 "Gear", VehiclePropertyIds.GEAR_SELECTION, GLOBAL_AREA_ID, VehiclePropertyType.INT32,
|
D | Sensor.java | 18 import android.car.VehiclePropertyType; 44 @VehiclePropertyType.Enum
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 33 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType; 62 0x1 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.GLOBAL; 65 0x2 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.FLOAT | VehicleArea.SEAT; 68 0x3 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.BYTES | VehicleArea.SEAT; 71 0x4 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.BYTES | VehicleArea.GLOBAL; 74 0x5 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.STRING | VehicleArea.GLOBAL; 77 0x6 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT64 | VehicleArea.GLOBAL; 80 0x7 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32_VEC | VehicleArea.GLOBAL; 83 0x8 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT64_VEC | VehicleArea.GLOBAL;
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyTestFragment.java | 27 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType; 143 switch (propId & VehiclePropertyType.MASK) { in onCreateView() 144 case VehiclePropertyType.BOOLEAN: in onCreateView() 148 case VehiclePropertyType.FLOAT: in onCreateView() 152 case VehiclePropertyType.INT32: in onCreateView() 158 & VehiclePropertyType.MASK) + " is not handled!", in onCreateView()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorManager.java | 25 import android.car.VehiclePropertyType; 462 switch (propertyValue.getPropertyId() & VehiclePropertyType.MASK) { in createCarSensorEvent() 463 case VehiclePropertyType.FLOAT: in createCarSensorEvent() 468 case VehiclePropertyType.INT32: in createCarSensorEvent() 473 case VehiclePropertyType.BOOLEAN: in createCarSensorEvent() 478 case VehiclePropertyType.INT64_VEC: in createCarSensorEvent()
|
D | CarPropertyConfig.java | 25 import android.car.VehiclePropertyType; 629 int propertyType = mPropertyId & VehiclePropertyType.MASK; 631 case VehiclePropertyType.INT32: 633 case VehiclePropertyType.INT64: 635 case VehiclePropertyType.FLOAT:
|
/packages/services/Car/evs/app/ |
D | EvsStateControl.cpp | 35 inline constexpr VehiclePropertyType getPropType(VehicleProperty prop) { in getPropType() 36 return static_cast<VehiclePropertyType>( in getPropType() 38 & static_cast<int32_t>(VehiclePropertyType::MASK)); in getPropType() 53 static_assert(getPropType(VehicleProperty::GEAR_SELECTION) == VehiclePropertyType::INT32, in EvsStateControl() 55 static_assert(getPropType(VehicleProperty::TURN_SIGNAL_STATE) == VehiclePropertyType::INT32, in EvsStateControl()
|
/packages/services/Car/car-lib/src/android/car/ |
D | VehiclePropertyType.java | 29 public class VehiclePropertyType { class 61 private VehiclePropertyType() {} in VehiclePropertyType() method in VehiclePropertyType
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/ |
D | InputTestFragment.java | 36 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType; 83 0x0666 | VehiclePropertyGroup.VENDOR | VehicleArea.GLOBAL | VehiclePropertyType.MIXED;
|