mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sky
synced 2026-02-01 09:40:11 +00:00
sky: import hidl from https://github.com/cupid-development/android_device_xiaomi_sm8450-common/tree/lineage-20/hidl
This commit is contained in:
@@ -183,9 +183,14 @@ BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 2
|
||||
|
||||
# VINTF
|
||||
DEVICE_MANIFEST_SKUS := ravelin
|
||||
DEVICE_MANIFEST_RAVELIN_FILES := $(DEVICE_PATH)/configs/vintf/manifest_ravelin.xml
|
||||
DEVICE_MATRIX_FILE := $(DEVICE_PATH)/configs/vintf/compatibility_matrix.xml
|
||||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := $(DEVICE_PATH)/configs/vintf/compatibility_matrix.device.xml
|
||||
DEVICE_MANIFEST_RAVELIN_FILES := \
|
||||
$(DEVICE_PATH)/configs/vintf/manifest_ravelin.xml \
|
||||
$(DEVICE_PATH)/configs/vintf/manifest_xiaomi.xml
|
||||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
|
||||
$(DEVICE_PATH)/configs/vintf/vendor_framework_compatibility_matrix.xml \
|
||||
$(DEVICE_PATH)/configs/vintf/xiaomi_framework_compatibility_matrix.xml \
|
||||
vendor/lineage/config/device_framework_matrix.xml
|
||||
|
||||
# VNDK
|
||||
BOARD_VNDK_VERSION := current
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
51
configs/vintf/manifest_xiaomi.xml
Normal file
51
configs/vintf/manifest_xiaomi.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<!--
|
||||
Copyright (C) 2023 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.ir</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IConsumerIr</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.sla.service</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>ISlaService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.xiaomi.hardware.bgservice</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IBGService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.xiaomi.hardware.campostproc</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IMiPostProcService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.xiaomi.hardware.fx.tunnel</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IMiFxTunnel</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
1197
configs/vintf/vendor_framework_compatibility_matrix.xml
Normal file
1197
configs/vintf/vendor_framework_compatibility_matrix.xml
Normal file
File diff suppressed because it is too large
Load Diff
136
configs/vintf/xiaomi_framework_compatibility_matrix.xml
Normal file
136
configs/vintf/xiaomi_framework_compatibility_matrix.xml
Normal file
@@ -0,0 +1,136 @@
|
||||
<!--
|
||||
Copyright (C) 2023 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<compatibility-matrix version="1.0" type="framework">
|
||||
<hal format="hidl" optional="true">
|
||||
<name>android.hardware.media.c2</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IComponentStore</name>
|
||||
<instance>dolby</instance>
|
||||
<instance>ozoaudio</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.vibrator</name>
|
||||
<version>1-2</version>
|
||||
<interface>
|
||||
<name>IVibrator</name>
|
||||
<instance>vibratorfeature</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.dolby.hardware.dms</name>
|
||||
<version>2.0</version>
|
||||
<interface>
|
||||
<name>IDms</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.qti.sla.service</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>ISlaService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.bgservice</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IBGService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.campostproc</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IMiPostProcService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.displayfeature</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IDisplayFeature</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.fx.tunnel</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IMiFxTunnel</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.mfidoca</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IFidoService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.micharge</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IMiCharge</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.mlipay</name>
|
||||
<version>1.0-1</version>
|
||||
<interface>
|
||||
<name>IMlipayService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.mtdservice</name>
|
||||
<version>1.0-3</version>
|
||||
<interface>
|
||||
<name>IMTService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.quickcamera</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IQuickCameraService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.tidaservice</name>
|
||||
<version>1.0-2</version>
|
||||
<interface>
|
||||
<name>ITidaService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.sensor.citsensorservice</name>
|
||||
<version>1.1</version>
|
||||
<version>2.0</version>
|
||||
<interface>
|
||||
<name>ICitSensorService</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.sensor.communicate</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>ISensorCommunicate</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</compatibility-matrix>
|
||||
Reference in New Issue
Block a user