summaryrefslogtreecommitdiff
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-10 13:27:18 -0700
commitee8c09c78f63bb35322bf1e3aa3814fc5d7036e5 (patch)
treefe615c5aaead2f891b3033bb81fee28cab6ee707 /usb
parent542841648cfa82ee2c429a15f6dedf90524953e7 (diff)
Add vintf_fragments to android.hardware.usb@1.0-service
Bug: 153739768 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I324f226496d7cf1085f0a3687af6054c56c9dbf8
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>