hidl: camera: provider: Add a VINTF fragment
authorTim Zimmermann <tim@linux4.de>
Sun, 29 Oct 2023 15:59:07 +0000 (16:59 +0100)
committerTim Zimmermann <tim@linux4.de>
Sat, 20 Jan 2024 12:52:29 +0000 (13:52 +0100)
Change-Id: I4a49f96b5a8f77bdc3574f486547f34517da22bd

hidl/camera/provider/2.5/Android.bp
hidl/camera/provider/2.5/android.hardware.camera.provider@2.5-service.samsung.xml [new file with mode: 0644]

index 519badd48ea8d7d39ef1037f67f77704491d9f25..095457834eedb5447383e044595fc04ec3291acd 100644 (file)
@@ -63,6 +63,7 @@ cc_defaults {
     defaults: ["hidl_defaults"],
     proprietary: true,
     relative_install_path: "hw",
+    vintf_fragments: ["android.hardware.camera.provider@2.5-service.samsung.xml"],
     srcs: ["service.cpp"],
     shared_libs: [
         "android.hardware.camera.common@1.0",
diff --git a/hidl/camera/provider/2.5/android.hardware.camera.provider@2.5-service.samsung.xml b/hidl/camera/provider/2.5/android.hardware.camera.provider@2.5-service.samsung.xml
new file mode 100644 (file)
index 0000000..5ac0c1a
--- /dev/null
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+    <hal format="hidl" override="true">
+        <name>android.hardware.camera.provider</name>
+        <transport>hwbinder</transport>
+        <version>2.5</version>
+        <interface>
+            <name>ICameraProvider</name>
+            <instance>legacy/0</instance>
+        </interface>
+    </hal>
+</manifest>