summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--biometrics/Android.bp1
-rw-r--r--biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.xml7
-rw-r--r--light/Android.bp1
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_sdm660.xml7
-rw-r--r--manifest.xml10
5 files changed, 16 insertions, 10 deletions
diff --git a/biometrics/Android.bp b/biometrics/Android.bp
index 7428c09..bf6e9da 100644
--- a/biometrics/Android.bp
+++ b/biometrics/Android.bp
@@ -18,6 +18,7 @@ cc_binary {
relative_install_path: "hw",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc"],
+ vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.xml"],
srcs: ["service.cpp", "BiometricsFingerprint.cpp"],
shared_libs: [
"libbase",
diff --git a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.xml b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.xml
new file mode 100644
index 0000000..1c3c59b
--- /dev/null
+++ b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.xml
@@ -0,0 +1,7 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.biometrics.fingerprint</name>
+ <transport>hwbinder</transport>
+ <fqname>@2.1::IBiometricsFingerprint/default</fqname>
+ </hal>
+</manifest>
diff --git a/light/Android.bp b/light/Android.bp
index 1e1b93b..b6910e6 100644
--- a/light/Android.bp
+++ b/light/Android.bp
@@ -17,6 +17,7 @@ cc_binary {
defaults: ["hidl_defaults"],
name: "android.hardware.light@2.0-service.xiaomi_sdm660",
init_rc: ["android.hardware.light@2.0-service.xiaomi_sdm660.rc"],
+ vintf_fragments: ["android.hardware.light@2.0-service.xiaomi_sdm660.xml"],
srcs: ["service.cpp", "Light.cpp"],
shared_libs: [
"libbase",
diff --git a/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml b/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml
new file mode 100644
index 0000000..eac7e85
--- /dev/null
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml
@@ -0,0 +1,7 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.light</name>
+ <transport>hwbinder</transport>
+ <fqname>@2.0::ILight/default</fqname>
+ </hal>
+</manifest>
diff --git a/manifest.xml b/manifest.xml
index 6f5b6cd..c5041cb 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -10,11 +10,6 @@
<fqname>@5.0::IEffectsFactory/default</fqname>
</hal>
<hal format="hidl">
- <name>android.hardware.biometrics.fingerprint</name>
- <transport>hwbinder</transport>
- <fqname>@2.1::IBiometricsFingerprint/default</fqname>
- </hal>
- <hal format="hidl">
<name>android.hardware.bluetooth</name>
<transport>hwbinder</transport>
<fqname>@1.0::IBluetoothHci/default</fqname>
@@ -63,11 +58,6 @@
<fqname>@2.1::IMapper/default</fqname>
</hal>
<hal format="hidl">
- <name>android.hardware.light</name>
- <transport>hwbinder</transport>
- <fqname>@2.0::ILight/default</fqname>
- </hal>
- <hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
<fqname>@1.0::IOmx/default</fqname>