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>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</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">
|
<hal format="hidl">
|
||||||
<name>android.hardware.vibrator</name>
|
<name>android.hardware.vibrator</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
|
|
@ -16,6 +16,7 @@ cc_binary {
|
||||||
name: "android.hardware.usb@1.1-service.gts3l",
|
name: "android.hardware.usb@1.1-service.gts3l",
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
init_rc: ["android.hardware.usb@1.1-service.gts3l.rc"],
|
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"],
|
srcs: ["service.cpp", "Usb.cpp"],
|
||||||
cflags: [
|
cflags: [
|
||||||
"-Wall",
|
"-Wall",
|
||||||
|
@ -24,7 +25,6 @@ cc_binary {
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libhidlbase",
|
"libhidlbase",
|
||||||
"libhidltransport",
|
|
||||||
"liblog",
|
"liblog",
|
||||||
"libutils",
|
"libutils",
|
||||||
"libhardware",
|
"libhardware",
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.gts3l
|
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
|
class hal
|
||||||
user root
|
user root
|
||||||
group root system
|
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