Skip to content
Snippets Groups Projects
Commit cb2efe76 authored by Han Sol Jin's avatar Han Sol Jin
Browse files

mh2lm: add prebuilt fingerprint service

To be used in tandem with OSS wrapper service

Change-Id: I256b6b43ebd610e3e813a0e3547cfd367ef55e7c
parent 58dc5007
No related branches found
No related tags found
No related merge requests found
......@@ -14,3 +14,12 @@ prebuilt_etc_xml {
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.lge.hardware.biometrics.fingerprint@2.2-service",
owner: "lge",
src: "proprietary/vendor/etc/vintf/manifest/vendor.lge.hardware.biometrics.fingerprint@2.2-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
......@@ -8,6 +8,7 @@ PRODUCT_SOONG_NAMESPACES += \
PRODUCT_COPY_FILES += \
vendor/lge/mh2lm/proprietary/vendor/bin/cpfirmware:$(TARGET_COPY_OUT_VENDOR)/bin/cpfirmware \
vendor/lge/mh2lm/proprietary/vendor/bin/hw/android.hardware.drm@1.3-service.widevine:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.drm@1.3-service.widevine \
vendor/lge/mh2lm/proprietary/vendor/bin/hw/vendor.lge.hardware.biometrics.fingerprint@2.2-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.lge.hardware.biometrics.fingerprint@2.2-service \
vendor/lge/mh2lm/proprietary/vendor/bin/hw/vendor.qti.hardware.qseecom@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.qti.hardware.qseecom@1.0-service \
vendor/lge/mh2lm/proprietary/vendor/bin/qseecomd:$(TARGET_COPY_OUT_VENDOR)/bin/qseecomd \
vendor/lge/mh2lm/proprietary/vendor/etc/acdbdata/Bluetooth_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Bluetooth_cal.acdb \
......@@ -264,6 +265,7 @@ PRODUCT_COPY_FILES += \
vendor/lge/mh2lm/proprietary/vendor/etc/gpfspath_oem_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gpfspath_oem_config.xml \
vendor/lge/mh2lm/proprietary/vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.3-service.widevine.rc \
vendor/lge/mh2lm/proprietary/vendor/etc/init/qseecomd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qseecomd.rc \
vendor/lge/mh2lm/proprietary/vendor/etc/init/vendor.lge.hardware.biometrics.fingerprint@2.2-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.lge.hardware.biometrics.fingerprint@2.2-service.rc \
vendor/lge/mh2lm/proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc \
vendor/lge/mh2lm/proprietary/vendor/etc/qdcm_calib_data_Dual_Sharp_WQHD_cmd_mode_dsi_panel.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Dual_Sharp_WQHD_cmd_mode_dsi_panel.xml \
vendor/lge/mh2lm/proprietary/vendor/etc/qdcm_calib_data_Dual_Sharp_wqhd_video_mode_dsi_panel.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Dual_Sharp_wqhd_video_mode_dsi_panel.xml \
......@@ -952,7 +954,9 @@ PRODUCT_COPY_FILES += \
vendor/lge/mh2lm/proprietary/vendor/lib64/sensors.sar.so:$(TARGET_COPY_OUT_VENDOR)/lib64/sensors.sar.so \
vendor/lge/mh2lm/proprietary/vendor/lib64/sensors.ssc.so:$(TARGET_COPY_OUT_VENDOR)/lib64/sensors.ssc.so \
vendor/lge/mh2lm/proprietary/vendor/lib64/vendor.lge.hardware.sensors@1.0.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.lge.hardware.sensors@1.0.so \
vendor/lge/mh2lm/proprietary/vendor/lib64/vendor.qti.hardware.fingerprint@1.0.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.qti.hardware.fingerprint@1.0.so \
vendor/lge/mh2lm/proprietary/vendor/lib64/vendor.qti.hardware.qseecom@1.0.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.qti.hardware.qseecom@1.0.so
PRODUCT_PACKAGES += \
manifest_android.hardware.drm@1.3-service.widevine
manifest_android.hardware.drm@1.3-service.widevine \
vendor.lge.hardware.biometrics.fingerprint@2.2-service
File added
service vendor.lge-biometrics-fingerprint-hal-2-2 /vendor/bin/hw/vendor.lge.hardware.biometrics.fingerprint@2.2-service
interface android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint default
interface vendor.lge.hardware.biometrics.fingerprint@2.1::ILgeBiometricsFingerprint default
interface vendor.lge.hardware.biometrics.fingerprint@2.2::ILgeBiometricsFingerprint default
oneshot
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.
class late_start
user system
group system input uhid
<manifest version="1.0" type="device">
<!-- fingerprint hal: using remote service instead of Google's default service-->
<hal format="hidl">
<name>android.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<fqname>@2.1::IBiometricsFingerprint/default</fqname>
</hal>
<!-- LGE Fingerprint HAL service -->
<hal format="hidl">
<name>vendor.lge.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<fqname>@2.2::ILgeBiometricsFingerprint/default</fqname>
</hal>
</manifest>
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment