diff options
author | Sebastiano Barezzi <barezzisebastiano@gmail.com> | 2021-09-13 15:35:47 +0200 |
---|---|---|
committer | Sebastiano Barezzi <barezzisebastiano@gmail.com> | 2021-09-13 15:59:52 +0200 |
commit | dfe28813cfd8b53d181ee347008bcb219392b5d3 (patch) | |
tree | e18ed87956ddf05e5886b5e7c8ec1e301d19f032 | |
parent | 91aae6c6d10f6b4c2b9a27085b54995f5ca239e0 (diff) |
sdm660-common: Add VINTF fragments to our AIDLs/HIDLs
Change-Id: Ibe89b7a99929cd8e52424be502094997194a476f
-rw-r--r-- | biometrics/Android.bp | 1 | ||||
-rw-r--r-- | biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.xml | 7 | ||||
-rw-r--r-- | light/Android.bp | 1 | ||||
-rw-r--r-- | light/android.hardware.light@2.0-service.xiaomi_sdm660.xml | 7 | ||||
-rw-r--r-- | manifest.xml | 10 |
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> |