sky: Build Pixel AIDL power HAL

Change-Id: I95871dd46ff04a42ec4463493439687882258484
This commit is contained in:
chaptsand
2024-07-11 19:58:36 +00:00
committed by redducc
parent 9fc255c2c8
commit 1e90821cec
4 changed files with 16 additions and 1 deletions

View File

@@ -6,6 +6,8 @@
soong_namespace {
imports: [
"hardware/google/interfaces",
"hardware/google/pixel",
"hardware/qcom-caf/bootctrl",
"vendor/qcom/opensource/commonsys-intf/display",
"hardware/xiaomi",

View File

@@ -100,6 +100,14 @@
<fqname>@1.0::IOmx/default</fqname>
<fqname>@1.0::IOmxStore/default</fqname>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.power</name>
<version>3</version>
<interface>
<name>IPower</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>

View File

@@ -409,7 +409,7 @@ PRODUCT_PACKAGES += \
# Power
PRODUCT_PACKAGES += \
android.hardware.power-service-qti
android.hardware.power-service.sky-libperfmgr
PRODUCT_COPY_FILES += \
vendor/qcom/opensource/power/config/parrot/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
@@ -518,6 +518,8 @@ PRODUCT_SHIPPING_API_LEVEL := 31
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH) \
hardware/google/interfaces \
hardware/google/pixel \
hardware/xiaomi
# SQLite

View File

@@ -103,6 +103,9 @@
# Modem
/dev/smd8 u:object_r:vendor_radio_smd_device:s0
# Power
/vendor/bin/hw/android\.hardware\.power-service\.sky-libperfmgr u:object_r:hal_power_default_exec:s0
# QRTR
/(vendor|system/vendor)/bin/qrtr-lookup u:object_r:vendor_qrtr_exec:s0