Home
last modified time | relevance | path

Searched refs:VehiclePropertyType (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/surround_view/service-impl/
DAnimationModuleTests.cpp67 VehiclePropertyType::INT32 | VehicleArea::DOOR) in getSampleAnimations()
102 VehiclePropertyType::INT32 | VehicleArea::DOOR) in getSampleAnimations()
137 VehiclePropertyType::INT32 | VehicleArea::GLOBAL) in getSampleAnimations()
169 VehiclePropertyType::INT32 | VehicleArea::GLOBAL) in getSampleAnimations()
201 VehiclePropertyType::INT32 | VehicleArea::GLOBAL) in getSampleAnimations()
252 .prop = 0x0200 | VehiclePropertyGroup::SYSTEM | VehiclePropertyType::INT32 | in TEST()
266 .prop = 0x0200 | VehiclePropertyGroup::SYSTEM | VehiclePropertyType::INT32 | in TEST()
280 .prop = 0x0201 | VehiclePropertyGroup::SYSTEM | VehiclePropertyType::INT32 | in TEST()
294 .prop = 0x0201 | VehiclePropertyGroup::SYSTEM | VehiclePropertyType::INT32 | in TEST()
308 .prop = 0x0300 | VehiclePropertyGroup::SYSTEM | VehiclePropertyType::INT32 | in TEST()
[all …]
DAnimationModule.cpp59 case (int32_t)VehiclePropertyType::BOOLEAN: in getVhalValueFloat()
61 case (int32_t)VehiclePropertyType::FLOAT: in getVhalValueFloat()
63 case (int32_t)VehiclePropertyType::INT32: in getVhalValueFloat()
65 case (int32_t)VehiclePropertyType::INT64: in getVhalValueFloat()
DVhalHandler.cpp39 using vehicle::V2_0::VehiclePropertyType;
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/
DCarPropertyManagerPublicPermissionTest.java24 import android.car.VehiclePropertyType;
212 switch (propertyId & VehiclePropertyType.MASK) { in testCarPropertyManagerGetter()
213 case VehiclePropertyType.BOOLEAN: in testCarPropertyManagerGetter()
218 case VehiclePropertyType.FLOAT: in testCarPropertyManagerGetter()
221 case VehiclePropertyType.INT32_VEC: in testCarPropertyManagerGetter()
224 case VehiclePropertyType.INT32: in testCarPropertyManagerGetter()
254 switch (propertyId & VehiclePropertyType.MASK) { in testCarPropertyManagerSetter()
255 case VehiclePropertyType.BOOLEAN: in testCarPropertyManagerSetter()
259 case VehiclePropertyType.FLOAT: in testCarPropertyManagerSetter()
263 case VehiclePropertyType.FLOAT_VEC: in testCarPropertyManagerSetter()
[all …]
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java25 import android.car.VehiclePropertyType;
232 int type = propId & VehiclePropertyType.MASK; in getPropertyType()
234 case VehiclePropertyType.BOOLEAN: in getPropertyType()
236 case VehiclePropertyType.FLOAT: in getPropertyType()
238 case VehiclePropertyType.INT32: in getPropertyType()
240 case VehiclePropertyType.INT64: in getPropertyType()
242 case VehiclePropertyType.FLOAT_VEC: in getPropertyType()
244 case VehiclePropertyType.INT32_VEC: in getPropertyType()
246 case VehiclePropertyType.INT64_VEC: in getPropertyType()
248 case VehiclePropertyType.STRING: in getPropertyType()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DCarPropertyUtils.java29 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
50 Class<?> clazz = getJavaClass(halValue.prop & VehiclePropertyType.MASK); in toCarPropertyValue()
238 Class<?> clazz = getJavaClass(p.prop & VehiclePropertyType.MASK); in toCarPropertyConfig()
305 case VehiclePropertyType.BOOLEAN: in getJavaClass()
307 case VehiclePropertyType.FLOAT: in getJavaClass()
309 case VehiclePropertyType.INT32: in getJavaClass()
311 case VehiclePropertyType.INT64: in getJavaClass()
313 case VehiclePropertyType.FLOAT_VEC: in getJavaClass()
315 case VehiclePropertyType.INT32_VEC: in getJavaClass()
317 case VehiclePropertyType.INT64_VEC: in getJavaClass()
[all …]
DPropertyHalServiceIds.java38 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
764 if ((propValue.prop & VehiclePropertyType.MASK) == VehiclePropertyType.MIXED) { in checkPayload()
801 switch (propId & VehiclePropertyType.MASK) { in checkFormatForAllProperties()
802 case VehiclePropertyType.BOOLEAN: in checkFormatForAllProperties()
803 case VehiclePropertyType.INT32: in checkFormatForAllProperties()
805 case VehiclePropertyType.FLOAT: in checkFormatForAllProperties()
807 case VehiclePropertyType.INT64: in checkFormatForAllProperties()
809 case VehiclePropertyType.FLOAT_VEC: in checkFormatForAllProperties()
811 case VehiclePropertyType.INT64_VEC: in checkFormatForAllProperties()
813 case VehiclePropertyType.INT32_VEC: in checkFormatForAllProperties()
[all …]
DVehicleHal.java39 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
727 int propertyType = propId & VehiclePropertyType.MASK; in injectVhalEvent()
731 case VehiclePropertyType.BOOLEAN: in injectVhalEvent()
735 case VehiclePropertyType.INT32: in injectVhalEvent()
736 case VehiclePropertyType.INT32_VEC: in injectVhalEvent()
741 case VehiclePropertyType.FLOAT: in injectVhalEvent()
742 case VehiclePropertyType.FLOAT_VEC: in injectVhalEvent()
DPropertyHalService.java34 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
432 return (halPropId & VehiclePropertyType.MASK) == VehiclePropertyType.MIXED; in isMixedTypeProperty()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DVhalJsonReader.java21 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()
DVhalEventGenerator.java20 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
35 | VehiclePropertyType.MIXED;
/packages/apps/Car/Cluster/src/android/car/cluster/sensors/
DSensors.java19 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,
DSensor.java18 import android.car.VehiclePropertyType;
44 @VehiclePropertyType.Enum
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java33 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;
DCarPropertyManagerTest.java40 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
96 0x1201 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.SEAT;
98 0x1202 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.SEAT;
101 0x1101 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.MIXED | VehicleArea.SEAT;
103 0x1102 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.MIXED | VehicleArea.GLOBAL;
106 0x1103 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32_VEC
112 0x1201 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.GLOBAL;
114 0x1202 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.GLOBAL;
116 0x1203 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.GLOBAL;
118 0x1204 | VehiclePropertyGroup.VENDOR | VehiclePropertyType.INT32 | VehicleArea.GLOBAL;
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyTestFragment.java27 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/
DCarSensorManager.java25 import android.car.VehiclePropertyType;
461 switch (propertyValue.getPropertyId() & VehiclePropertyType.MASK) { in createCarSensorEvent()
462 case VehiclePropertyType.FLOAT: in createCarSensorEvent()
467 case VehiclePropertyType.INT32: in createCarSensorEvent()
472 case VehiclePropertyType.BOOLEAN: in createCarSensorEvent()
477 case VehiclePropertyType.INT64_VEC: in createCarSensorEvent()
DCarPropertyConfig.java25 import android.car.VehiclePropertyType;
650 int propertyType = mPropertyId & VehiclePropertyType.MASK;
652 case VehiclePropertyType.INT32:
654 case VehiclePropertyType.INT64:
656 case VehiclePropertyType.FLOAT:
/packages/services/Car/evs/apps/default/
DEvsStateControl.cpp41 inline constexpr VehiclePropertyType getPropType(VehicleProperty prop) { in getPropType()
42 return static_cast<VehiclePropertyType>( in getPropType()
44 & static_cast<int32_t>(VehiclePropertyType::MASK)); in getPropType()
59 static_assert(getPropType(VehicleProperty::GEAR_SELECTION) == VehiclePropertyType::INT32, in EvsStateControl()
61 static_assert(getPropType(VehicleProperty::TURN_SIGNAL_STATE) == VehiclePropertyType::INT32, in EvsStateControl()
/packages/services/Car/car-lib/src/android/car/
DVehiclePropertyType.java31 public class VehiclePropertyType { class
63 private VehiclePropertyType() {} in VehiclePropertyType() method in VehiclePropertyType
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vehiclectrl/
DVehicleCtrlFragment.java28 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
54 | VehiclePropertyType.BOOLEAN
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DInputTestFragment.java36 import android.hardware.automotive.vehicle.V2_0.VehiclePropertyType;
83 0x0666 | VehiclePropertyGroup.VENDOR | VehicleArea.GLOBAL | VehiclePropertyType.MIXED;
/packages/services/Car/car-lib/api/
Dtest-current.txt12 public class VehiclePropertyType {