Merge "Gralloc: AIDL HAL may replace HIDL HAL." into tm-dev

This commit is contained in:
Yifan Hong
2022-05-13 19:46:55 +00:00
committed by Android (Google) Code Review
5 changed files with 21 additions and 5 deletions

View File

@@ -183,7 +183,10 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl" optional="false"> <!-- Either the AIDL or the HIDL allocator HAL must exist on the device.
If the HIDL composer HAL exists, it must be at least version 2.0.
See DeviceManifestTest.GrallocHal -->
<hal format="hidl" optional="true">
<name>android.hardware.graphics.allocator</name> <name>android.hardware.graphics.allocator</name>
<version>2.0</version> <version>2.0</version>
<interface> <interface>

View File

@@ -187,7 +187,10 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl" optional="false"> <!-- Either the AIDL or the HIDL allocator HAL must exist on the device.
If the HIDL composer HAL exists, it must be at least version 2.0.
See DeviceManifestTest.GrallocHal -->
<hal format="hidl" optional="true">
<name>android.hardware.graphics.allocator</name> <name>android.hardware.graphics.allocator</name>
<version>2.0</version> <version>2.0</version>
<version>3.0</version> <version>3.0</version>

View File

@@ -208,7 +208,10 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl" optional="false"> <!-- Either the AIDL or the HIDL allocator HAL must exist on the device.
If the HIDL composer HAL exists, it must be at least version 2.0.
See DeviceManifestTest.GrallocHal -->
<hal format="hidl" optional="true">
<name>android.hardware.graphics.allocator</name> <name>android.hardware.graphics.allocator</name>
<!-- New, non-Go devices should use 4.0, tested in vts_treble_vintf_vendor_test --> <!-- New, non-Go devices should use 4.0, tested in vts_treble_vintf_vendor_test -->
<version>2.0</version> <version>2.0</version>

View File

@@ -238,7 +238,10 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl" optional="false"> <!-- Either the AIDL or the HIDL allocator HAL must exist on the device.
If the HIDL composer HAL exists, it must be at least version 2.0.
See DeviceManifestTest.GrallocHal -->
<hal format="hidl" optional="true">
<name>android.hardware.graphics.allocator</name> <name>android.hardware.graphics.allocator</name>
<!-- New, non-Go devices should use 4.0, tested in vts_treble_vintf_vendor_test --> <!-- New, non-Go devices should use 4.0, tested in vts_treble_vintf_vendor_test -->
<version>2.0</version> <version>2.0</version>

View File

@@ -278,9 +278,13 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<!-- Either the AIDL or the HIDL allocator HAL must exist on the device.
If the HIDL composer HAL exists, it must be at least version 2.0.
See DeviceManifestTest.GrallocHal -->
<hal format="hidl" optional="true"> <hal format="hidl" optional="true">
<name>android.hardware.graphics.allocator</name> <name>android.hardware.graphics.allocator</name>
<!-- New, non-Go devices should use 4.0 or the AIDL hal. --> <!-- New, non-Go devices should use 4.0 or the AIDL hal.
See DeviceManifestTest.GrallocVersionCompatibility. -->
<version>2.0</version> <version>2.0</version>
<version>3.0</version> <version>3.0</version>
<version>4.0</version> <version>4.0</version>