wade: Build and pull IR blobs
authorNolen Johnson <johnsonnolen@gmail.com>
Sun, 9 Jun 2024 17:58:57 +0000 (13:58 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 9 Jun 2024 19:46:18 +0000 (15:46 -0400)
Change-Id: Ifa951c7275885e5da15ca492423dc86d19f1c3c6

BoardConfig.mk
device.mk
manifest.xml [new file with mode: 0644]
proprietary-files.txt

index e4b956d91e49dd64893eb7ee5c763be7a1dd674d..211d69e56896fa42268e404ea7b4cc82028513d6 100644 (file)
@@ -19,6 +19,9 @@ TARGET_BOOTLOADER_BOARD_NAME := wade
 TARGET_DTB_NAME := g12a_s905x2_u212_sti6130d3x0
 TARGET_DTBO_NAME := sti6140d350_overlay
 
+## HIDL
+DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
+
 ## Partitions
 BOARD_SUPER_PARTITION_SIZE := 1677721600
 
index 0f463ff2940de5beaca81c49a92a1d832f9f29ea..c2859bd689aa31a3cd149b29b98b4697346dc572 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -18,6 +18,14 @@ endif
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc
 
+## IR
+PRODUCT_PACKAGES += \
+    android.hardware.ir@1.0-service \
+    android.hardware.ir@1.0-impl
+
+PRODUCT_COPY_FILES += \
+    frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
+
 ## Kernel Modules
 PRODUCT_PACKAGES += \
     dhd
diff --git a/manifest.xml b/manifest.xml
new file mode 100644 (file)
index 0000000..d121684
--- /dev/null
@@ -0,0 +1,12 @@
+<manifest version="4.0" type="device" target-level="4">
+    <kernel target-level="4"/>
+    <hal format="hidl">
+        <name>android.hardware.ir</name>
+        <transport>hwbinder</transport>
+        <version>1.0</version>
+        <interface>
+            <name>IConsumerIr</name>
+            <instance>default</instance>
+        </interface>
+    </hal>
+</manifest>
index ac05904c23dc2cc57749b4802c93858602a95bea..99bc3f7b220409bea2c3987de78840c0f96df570 100644 (file)
@@ -30,6 +30,11 @@ vendor/lib/libsubtitlebinder.so
 vendor/lib/libsubtitlemanager_jni.so
 vendor/lib/vendor.amlogic.hardware.subtitleserver@1.0.so
 
+## IR
+vendor/etc/init/init.hbg.remote.rc|c03db2bffcec0495cd952498cc71128811195246
+vendor/etc/remote.txt|9ad9e7e511b8bfa59af837c90aebb02a880096b2
+vendor/lib/hw/consumerir.amlogic.so|e0b675d2ca48fedf452fd028d92bd98972eba738
+
 ## NRDP
 vendor/etc/nrdp_audio_platform_capabilities.json
 vendor/etc/nrdp_audio_platform_capabilities_ms12.json