平台:高通C6490,android13
测试结果:
arm64-v8a CtsBiometricsTestCases |
Test | Result | Details |
android.server.biometrics.BiometricActivityTests#testBiometricOrCredential_credentialButtonInvoked_biometricNotEnrolled |
fail
|
java.lang.AssertionError: AuthSessionState: 9. {SensorId: 0, Operation: 7, UserId: 0, NumEnrolled: 0}
|
android.server.biometrics.BiometricActivityTests#testBiometricOnly_authenticateFromForegroundActivity |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricActivityTests#testBiometricOnly_rejectThenAuthenticate |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricActivityTests#testBiometricOnly_rejectThenErrorFromForegroundActivity |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricSecurityTests#testBiometricStrengthDowngraded_StrongSensor |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricSecurityTests#testBiometricStrength_StrongSensor |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricServiceTests#testBiometricsRemovedWhenCredentialRemoved |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricServiceTests#testLockoutResetRequestedAfterCredentialUnlock |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricSimpleTests#testBiometricCancellation |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricSimpleTests#testWhenCredentialEnrolled |
fail
|
java.lang.AssertionError: AuthSessionState: 9. {SensorId: 0, Operation: 7, UserId: 0, NumEnrolled: 0}
|
android.server.biometrics.BiometricSimpleTests#testSimpleCredentialAuth |
fail
|
java.lang.AssertionError: AuthSessionState: 9. {SensorId: 0, Operation: 7, UserId: 0, NumEnrolled: 0}
|
android.server.biometrics.BiometricSimpleTests#testEnroll |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.BiometricCryptoTests#testGenerateKeyWhenCredentialAndBiometricEnrolled |
fail
|
java.lang.AssertionError: Sensor: 0 should have exactly one enrollment expected:<1> but was:<0>
|
android.server.biometrics.fingerprint.FingerprintServiceTest#testAuthenticateFromForegroundActivity |
fail
|
java.lang.AssertionError
|
android.server.biometrics.fingerprint.FingerprintServiceTest#testRejectThenErrorFromForegroundActivity |
fail
|
java.lang.AssertionError
|
android.server.biometrics.fingerprint.FingerprintServiceTest#testEnroll |
fail
|
java.lang.AssertionError: expected:<1> but was:<0>
|
因为我们项目没有指纹相关的,需要移除 frameworks/native/data/etc/android.hardware.fingerprint.xml
修改如下:
diff --git a/LINUX/android/device/qcom/lahaina/lahaina.mk b/LINUX/android/device/qcom/lahaina/lahaina.mk
index 238a64c5971..3f964c31efe 100755
--- a/LINUX/android/device/qcom/lahaina/lahaina.mk
+++ b/LINUX/android/device/qcom/lahaina/lahaina.mk
@@ -435,8 +435,8 @@ endif
TARGET_MOUNT_POINTS_SYMLINKS := false
# Fingerprint feature
-PRODUCT_COPY_FILES += \
- frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
+#PRODUCT_COPY_FILES += \
+# frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
# system prop for enabling QFS (QTI Fingerprint Solution)
PRODUCT_PROPERTY_OVERRIDES += \