mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Audio policy config: allow vendor to extend module name am: 7558e8c6e4 am: ec55b2f024
am: 540748bc80
Change-Id: I7f0627e930fc7a8fe13ac13f708d0972c5747b23
This commit is contained in:
@@ -73,14 +73,28 @@
|
||||
<!-- Enum values of IDevicesFactory::Device
|
||||
TODO: generate from hidl to avoid manual sync. -->
|
||||
<xs:simpleType name="halName">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="primary"/>
|
||||
<xs:enumeration value="a2dp"/>
|
||||
<xs:enumeration value="usb"/>
|
||||
<xs:enumeration value="r_submix"/>
|
||||
<xs:enumeration value="codec_offload"/>
|
||||
<xs:enumeration value="stub"/>
|
||||
</xs:restriction>
|
||||
<xs:union>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="primary"/>
|
||||
<xs:enumeration value="a2dp"/>
|
||||
<xs:enumeration value="usb"/>
|
||||
<xs:enumeration value="r_submix"/>
|
||||
<xs:enumeration value="codec_offload"/>
|
||||
<xs:enumeration value="stub"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType>
|
||||
<!-- Vendor eXtension names must be in the vx namespace.
|
||||
Vendor are encouraged to namespace their module names.
|
||||
Example for an hypothetical Google virtual reality HAL:
|
||||
<module name="vx_google_vr" halVersion="3.0">
|
||||
-->
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="vx_[_a-zA-Z0-9]+"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="modules">
|
||||
<xs:annotation>
|
||||
|
||||
Reference in New Issue
Block a user