vendor: Add framework compatibility matrix for Lineage HALs.
* Cover all possible Lineage HALs here instead of covering
them in the device specific manifests.
Change-Id: Id7f7d6eb1f14190a061537cebfabd339af9b1620
diff --git a/config/device_framework_matrix.xml b/config/device_framework_matrix.xml
new file mode 100644
index 0000000..3a13f6e
--- /dev/null
+++ b/config/device_framework_matrix.xml
@@ -0,0 +1,133 @@
+<?xml version="2.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2021 The LineageOS Project
+ SPDX-License-Identifier: Apache-2.0
+-->
+<compatibility-matrix version="2.0" type="framework">
+ <!-- Camera -->
+ <hal format="hidl" optional="true">
+ <name>vendor.lineage.camera.motor</name>
+ <version>1.0</version>
+ <interface>
+ <name>ICameraMotor</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <!-- Charging -->
+ <hal format="hidl" optional="true">
+ <name>vendor.lineage.fastcharge</name>
+ <version>1.0</version>
+ <interface>
+ <name>IFastCharge</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl" optional="true">
+ <name>vendor.lineage.powershare</name>
+ <version>1.0</version>
+ <interface>
+ <name>IPowerShare</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <!-- Display -->
+ <hal format="hidl" optional="true">
+ <name>vendor.lineage.livedisplay</name>
+ <version>2.0</version>
+ <version>2.1</version>
+ <interface>
+ <name>IAdaptiveBacklight</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IAntiFlicker</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IAutoContrast</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IColorBalance</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IDisplayColorCalibration</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IDisplayModes</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IPictureAdjustment</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IReadingEnhancement</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>ISunlightEnhancement</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <!-- Fingerprint -->
+ <hal format="hidl" optional="true">
+ <name>vendor.lineage.biometrics.fingerprint.inscreen</name>
+ <version>1.0</version>
+ <interface>
+ <name>IFingerprintInscreen</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <!-- Power -->
+ <hal format="aidl" optional="true">
+ <name>vendor.lineage.power</name>
+ <interface>
+ <name>IPower</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl" optional="true">
+ <name>vendor.lineage.power</name>
+ <interface>
+ <name>ILineagePower</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <!-- Touch -->
+ <hal format="hidl" optional="true">
+ <name>vendor.lineage.touch</name>
+ <version>1.0</version>
+ <interface>
+ <name>IGloveMode</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IKeyDisabler</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IKeySwapper</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>ITouchscreenGesture</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IStylusMode</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <!-- Trust -->
+ <hal format="hidl" optional="true">
+ <name>vendor.lineage.trust</name>
+ <version>1.0</version>
+ <interface>
+ <name>IUsbRestrict</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</compatibility-matrix>