gs101: Regenerate vintf xmls

Change-Id: I1fd9fd3dce2a6113f0cce709a20de3c96d20a221
This commit is contained in:
Michael Bestas
2025-12-05 04:17:01 +02:00
parent 69ab8a7de8
commit a0d4c5f4c8
7 changed files with 296 additions and 154 deletions

View File

@@ -15,9 +15,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.ipsec_tunnel_migration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnel_migration.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
device/google/gs-common/vintf/framework_compatibility_matrix.xml
# sscoredump
PRODUCT_PROPERTY_OVERRIDES += vendor.debug.ssrdump.type=sscoredump
@@ -178,16 +175,6 @@ PRODUCT_VENDOR_PROPERTIES += \
# b/295257834 Add HDR shaders to SurfaceFlinger's pre-warming cache
PRODUCT_VENDOR_PROPERTIES += ro.surface_flinger.prime_shader_cache.ultrahdr=1
# Device Manifest, Device Compatibility Matrix for Treble
DEVICE_MANIFEST_FILE := \
device/google/gs101/manifest.xml
DEVICE_MANIFEST_FILE += \
device/google/gs101/manifest_media.xml
DEVICE_MATRIX_FILE := \
device/google/gs101/compatibility_matrix.xml
DEVICE_PACKAGE_OVERLAYS += device/google/gs101/overlay
DEVICE_PACKAGE_OVERLAYS += device/google/gs101/overlay-lineage
@@ -297,12 +284,6 @@ PRODUCT_PROPERTY_OVERRIDES += aaudio.hw_burst_min_usec=2000
PRODUCT_SOONG_NAMESPACES += \
hardware/google/camera
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
device/google/gs-common/camera/device_framework_matrix_product.xml
DEVICE_MATRIX_FILE += \
device/google/gs-common/camera/compatibility_matrix.xml
# WiFi
PRODUCT_PACKAGES += \
WifiOverlay
@@ -319,8 +300,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PROPERTY_OVERRIDES += \
vendor.battery_mitigation.aidl.enable=true
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/battery_mitigation/compatibility_matrix.xml
# storage pixelstats
-include hardware/google/pixel/pixelstats/device.mk
@@ -499,9 +478,6 @@ PRODUCT_PACKAGES += \
android.hardware.health-service.gs101 \
android.hardware.health-service.gs101_recovery \
# Audio HAL Server & Default Implementations
DEVICE_MANIFEST_FILE += device/google/gs-common/audio/hidl/manifest_gs101.xml
# Audio HAL configurations
PRODUCT_COPY_FILES += \
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration_7_0.xml \
@@ -527,8 +503,6 @@ PRODUCT_PACKAGES += \
audio.bluetooth.default \
audio.r_submix.default
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/hidl/device_framework_matrix_product_gs101.xml
# Audio properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.vc_call_vol_steps=7 \
@@ -593,11 +567,6 @@ include hardware/google/pixel/common/pixel-common-device.mk
# Wifi ext
include hardware/google/pixel/wifi_ext/device.mk
# 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
# Keymaster configuration
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
@@ -613,10 +582,6 @@ PRODUCT_VENDOR_PROPERTIES += ro.crypto.metadata_init_delete_all_keys.enabled=tru
# Hardware Info Collection
include hardware/google/pixel/HardwareInfo/HardwareInfo.mk
# Touch service
DEVICE_MANIFEST_FILE += device/google/gs-common/touch/twoshay/aidl/manifest_gs101.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/touch/twoshay/aidl/compatibility_matrix_gs101.xml
# Allow longer timeout for incident report generation in bugreport
# Overriding in /product partition instead of /vendor intentionally,
# since it can't be overridden from /vendor.
@@ -656,3 +621,13 @@ PRODUCT_PACKAGES += \
# Touch
include hardware/google/pixel/touch/device.mk
# VINTF
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \
device/google/gs101/vintf/vendor_framework_compatibility_matrix.xml
DEVICE_MANIFEST_FILE += \
device/google/gs101/vintf/manifest.xml
DEVICE_MATRIX_FILE += \
device/google/gs101/vintf/compatibility_matrix.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
device/google/gs101/vintf/device_framework_matrix_product.xml

View File

@@ -1,53 +0,0 @@
<manifest version="1.0" type="device" target-level="6">
<hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOmx</name>
<instance>default</instance>
</interface>
<interface>
<name>IOmxStore</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport>
<version>2.4</version>
<interface>
<name>IComposer</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>android.hardware.boot</name>
<fqname>IBootControl/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>
<fqname>@1.2::ISap/slot1</fqname>
<fqname>@1.2::ISap/slot2</fqname>
<fqname>@1.6::IRadio/slot1</fqname>
<fqname>@1.6::IRadio/slot2</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.radio.config</name>
<transport>hwbinder</transport>
<fqname>@1.1::IRadioConfig/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.secure_element</name>
<transport>hwbinder</transport>
<fqname>@1.2::ISecureElement/SIM1</fqname>
<fqname>@1.2::ISecureElement/SIM2</fqname>
</hal>
<hal format="hidl">
<name>vendor.samsung_slsi.telephony.hardware.radioExternal</name>
<transport>hwbinder</transport>
<fqname>@1.1::IOemSlsiRadioExternal/rilExternal</fqname>
</hal>
<kernel target-level="6"/>
</manifest>

