Properties supported by the VHAL
must be either a system property or a vendor property. In Android 14 and
higher, system property definitions are defined at
VehicleProperty.aidl
.
In Android 13 and lower, system property definitions are defined at automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl
, for example, for Android 13, see
VehicleProperty.aidl
.
In Android 14 and higher, the system property definition is defined in the AIDL interface,
android.hardware.automotive.vehicle.property
, which is separate from the VHAL
interface (android.hardware.automotive.vehicle
). VHAL implementations and VHAL
clients must depend on both interfaces.
For VHAL properties exposed through CarPropertyManager
, see
VehiclePropertyIds.
Auto-generated access modes and change modes
In Android 14 and higher, to support VHAL implementations, we provide auto-generated C++ header files and Java class files with the allowed change mode or access mode for system properties. Vendor VHAL implementations can use these to ensure the property configs meet the specification.