From 8cc6a4d8707f88aa9e841a119dcfe52003953407 Mon Sep 17 00:00:00 2001 From: therealmharc Date: Sat, 10 May 2025 04:34:39 +0000 Subject: [PATCH] sm6150-common: declare missing FCM entries - generated using https://gist.github.com/SebaUbuntu/ec053a00a9988eaea091fb1cc1f19324 The following HALs in device manifest are not declared in FCM <= level 6: android.hardware.biometrics.fingerprint.IFingerprint/default (@4) android.hardware.bluetooth.audio.IBluetoothAudioProviderFactory/default (@4) android.hardware.drm.IDrmFactory/clearkey (@1) android.hardware.health.IHealth/default (@3) android.hardware.ir.IConsumerIr/default (@1) android.hardware.power.IPower/default (@5) android.hardware.thermal.IThermal/default (@1) android.hardware.usb.gadget.IUsbGadget/default (@1) android.hardware.wifi.IWifi/default (@2) android.hardware.wifi.hostapd.IHostapd/default (@2) android.hardware.wifi.supplicant.ISupplicant/default (@3) COMPATIBLE Signed-off-by: therealmharc --- BoardConfigCommon.mk | 3 +- configs/hidl/device_framework_matrix.xml | 86 ++++++++++++++++++++++++ 2 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 configs/hidl/device_framework_matrix.xml diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index cecf75a..3c25a3a 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -63,7 +63,8 @@ BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := default DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \ hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \ hardware/xiaomi/vintf/xiaomi_framework_compatibility_matrix.xml \ - vendor/lineage/config/device_framework_matrix.xml + vendor/lineage/config/device_framework_matrix.xml \ + $(COMMON_PATH)/configs/hidl/device_framework_matrix.xml DEVICE_MANIFEST_FILE := $(COMMON_PATH)/configs/hidl/manifest.xml DEVICE_MANIFEST_FILE += hardware/qcom-caf/sm8150/media/conf_files/sm6150/c2_manifest.xml diff --git a/configs/hidl/device_framework_matrix.xml b/configs/hidl/device_framework_matrix.xml new file mode 100644 index 0000000..1fe7f35 --- /dev/null +++ b/configs/hidl/device_framework_matrix.xml @@ -0,0 +1,86 @@ + + + android.hardware.biometrics.fingerprint + 4 + + IFingerprint + default + + + + android.hardware.bluetooth.audio + 4 + + IBluetoothAudioProviderFactory + default + + + + android.hardware.drm + + IDrmFactory + clearkey + + + + android.hardware.health + 3 + + IHealth + default + + + + android.hardware.ir + + IConsumerIr + default + + + + android.hardware.power + 5 + + IPower + default + + + + android.hardware.thermal + + IThermal + default + + + + android.hardware.usb.gadget + + IUsbGadget + default + + + + android.hardware.wifi + 2 + + IWifi + default + + + + android.hardware.wifi.hostapd + 2 + + IHostapd + default + + + + android.hardware.wifi.supplicant + 3 + + ISupplicant + default + + +