View File

@@ -1,12 +0,0 @@
<manifest version="1.0" type="device">
<hal format="aidl">
<name>android.hardware.media.c2</name>
<version>1</version>
<fqname>IComponentStore/default1</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.media.c2</name>
<version>1</version>
<fqname>IComponentStore/default</fqname>
</hal>
</manifest>

View File

@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Autogenerated skeleton compatibility matrix.
Use with caution. Modify it to suit your needs.
All HALs are set to optional.
Many entries other than HALs are zero-filled and
require human attention.
SPDX-FileCopyrightText: 2021 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<compatibility-matrix version="1.0" type="device">
<hal format="hidl" optional="true">
<compatibility-matrix version="9.0" type="device">
<hal format="hidl">
<name>android.frameworks.displayservice</name>
<version>1.0</version>
<interface>
@@ -14,7 +13,7 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>android.frameworks.schedulerservice</name>
<version>1.0</version>
<interface>
@@ -22,7 +21,7 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>android.frameworks.sensorservice</name>
<version>1.0</version>
<interface>
@@ -30,7 +29,7 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>android.hardware.graphics.composer</name>
<version>2.1</version>
<interface>
@@ -38,7 +37,7 @@
<instance>vr</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>android.hidl.allocator</name>
<version>1.0</version>
<interface>
@@ -46,7 +45,7 @@
<instance>ashmem</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>android.hidl.manager</name>
<version>1.0</version>
<interface>
@@ -54,7 +53,7 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>android.hidl.memory</name>
<version>1.0</version>
<interface>
@@ -62,7 +61,7 @@
<instance>ashmem</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>android.hidl.token</name>
<version>1.0</version>
<interface>
@@ -70,7 +69,7 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>android.system.wifi.keystore</name>
<version>1.0</version>
<interface>
@@ -78,7 +77,11 @@
<instance>default</instance>
</interface>
</hal>
<vndk>
<version>0.0.0</version>
</vndk>
<hal format="aidl">
<name>com.google.pixel.camera.services.binder</name>
<interface>
<name>IServiceBinder</name>
<instance>default</instance>
</interface>
</hal>
</compatibility-matrix>

View File

@@ -1,5 +1,11 @@
<compatibility-matrix version="1.0" type="framework" level="6">
<hal format="hidl" optional="true">
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2021 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<compatibility-matrix version="9.0" type="framework" level="6">
<hal format="hidl">
<name>android.vendor.samsung_slsi.telephony.hardware.radio</name>
<version>1.1</version>
<interface>
@@ -8,7 +14,7 @@
<instance>slot2</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>com.fingerprints42.extension</name>
<version>1.0</version>
<interface>
@@ -40,9 +46,24 @@
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>com.google.face.debug</name>
<version>3-4</version>
<hal format="aidl">
<name>com.google.edgetpu</name>
<version>2</version>
<interface>
<name>IEdgeTpuVendorService</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>com.google.edgetpu.dba</name>
<interface>
<name>IDevice</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>com.google.face.debug</name>
<version>3-4</version>
<interface>
<name>IDebugHost</name>
<instance>default</instance>
@@ -52,39 +73,56 @@
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>com.google.edgetpu</name>
<hal format="aidl">
<name>com.google.flood</name>
<version>2</version>
<interface>
<name>IEdgeTpuVendorService</name>
<name>IFloodService</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>com.google.edgetpu.dba</name>
<version>1</version>
<interface>
<name>IDevice</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>com.google.edgetpu.tachyon</name>
<version>1</version>
<interface>
<name>IComputeService</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>com.google.hardware.pixel.display</name>
<version>13-16</version>
<hal format="aidl">
<name>com.google.hardware.pixel.display</name>
<version>16</version>
<interface>
<name>IDisplay</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<hal format="aidl">
<name>com.google.input</name>
<version>2-6</version>
<interface>
<name>ITouchContextService</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>com.google.input</name>
<version>6</version>
<interface>
<name>ITwoshayFileDumpService</name>
<instance>touchflow_default</instance>
<instance>touchflow_outer</instance>
<instance>twoshay</instance>
</interface>
</hal>
<hal format="aidl">
<name>com.google.pixel.camera.connectivity.hal.provider</name>
<interface>
<name>ICameraProvider</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>com.google.pixel.shared_modem_platform</name>
<version>3</version>
<interface>
<name>ISharedModemPlatform</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>hardware.qorvo.uwb</name>
<version>2</version>
<interface>
@@ -92,7 +130,7 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>vendor.goodix.hardware.biometrics.fingerprint</name>
<version>2.1</version>
<interface>
@@ -100,15 +138,62 @@
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<hal format="hidl">
<name>vendor.google.audiometricext</name>
<version>1.0</version>
<interface>
<name>IAudioMetricExt</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>vendor.google.battery_mitigation</name>
<interface>
<name>IBatteryMitigation</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>vendor.google.bluetooth_ext</name>
<version>1-3</version>
<interface>
<name>IBTChannelAvoidance</name>
<instance>default</instance>
</interface>
<interface>
<name>IBluetoothCcc</name>
<instance>default</instance>
</interface>
<interface>
<name>IBluetoothCco</name>
<instance>default</instance>
</interface>
<interface>
<name>IBluetoothEwp</name>
<instance>default</instance>
</interface>
<interface>
<name>IBluetoothExt</name>
<instance>default</instance>
</interface>
<interface>
<name>IBluetoothFinder</name>
<instance>default</instance>
</interface>
<interface>
<name>IBluetoothSar</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>vendor.google.google_battery</name>
<version>2-4</version>
<version>4</version>
<interface>
<name>IGoogleBattery</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>vendor.google.radioext</name>
<version>1.3</version>
<interface>
@@ -116,7 +201,15 @@
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<hal format="hidl">
<name>vendor.google.whitechapel.audio.audioext</name>
<version>4.0</version>
<interface>
<name>IAudioExt</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>vendor.google.wifi_ext</name>
<version>2-4</version>
<interface>
@@ -124,7 +217,7 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>vendor.samsung_slsi.telephony.hardware.oemservice</name>
<version>1.0</version>
<interface>
@@ -134,7 +227,7 @@
<instance>sced0</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="hidl">
<name>vendor.samsung_slsi.telephony.hardware.radioExternal</name>
<version>1.1</version>
<interface>

