Skip to content
Snippets Groups Projects
Commit 7e153427 authored by Garfield Tan's avatar Garfield Tan
Browse files

Move v4l2_codec HAL from the manifest to a vintf fragment

The code owner then owns the manifest the vintf fragment.

Remove IConfigurable because it isn't declared in the compatibility
matrix. It isn't registered to hwservice_manager either in the
implementation.

Bug: 291157411
Test: ARC++ boots.
Change-Id: I1616bf2ae90327e87bf13cc379e85927333eb0ed
Merged-In: I1616bf2ae90327e87bf13cc379e85927333eb0ed
parent 30841dc6
No related branches found
No related tags found
No related merge requests found
......@@ -74,26 +74,6 @@ PRODUCT_COPY_FILES += \
<path_to_policy>:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy
```
Enable codec2 hidl in manifest.xml
```xml
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
</interface>
<interface>
<name>IConfigurable</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
```
Add decode and encode components in media\_codecs\_c2.xml
```xml
......
......@@ -44,4 +44,5 @@ cc_binary {
init_rc: ["android.hardware.media.c2@1.0-service-v4l2-64.rc"],
},
},
vintf_fragments: ["android.hardware.media.c2@1.2-service-v4l2.xml"],
}
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.2</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment