sdm660-common: device: Import android.hardware.media.c2 to FCM

* Also build android.hardware.media.c2@1.2.vendor

hwservicemanager: Since
android.hardware.media.c2@1.0::IComponentStore/default is not
registered, trying to start it as a lazy HAL.
CodecServiceRegistrant: Preferred Codec2 store is defaulted to
"software".
CodecServiceRegistrant: Software Codec2 service created and registered.
libc    : Unable to set property "ctl.interface_start" to
"android.hardware.media.c2@1.0::IComponentStore/default": error code:
0x20
hwservicemanager: Tried to start
android.hardware.media.c2@1.0::IComponentStore/default as a lazy
service, but was unable to. Usually this happens when a service is not
installed, but if the service is intended to be used as a lazy service,
then it may be configured incorrectly.

Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
johnmart19 2023-02-24 14:19:55 +08:00 committed by pix106
parent 66204c0354
commit ff3a6e6b06
2 changed files with 10 additions and 2 deletions

View file

@ -7,6 +7,15 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>android.hardware.media.c2</name>
<version>1.0-2</version>
<interface>
<name>IComponentStore</name>
<instance>software</instance>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>android.frameworks.sensorservice</name>
<version>1.0</version>

View file

@ -149,8 +149,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
com.android.media.swcodec \
libsfplugin_ccodec \
android.hardware.media.c2@1.0.vendor \
android.hardware.media.c2@1.1.vendor \
android.hardware.media.c2@1.2.vendor \
libcodec2_vndk.vendor \
libcodec2_hidl@1.0.vendor