114
vintf/manifest.xml Normal file
View File

@@ -0,0 +1,114 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2021 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest version="9.0" type="device" target-level="6">
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<fqname>@7.1::IDevicesFactory/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.audio.effect</name>
<transport>hwbinder</transport>
<fqname>@7.0::IEffectsFactory/default</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.bluetooth</name>
<fqname>IBluetoothHci/default</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.bluetooth.finder</name>
<fqname>IBluetoothFinder/default</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.bluetooth.ranging</name>
<fqname>IBluetoothChannelSounding/default</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.boot</name>
<fqname>IBootControl/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport>
<fqname>@2.4::IComposer/default</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.media.c2</name>
<fqname>IComponentStore/default1</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.media.c2</name>
<fqname>IComponentStore/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
<fqname>@1.0::IOmx/default</fqname>
<fqname>@1.0::IOmxStore/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>
<fqname>@1.2::ISap/slot1</fqname>
<fqname>@1.2::ISap/slot2</fqname>
<fqname>@1.6::IRadio/slot1</fqname>
<fqname>@1.6::IRadio/slot2</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.radio.config</name>
<transport>hwbinder</transport>
<fqname>@1.1::IRadioConfig/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.secure_element</name>
<transport>hwbinder</transport>
<fqname>@1.2::ISecureElement/SIM1</fqname>
<fqname>@1.2::ISecureElement/SIM2</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.soundtrigger</name>
<transport>hwbinder</transport>
<fqname>@2.3::ISoundTriggerHw/default</fqname>
</hal>
<hal format="aidl">
<name>com.google.input</name>
<version>6</version>
<fqname>ITouchContextService/default</fqname>
</hal>
<hal format="aidl">
<name>com.google.input</name>
<version>6</version>
<fqname>ITwoshayFileDumpService/touchflow_default</fqname>
<fqname>ITwoshayFileDumpService/twoshay</fqname>
</hal>
<hal format="hidl">
<name>vendor.google.audiometricext</name>
<transport>hwbinder</transport>
<fqname>@1.0::IAudioMetricExt/default</fqname>
</hal>
<hal format="aidl">
<name>vendor.google.bluetooth_ext</name>
<version>2</version>
<fqname>IBTChannelAvoidance/default</fqname>
<fqname>IBluetoothCcc/default</fqname>
<fqname>IBluetoothCco/default</fqname>
<fqname>IBluetoothEwp/default</fqname>
<fqname>IBluetoothExt/default</fqname>
<fqname>IBluetoothFinder/default</fqname>
<fqname>IBluetoothSar/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.google.whitechapel.audio.audioext</name>
<transport>hwbinder</transport>
<fqname>@4.0::IAudioExt/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.samsung_slsi.telephony.hardware.radioExternal</name>
<transport>hwbinder</transport>
<fqname>@1.1::IOemSlsiRadioExternal/rilExternal</fqname>
</hal>
</manifest>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<compatibility-matrix version="9.0" type="framework">
<hal format="aidl">
<name>aocx</name>
<version>1-2</version>
<interface>
<name>IAocx</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>com.google.android.imageprocessing.hal</name>
<interface>
<name>IImageProcessingHal</name>
<instance>default</instance>
</interface>
</hal>
</compatibility-matrix>