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:
parent
9baf6e066b
commit
8e7f2eebf9
4 changed files with 14 additions and 10 deletions
|
@ -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>
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
11
usb/android.hardware.usb@1.1-service.gts3l.xml
Normal file
11
usb/android.hardware.usb@1.1-service.gts3l.xml
Normal 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>
|
Loading…
Reference in a new issue