其他分享
首页 > 其他分享> > HIDL学习笔记_4——使用总结

HIDL学习笔记_4——使用总结

作者:互联网

1. 在修改.hal文件时需要同时更新current.txt文件中的hash,触发hash更新的方法如下

/source/sys$ ./out/host/linux-x86/bin/hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport -r 
vendor.mine.hardware:vendor/mine/hardware/interface vendor.mine.hardware.performance@1.0
8be92d97229c92774afc1e8b702384e9df6708d247bb0e8789e76a634dfd053e vendor.mine.hardware.performance@1.0::types
82cc247ed78c17d41ecf5127ac4aeb93508ff677ec34b8519383637311b1ef58 vendor.mine.hardware.performance@1.0::IPerformance

参考:https://blog.csdn.net/m0_37905055/article/details/112320898

标签:总结,vendor,HIDL,笔记,mine,hardware,performance,1.0,hash
来源: https://www.cnblogs.com/hellokitty2/p/16493922.html