ferrari: Add face unlock blobs

Change-Id: Icc6d9901526796d50b2753284a7370b65c69ccf3
This commit is contained in:
tonyfan authored and pjgowtham committed 2026-10-05 08:57:11 +05:30
1 parent dbf97ac169
commit e5aa41a01e
4 files changed
+49 -1

No files matched your search

+8
View File
@@ -9,6 +9,10 @@ include device/oneplus/sm8450-common/BoardConfigCommon.mk
DEVICE_PATH := device/realme/ferrari DEVICE_PATH := device/realme/ferrari
# Biometrics (Face)
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.biometrics.face.xml
# HIDL # HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
@@ -19,5 +23,9 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
TARGET_RECOVERY_DENSITY := xxhdpi TARGET_RECOVERY_DENSITY := xxhdpi
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 126 TARGET_RECOVERY_UI_MARGIN_HEIGHT := 126
# VINTF
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \
$(DEVICE_PATH)/vintf/compatibility_matrix.xml
# Include the proprietary files BoardConfig. # Include the proprietary files BoardConfig.
include vendor/realme/ferrari/BoardConfigVendor.mk include vendor/realme/ferrari/BoardConfigVendor.mk
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Whether Settings should open a separate camera preview during face enrollment -->
<bool name="config_face_enroll_hal_owns_camera">true</bool>
<!-- Whether the face HAL supports the require attention feature -->
<bool name="config_face_attention_supported">false</bool>
</resources>
+17 -1
View File
@@ -985,7 +985,6 @@ odm/lib64/libsnpe_loader.so
odm/lib64/libstblur_api.so odm/lib64/libstblur_api.so
odm/lib64/libstblur_capture_api.so odm/lib64/libstblur_capture_api.so
odm/lib64/libstface_fd_api.so odm/lib64/libstface_fd_api.so
odm/lib64/libstfaceunlockocl.so
odm/lib64/libstfd_mobile_api.so odm/lib64/libstfd_mobile_api.so
odm/lib64/libthirdcapability.so odm/lib64/libthirdcapability.so
odm/lib64/libtriplecam_optical_zoom_control.so odm/lib64/libtriplecam_optical_zoom_control.so
@@ -1279,6 +1278,23 @@ vendor/firmware/evautil64.b07
vendor/firmware/evautil64.b08 vendor/firmware/evautil64.b08
vendor/firmware/evautil64.mdt vendor/firmware/evautil64.mdt
# Face unlock
odm/bin/hw/vendor.oplus.hardware.biometrics.face@1.0-service
odm/etc/init/vendor.oplus.hardware.biometrics.face@1.0-service.rc
odm/etc/vintf/manifest/manifest_oplus_face.xml
odm/lib64/libstfaceunlockocl.so
odm/init.oplus.face.rc
vendor/lib64/libcamera2ndk_vendor.so
odm/vendor/firmware/facereg.b00
odm/vendor/firmware/facereg.b01
odm/vendor/firmware/facereg.b02
odm/vendor/firmware/facereg.b03
odm/vendor/firmware/facereg.b04
odm/vendor/firmware/facereg.b05
odm/vendor/firmware/facereg.b06
odm/vendor/firmware/facereg.b07
odm/vendor/firmware/facereg.mdt
# Fingerprint # Fingerprint
odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service
odm/bin/init.oplus.fingerprints.sh odm/bin/init.oplus.fingerprints.sh
+10
View File
@@ -0,0 +1,10 @@
<compatibility-matrix version="1.0" type="framework">
<hal format="aidl" optional="true">
<name>android.hardware.biometrics.face</name>
<version>1</version>
<interface>
<name>IFace</name>
<instance>default</instance>
</interface>
</hal>
</compatibility-matrix>