mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Adds aidl api definitions for notifying if the plugged Type-C port partner (power source/accessory/cable) is non-compliant with type-c power delivery specification. PortStatus is extended to have a boolean that states whether or not this feature is supported as well as an array for a new enum ComplianceWarning. Test: atest VtsAidlUsbTargetTest new test nonCompliantChargerStatus expects expects array to be empty when the feature is not supported. new test nonCompliantChargerValues expects any values in array to be in range of ComplianceWarning enums if feature is supported. Bug: 236322506 Change-Id: Ie3c2365e7c713327b44421c4d132b321d0e03d5f
11 lines
269 B
XML
11 lines
269 B
XML
<manifest version="1.0" type="device">
|
|
<hal format="aidl">
|
|
<name>android.hardware.usb</name>
|
|
<version>2</version>
|
|
<interface>
|
|
<name>IUsb</name>
|
|
<instance>default</instance>
|
|
</interface>
|
|
</hal>
|
|
</manifest>
|