Android Automotive types.hal changes not getting auto generted in VehiclePropertiesId.java

238 views
Skip to first unread message

Rohit Iti

unread,
Feb 10, 2021, 11:43:20 PM2/10/21
to Android Automotive OS Discussion Group
Hello ,
I need some information on types.hal and VehiclePropertyIds.java .

I have added new property in types.hal as follows,

types.hal File changes,

enum ButtonStatus : int32_t {
    ON = 1,
    OFF = 2
};

/**
 * SunRoofButton
 * @change_mode VehiclePropertyChangeMode:ON_CHANGE
 * @access VehiclePropertyAccess:READ_WRITE
 * @data_enum ButtonStatus
*/
    SunRoof =(
        0x0602
        | VehiclePropertyGroup:VENDOR
        | VehiclePropertyType:INT32
        | VehicleArea:SEAT),
        
What should i do next to get these ids generated in VehiclePropertyId.java
Currently am doing following 3 steps

Commands :

. build/envsetup.sh
lunch aosp_car_x86-userdebug
make -j8

By this the build is successful but i don't see these entries generated in VehiclePropertyIds.java



Tuan PM

unread,
Jul 12, 2021, 3:30:39 AM7/12/21
to Android Automotive OS Discussion Group, rohit...@gmail.com
I have worked with Android Automotive and saw that types.hal changes not getting generated in VehiclePropertiesId.java but /out/soong/.intermediates/hardware/interfaces/automotive/vehicle/2.0/android.hardware.automotive.vehicle-V2.0-java_gen_java/gen/android/hardware/automotive/vehicle/V2_0/VehicleProperty.java will be re-generated

Vào lúc 11:43:20 UTC+7 ngày Thứ Năm, 11 tháng 2, 2021, rohit...@gmail.com đã viết:

William Smith

unread,
Jul 19, 2021, 11:25:13 AM7/19/21
to Android Automotive OS Discussion Group, tuanp...@gmail.com, rohit...@gmail.com
Quick question, are you using zfs for your filesystem?
We are seeing some strange behaviour with zfs lately.
(We use it on some shared powerful build servers)
Things observed:
java libraries not built
hidl not generated (maybe aidl also, not sure)
strange build failures

Best regards,
William
Reply all
Reply to author
Forward
0 new messages