summaryrefslogtreecommitdiffstats
path: root/usb
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2020-04-10 13:22:10 -0700
committerRoman Kiryanov <rkir@google.com>2020-04-13 20:41:36 -0700
commit2d7820a6ef2df58f2417f2ea7bfefe01c763e807 (patch)
tree18a1b1787657d4675f94defdd1a55a2df79de6f7 /usb
parente6ca1baa877a6e2626791bef9cdbd77729387b3e (diff)
downloadplatform_hardware_interfaces-2d7820a6ef2df58f2417f2ea7bfefe01c763e807.tar.gz
platform_hardware_interfaces-2d7820a6ef2df58f2417f2ea7bfefe01c763e807.tar.bz2
platform_hardware_interfaces-2d7820a6ef2df58f2417f2ea7bfefe01c763e807.zip
Add vintf_fragments to android.hardware.usb@1.0-service
Bug: 153739768 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Merged-In: I324f226496d7cf1085f0a3687af6054c56c9dbf8 Change-Id: I032144a0774eb1580f9f027496f5bdfcd6abf603
Diffstat (limited to 'usb')
-rw-r--r--usb/1.0/default/Android.bp1
-rw-r--r--usb/1.0/default/android.hardware.usb@1.0-service.xml11
2 files changed, 12 insertions, 0 deletions
diff --git a/usb/1.0/default/Android.bp b/usb/1.0/default/Android.bp
index 96d24c1e93..98d9064474 100644
--- a/usb/1.0/default/Android.bp
+++ b/usb/1.0/default/Android.bp
@@ -16,6 +16,7 @@ cc_binary {
name: "android.hardware.usb@1.0-service",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.usb@1.0-service.rc"],
+ vintf_fragments: ["android.hardware.usb@1.0-service.xml"],
relative_install_path: "hw",
vendor: true,
srcs: [
diff --git a/usb/1.0/default/android.hardware.usb@1.0-service.xml b/usb/1.0/default/android.hardware.usb@1.0-service.xml
new file mode 100644
index 0000000000..971c8722c0
--- /dev/null
+++ b/usb/1.0/default/android.hardware.usb@1.0-service.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.usb</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IUsb</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>