summaryrefslogtreecommitdiffstats
path: root/sensors/2.0
diff options
context:
space:
mode:
authorBrian Stack <bstack@google.com>2019-01-07 16:28:30 -0800
committerBrian Stack <bstack@google.com>2019-01-23 22:35:38 +0000
commit8972040239b21a92b13eb62dc2b79b56ef744fb2 (patch)
tree7cdd559e399428738a4ba81afe06c2f1df7faaac /sensors/2.0
parentf96dc6ed8f09cbb08bee1de4ce2d12e38c80f2bd (diff)
downloadandroid_hardware_interfaces-8972040239b21a92b13eb62dc2b79b56ef744fb2.tar.gz
android_hardware_interfaces-8972040239b21a92b13eb62dc2b79b56ef744fb2.tar.bz2
android_hardware_interfaces-8972040239b21a92b13eb62dc2b79b56ef744fb2.zip
Add VINTF Fragment to Sensors HAL 2.0
Bug: 122267378 Test: Built Cuttlefish, Sensors HAL 2.0 requested on boot Change-Id: Ibe1eaa277852db1b8346caee172632f0951daefc
Diffstat (limited to 'sensors/2.0')
-rw-r--r--sensors/2.0/default/Android.bp1
-rw-r--r--sensors/2.0/default/android.hardware.sensors@2.0.xml11
2 files changed, 12 insertions, 0 deletions
diff --git a/sensors/2.0/default/Android.bp b/sensors/2.0/default/Android.bp
index db0b14881..d83a9c36f 100644
--- a/sensors/2.0/default/Android.bp
+++ b/sensors/2.0/default/Android.bp
@@ -35,4 +35,5 @@ cc_binary {
"libpower",
"libutils",
],
+ vintf_fragments: ["android.hardware.sensors@2.0.xml"],
}
diff --git a/sensors/2.0/default/android.hardware.sensors@2.0.xml b/sensors/2.0/default/android.hardware.sensors@2.0.xml
new file mode 100644
index 000000000..1acc8e611
--- /dev/null
+++ b/sensors/2.0/default/android.hardware.sensors@2.0.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.sensors</name>
+ <transport>hwbinder</transport>
+ <version>2.0</version>
+ <interface>
+ <name>ISensors</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>