/packages/services/Car/service/src/com/android/car/hal/ |
D | CarPropertyUtils.java | 22 import android.hardware.automotive.vehicle.VehiclePropertyType; 41 case VehiclePropertyType.BOOLEAN: in getJavaClass() 43 case VehiclePropertyType.FLOAT: in getJavaClass() 45 case VehiclePropertyType.INT32: in getJavaClass() 47 case VehiclePropertyType.INT64: in getJavaClass() 49 case VehiclePropertyType.FLOAT_VEC: in getJavaClass() 51 case VehiclePropertyType.INT32_VEC: in getJavaClass() 53 case VehiclePropertyType.INT64_VEC: in getJavaClass() 55 case VehiclePropertyType.STRING: in getJavaClass() 57 case VehiclePropertyType.BYTES: in getJavaClass() [all …]
|
D | HalPropValue.java | 29 import android.hardware.automotive.vehicle.VehiclePropertyType; 275 return (prop & VehiclePropertyType.MASK) == VehiclePropertyType.MIXED; in isMixedTypeProperty() 285 Class<?> clazz = CarPropertyUtils.getJavaClass(getPropId() & VehiclePropertyType.MASK); in toCarPropertyValue()
|
D | HalPropConfig.java | 28 import android.hardware.automotive.vehicle.VehiclePropertyType; 106 Class<?> clazz = CarPropertyUtils.getJavaClass(propId & VehiclePropertyType.MASK); in toCarPropertyConfig()
|
D | VehicleHal.java | 45 import android.hardware.automotive.vehicle.VehiclePropertyType; 1500 int propertyType = propId & VehiclePropertyType.MASK; in createPropValueForInjecting() 1503 case VehiclePropertyType.BOOLEAN: in createPropValueForInjecting() 1507 case VehiclePropertyType.INT64: in createPropValueForInjecting() 1508 case VehiclePropertyType.INT64_VEC: in createPropValueForInjecting() 1515 case VehiclePropertyType.INT32: in createPropValueForInjecting() 1516 case VehiclePropertyType.INT32_VEC: in createPropValueForInjecting() 1523 case VehiclePropertyType.FLOAT: in createPropValueForInjecting() 1524 case VehiclePropertyType.FLOAT_VEC: in createPropValueForInjecting()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | VhalJsonReader.java | 21 import android.hardware.automotive.vehicle.VehiclePropertyType; 74 switch (prop & VehiclePropertyType.MASK) { in getEvent() 75 case VehiclePropertyType.BOOLEAN: in getEvent() 78 case VehiclePropertyType.INT32: in getEvent() 81 case VehiclePropertyType.INT64: in getEvent() 84 case VehiclePropertyType.FLOAT: in getEvent() 88 case VehiclePropertyType.STRING: in getEvent() 93 case VehiclePropertyType.MIXED: in getEvent() 109 + toHexString(prop & VehiclePropertyType.MASK) in getEvent()
|
/packages/services/Car/service/src/com/android/car/hal/property/ |
D | HalPropertyDebugUtils.java | 37 import android.hardware.automotive.vehicle.VehiclePropertyType; 190 int valueType = propertyId & VehiclePropertyType.MASK; in toValueString() 194 case VehiclePropertyType.BOOLEAN -> { in toValueString() 200 case VehiclePropertyType.INT32 -> { in toValueString() 206 case VehiclePropertyType.INT32_VEC -> { in toValueString() 213 case VehiclePropertyType.FLOAT -> { in toValueString() 219 case VehiclePropertyType.FLOAT_VEC -> { in toValueString() 225 case VehiclePropertyType.INT64 -> { in toValueString() 231 case VehiclePropertyType.INT64_VEC -> { in toValueString() 237 case VehiclePropertyType.STRING -> { in toValueString() [all …]
|
D | PropertyHalServiceConfigs.java | 29 import android.hardware.automotive.vehicle.VehiclePropertyType; 253 if ((propId & VehiclePropertyType.MASK) == VehiclePropertyType.MIXED) { in checkPayload() 699 int vehiclePropertyType = propId & VehiclePropertyType.MASK; in checkFormatForAllProperties() 706 && vehiclePropertyType != VehiclePropertyType.FLOAT_VEC in checkFormatForAllProperties() 707 && vehiclePropertyType != VehiclePropertyType.INT64_VEC in checkFormatForAllProperties() 708 && vehiclePropertyType != VehiclePropertyType.INT32_VEC) { in checkFormatForAllProperties() 714 case VehiclePropertyType.BOOLEAN: in checkFormatForAllProperties() 715 case VehiclePropertyType.INT32: in checkFormatForAllProperties() 717 case VehiclePropertyType.FLOAT: in checkFormatForAllProperties() 719 case VehiclePropertyType.INT64: in checkFormatForAllProperties() [all …]
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/sensors/ |
D | Sensors.java | 21 import android.car.VehiclePropertyType; 51 VehiclePropertyType.FLOAT, 56 VehiclePropertyType.FLOAT, 61 VehiclePropertyType.FLOAT, 66 VehiclePropertyType.FLOAT, 71 VehiclePropertyType.FLOAT, 76 VehiclePropertyType.INT32,
|
D | Sensor.java | 18 import android.car.VehiclePropertyType; 44 @VehiclePropertyType.Enum
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/sensors/ |
D | Sensors.java | 21 import android.car.VehiclePropertyType; 48 VehiclePropertyType.FLOAT, 53 VehiclePropertyType.FLOAT, 58 VehiclePropertyType.FLOAT, 63 VehiclePropertyType.FLOAT, 68 VehiclePropertyType.FLOAT, 73 VehiclePropertyType.INT32,
|
D | Sensor.java | 18 import android.car.VehiclePropertyType; 44 @VehiclePropertyType.Enum
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | FakeCarPropertyService.java | 25 import android.car.VehiclePropertyType; 325 int type = propId & VehiclePropertyType.MASK; in getPropertyType() 327 case VehiclePropertyType.BOOLEAN: in getPropertyType() 329 case VehiclePropertyType.FLOAT: in getPropertyType() 331 case VehiclePropertyType.INT32: in getPropertyType() 333 case VehiclePropertyType.INT64: in getPropertyType() 335 case VehiclePropertyType.FLOAT_VEC: in getPropertyType() 337 case VehiclePropertyType.INT32_VEC: in getPropertyType() 339 case VehiclePropertyType.INT64_VEC: in getPropertyType() 341 case VehiclePropertyType.STRING: in getPropertyType() [all …]
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | VehiclePropertyPublisher.java | 34 import android.hardware.automotive.vehicle.VehiclePropertyType; 239 int type = propValue.getPropertyId() & VehiclePropertyType.MASK; in parseCarPropertyValue() 241 if (VehiclePropertyType.BOOLEAN == type) { in parseCarPropertyValue() 243 } else if (VehiclePropertyType.FLOAT == type) { in parseCarPropertyValue() 246 } else if (VehiclePropertyType.INT32 == type) { in parseCarPropertyValue() 248 } else if (VehiclePropertyType.INT64 == type) { in parseCarPropertyValue() 250 } else if (VehiclePropertyType.FLOAT_VEC == type) { in parseCarPropertyValue() 257 } else if (VehiclePropertyType.INT32_VEC == type) { in parseCarPropertyValue() 264 } else if (VehiclePropertyType.INT64_VEC == type) { in parseCarPropertyValue() 271 } else if (VehiclePropertyType.STRING == type) { in parseCarPropertyValue() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 41 import android.hardware.automotive.vehicle.VehiclePropertyType; 73 0x1 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.GLOBAL; 76 0x2 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.FLOAT | VehicleArea.SEAT; 79 0x3 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.BYTES | VehicleArea.SEAT; 82 0x4 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.BYTES | VehicleArea.GLOBAL; 85 0x5 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.STRING | VehicleArea.GLOBAL; 88 0x6 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT64 | VehicleArea.GLOBAL; 91 0x7 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32_VEC | VehicleArea.GLOBAL; 94 0x8 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT64_VEC | VehicleArea.GLOBAL;
|
D | CarPropertyManagerTest.java | 52 import android.hardware.automotive.vehicle.VehiclePropertyType; 131 0x1201 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.SEAT; 133 0x1202 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.SEAT; 136 0x1101 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.MIXED | VehicleArea.SEAT; 138 0x1102 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.MIXED | VehicleArea.GLOBAL; 140 0x1110 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.MIXED | VehicleArea.GLOBAL; 143 0x1103 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32_VEC 149 0x1108 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 154 0x1104 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32_VEC 157 0x1105 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.BOOLEAN [all …]
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorManager.java | 25 import android.car.VehiclePropertyType; 456 switch (propertyValue.getPropertyId() & VehiclePropertyType.MASK) { in createCarSensorEvent() 457 case VehiclePropertyType.FLOAT: in createCarSensorEvent() 462 case VehiclePropertyType.INT32: in createCarSensorEvent() 467 case VehiclePropertyType.BOOLEAN: in createCarSensorEvent() 472 case VehiclePropertyType.INT64_VEC: in createCarSensorEvent()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyTestFragment.java | 27 import android.car.VehiclePropertyType; 238 switch (propId & VehiclePropertyType.MASK) { in onCreateView() 239 case VehiclePropertyType.BOOLEAN: in onCreateView() 243 case VehiclePropertyType.FLOAT: in onCreateView() 247 case VehiclePropertyType.INT32: in onCreateView() 253 & VehiclePropertyType.MASK) + " is not handled!", in onCreateView() 272 switch (propId & VehiclePropertyType.MASK) { in onCreateView() 273 case VehiclePropertyType.BOOLEAN: in onCreateView() 277 case VehiclePropertyType.FLOAT: in onCreateView() 281 case VehiclePropertyType.INT32: in onCreateView() [all …]
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | EvsStateControl.cpp | 48 using aidl::android::hardware::automotive::vehicle::VehiclePropertyType; 60 inline constexpr VehiclePropertyType getPropType(VehicleProperty prop) { in getPropType() 61 return static_cast<VehiclePropertyType>(static_cast<int32_t>(prop) & in getPropType() 62 static_cast<int32_t>(VehiclePropertyType::MASK)); in getPropType() 78 static_assert(getPropType(VehicleProperty::GEAR_SELECTION) == VehiclePropertyType::INT32, in EvsStateControl() 80 static_assert(getPropType(VehicleProperty::TURN_SIGNAL_STATE) == VehiclePropertyType::INT32, in EvsStateControl()
|
/packages/services/Car/car-lib/src/android/car/ |
D | VehiclePropertyType.java | 30 public class VehiclePropertyType { class 62 private VehiclePropertyType() {} in VehiclePropertyType() method in VehiclePropertyType
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
D | SensorsTestFragment.java | 23 import android.car.VehiclePropertyType; 353 int mask = propertyId & VehiclePropertyType.MASK; in isArrayType() 354 return mask == VehiclePropertyType.FLOAT_VEC in isArrayType() 355 || mask == VehiclePropertyType.INT32_VEC in isArrayType() 356 || mask == VehiclePropertyType.INT64_VEC; in isArrayType()
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStub.java | 34 import android.hardware.automotive.vehicle.VehiclePropertyType; 862 case VehiclePropertyType.INT32: in withinRange() 863 case VehiclePropertyType.INT32_VEC: in withinRange() 877 case VehiclePropertyType.INT64: in withinRange() 878 case VehiclePropertyType.INT64_VEC: in withinRange() 892 case VehiclePropertyType.FLOAT: in withinRange() 893 case VehiclePropertyType.FLOAT_VEC: in withinRange() 921 return propId & VehiclePropertyType.MASK; in getPropType()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarPropertyManagerTest.java | 33 import android.hardware.automotive.vehicle.VehiclePropertyType; 58 | VehicleArea.GLOBAL | VehiclePropertyType.INT32; 60 | VehiclePropertyGroup.VENDOR | VehicleArea.GLOBAL | VehiclePropertyType.INT32;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/ |
D | HalPropertyDebugUtilsUnitTest.java | 41 import android.hardware.automotive.vehicle.VehiclePropertyType; 227 assertThat(toAreaTypeString(VehiclePropertyType.STRING)).isEqualTo( in testToAreaTypeString() 235 assertThat(toGroupString(VehiclePropertyType.STRING)).isEqualTo( in testToGroupString()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | HalPropConfigTest.java | 36 import android.hardware.automotive.vehicle.VehiclePropertyType; 55 1 | VehicleArea.GLOBAL | VehiclePropertyType.INT32; 57 1 | VehicleArea.GLOBAL | VehiclePropertyType.INT64; 59 1 | VehicleArea.GLOBAL | VehiclePropertyType.FLOAT; 61 1 | VehicleArea.GLOBAL | VehiclePropertyType.INT32_VEC; 63 1 | VehicleArea.VENDOR | VehiclePropertyType.INT32_VEC;
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vehiclectrl/ |
D | VehicleCtrlFragment.java | 25 import android.car.VehiclePropertyType; 55 | VehiclePropertyType.BOOLEAN
|