VHAL Vendor Properties

646 views
Skip to first unread message

Aadhvik Nagarajan

unread,
Sep 29, 2020, 8:55:04 PM9/29/20
to Android Automotive OS Discussion Group
Hi All,

What is the best way to add Vendor Property Ids to VHAL types.hal ?
Shall we directly append them under hardware/interfaces/automotive/vehicle/2.0/types.hal ?
or any other recommend way such as HAL extension ?
--
Thanks,
Aadhvik

Amarnath Ch

unread,
Sep 30, 2020, 10:23:09 AM9/30/20
to Aadhvik Nagarajan, Android Automotive OS Discussion Group
Hi Aadhvik,

You can resolve this problem by creating VHAL in vendor folder.

vendor/oem/hardware/interfaces/automotive/vehicle/2.0/types.hal
=========================================
import android.hardware.automotive.vehicle@2.0; // Google provided properties.

enum VendorVehicleProperty: VehicleProperty {
//Add Vendor properties here.
}
=========================================  


Regards,
Amarnath

--
You received this message because you are subscribed to the Google Groups "Android Automotive OS Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automotive-devel...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/automotive-developers/65bd78f0-338e-48c7-94de-2d5837cab52dn%40android.com.


--
Regards,
Amarnath.C.
Reply all
Reply to author
Forward
0 new messages