【VTS_P version】VtsTrebleVendorVintfTest 跟hash相关fail

问题描述

 VtsTrebleVendorVintfTest测试时可能会遭遇以下两种情况报hash的错误:
Case1:
01-05 12:25:53 D/ModuleListener: ModuleListener.testStarted(VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_32bit)
01-05 12:25:53 D/ModuleListener: ModuleListener.testFailed(VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_32bit, test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:57
Failed
vendor.sw.swfingerprint@1.0::ISwfingerprint has an empty hash. This is because it was compiled without being frozen in a corresponding current.txt file.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:57
Failed
Case2:

vendor.oppo.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint has an empty hash. This is because it was compiled without being frozen in a corresponding current.txt file.

 

解决方案

 这种情况一般是指纹厂商在porting时没有添加相应的hash到current.txt中
详情可参考:https://source.android.com/devices/architecture/hidl/hashing
因此需要找指纹厂商support

作者: RESSRC

个人资源站

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据