From 79e81ad4781ea2a575821c7b8c4b611f8a63994d Mon Sep 17 00:00:00 2001 From: Alex Hong Date: Thu, 15 Apr 2021 00:31:31 +0800 Subject: [PATCH] Add the Product Framework Compatibility Matrix (Level 5) Follow the previous Pixel settings, add a product FCM to describe the requirements of device-specific HALs. TO-DO: (1) Check if we need to replace the product config with Android.bp module like ag/14052744 (2) Check if we need to split the FCM for system_ext/product Test: m check-vintf-all The device is bootable. Bug: 184714406 Change-Id: Icacace16863cfe1415e3dc4454e8763b8a30b425 --- device.mk | 5 + device_framework_matrix_product.xml | 176 ++++++++++++++++++++++++++++ 2 files changed, 181 insertions(+) create mode 100644 device_framework_matrix_product.xml diff --git a/device.mk b/device.mk index 978d713b..407b8d04 100644 --- a/device.mk +++ b/device.mk @@ -1153,3 +1153,8 @@ include hardware/google/pixel/PixelLogger/PixelLogger.mk # Battery Stats Viewer PRODUCT_PACKAGES_DEBUG += BatteryStatsViewer + +# Install product specific framework compatibility matrix +# (TODO: b/169535506) This includes the FCM for system_ext and product partition. +# It must be split into the FCM of each partition. +DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE := device/google/gs101/device_framework_matrix_product.xml diff --git a/device_framework_matrix_product.xml b/device_framework_matrix_product.xml new file mode 100644 index 00000000..92a730a1 --- /dev/null +++ b/device_framework_matrix_product.xml @@ -0,0 +1,176 @@ + + + android.hardware.radio + 1.2 + + ISap + slot2 + + + + android.hardware.vibrator + 2 + + IVibrator + dual + + + + android.vendor.samsung_slsi.telephony.hardware.radio + 1.1 + + IOemSamsungslsi + slot1 + slot2 + + + + com.fingerprints33.extension + 1.0 + + IFingerprintAuthenticator + default + + + IFingerprintCalibration + default + + + IFingerprintEngineering + default + + + IFingerprintNavigation + default + + + IFingerprintRecalibration + default + + + IFingerprintSenseTouch + default + + + IFingerprintSensorTest + default + + + + com.google.face.debug + + IDebugHost + default + + + + com.google.edgetpu + + IEdgeTpuVendorService + default + + + + com.google.hardware.pixel.display + + IDisplay + default + + + + com.google.input + + ITouchContextService + default + + + + hardware.google.bluetooth.bt_channel_avoidance + 1.0 + + IBTChannelAvoidance + default + + + + hardware.google.bluetooth.sar + 1.1 + + IBluetoothSar + default + + + + hardware.qorvo.uwb + + IUwb + default + + + + vendor.goodix.hardware.biometrics.fingerprint + 2.1 + + IGoodixFingerprintDaemon + default + + + + vendor.google.google_battery + 1.1 + + IGoogleBattery + default + + + + vendor.google.radioext + 1.3 + + IRadioExt + default + + + + vendor.google.whitechapel.audio.audioext + 2.0 + + IAudioExt + default + + + + vendor.google.wifi_ext + 1.2 + + IWifiExt + default + + + + vendor.google.wireless_charger + 1.3 + + IWirelessCharger + default + + + + vendor.samsung_slsi.telephony.hardware.oemservice + 1.0 + + IOemService + dm0 + dm1 + sced0 + + + + vendor.samsung_slsi.telephony.hardware.radioExternal + 1.1 + + IOemSlsiRadioExternal + rilExternal + + +