update drm hidl 1.0 -> 1.2

This commit is contained in:
Ziyang Zhou
2021-11-13 15:00:50 +08:00
parent 85e3b9d5c5
commit 6f2a2d2117
3 changed files with 27 additions and 18 deletions

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.drm</name>
<transport>hwbinder</transport>
<fqname>@1.2::ICryptoFactory/clearkey</fqname>
<fqname>@1.2::IDrmFactory/clearkey</fqname>
</hal>
</manifest>

View File

@@ -26,21 +26,6 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>android.hardware.drm</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>ICryptoFactory</name>
<instance>default</instance>
</interface>
<interface>
<name>IDrmFactory</name>
<instance>default</instance>
</interface>
<fqname>@1.2::ICryptoFactory/clearkey</fqname>
<fqname>@1.2::IDrmFactory/clearkey</fqname>
</hal>
<hal format="hidl"> <hal format="hidl">
<name>android.hardware.gatekeeper</name> <name>android.hardware.gatekeeper</name>
<transport>hwbinder</transport> <transport>hwbinder</transport>

View File

@@ -92,9 +92,7 @@ PRODUCT_PACKAGES += \
android.hardware.audio@4.0-impl \ android.hardware.audio@4.0-impl \
android.hardware.audio.effect@4.0-impl \ android.hardware.audio.effect@4.0-impl \
android.hardware.configstore@1.1-service \ android.hardware.configstore@1.1-service \
android.hardware.drm@1.0-service \ android.hardware.drm@1.2-service-lazy.clearkey \
android.hardware.drm@1.0-impl \
android.hardware.drm@1.2-service.clearkey \
android.hardware.gatekeeper@1.0-service \ android.hardware.gatekeeper@1.0-service \
android.hardware.gatekeeper@1.0-impl \ android.hardware.gatekeeper@1.0-impl \
android.hardware.graphics.allocator@2.0-service \ android.hardware.graphics.allocator@2.0-service \
@@ -106,6 +104,9 @@ PRODUCT_PACKAGES += \
android.hardware.keymaster@3.0-service \ android.hardware.keymaster@3.0-service \
android.hardware.keymaster@3.0-impl \ android.hardware.keymaster@3.0-impl \
DEVICE_MANIFEST_FILE += device/redroid/android.hardware.drm@1.2-service.clearkey.xml
USE_XML_AUDIO_POLICY_CONF := 1 USE_XML_AUDIO_POLICY_CONF := 1
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \