gts3l: usb: Import USB HAL and it contains vinf itself

The USB HAL is from LineageOS/samsung_gts4lv-common, lineage-18.1

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4800a5ccffcab78a1ac2e5605c6df37ad785b763
This commit is contained in:
Deokgyu Yang 2021-05-24 22:14:09 +09:00
parent 9baf6e066b
commit 8e7f2eebf9
4 changed files with 14 additions and 10 deletions

View file

@ -258,15 +258,6 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.usb</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IUsb</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.vibrator</name>
<transport>hwbinder</transport>

View file

@ -16,6 +16,7 @@ cc_binary {
name: "android.hardware.usb@1.1-service.gts3l",
relative_install_path: "hw",
init_rc: ["android.hardware.usb@1.1-service.gts3l.rc"],
vintf_fragments: ["android.hardware.usb@1.1-service.gts3l.xml"],
srcs: ["service.cpp", "Usb.cpp"],
cflags: [
"-Wall",
@ -24,7 +25,6 @@ cc_binary {
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
"libhardware",

View file

@ -1,4 +1,6 @@
service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.gts3l
interface android.hardware.usb@1.1::IUsb default
interface android.hardware.usb@1.0::IUsb default
class hal
user root
group root system

View file

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.usb</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IUsb</name>
<instance>default</instance>
</interface>
</hal>
</manifest>