raviole: Import device specific sepolicy from gs101

Change-Id: I5fd3c1df500374290ad0b9b428b4f674d00745ba
This commit is contained in:
Michael Bestas
2025-12-01 23:48:38 +02:00
parent 80acaef04f
commit 96c57b90cc
11 changed files with 27 additions and 8 deletions

View File

@@ -22,9 +22,6 @@ include device/google/gs-common/touch/stm/stm11.mk
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.oriole.rc device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.oriole.rc
# Bluetooth sepolicy
include device/google/gs101/sepolicy/oriole-sepolicy.mk
# Bluetooth # Bluetooth
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true \ persist.bluetooth.a2dp_aac.vbr_supported=true \

View File

@@ -32,9 +32,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
UwbOverlayR4 UwbOverlayR4
# Bluetooth sepolicy
include device/google/gs101/sepolicy/raven-sepolicy.mk
# Bluetooth # Bluetooth
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true \ persist.bluetooth.a2dp_aac.vbr_supported=true \

View File

@@ -22,7 +22,7 @@ TARGET_SCREEN_DENSITY := 420
BOARD_KERNEL_CMDLINE += disable_dma32=on BOARD_KERNEL_CMDLINE += disable_dma32=on
include device/google/gs101/BoardConfig-common.mk include device/google/gs101/BoardConfig-common.mk
include device/google/gs101/sepolicy/oriole-sepolicy.mk include device/google/raviole/sepolicy/oriole-sepolicy.mk
include device/google/gs101/wifi/BoardConfig-wifi.mk include device/google/gs101/wifi/BoardConfig-wifi.mk
# Kernel modules # Kernel modules

View File

@@ -22,7 +22,7 @@ TARGET_SCREEN_DENSITY := 560
BOARD_KERNEL_CMDLINE += disable_dma32=on BOARD_KERNEL_CMDLINE += disable_dma32=on
include device/google/gs101/BoardConfig-common.mk include device/google/gs101/BoardConfig-common.mk
include device/google/gs101/sepolicy/raven-sepolicy.mk include device/google/raviole/sepolicy/raven-sepolicy.mk
include device/google/gs101/wifi/BoardConfig-wifi.mk include device/google/gs101/wifi/BoardConfig-wifi.mk
# Kernel modules # Kernel modules

View File

@@ -0,0 +1,5 @@
# Oriole only sepolicy
BOARD_SEPOLICY_DIRS += device/google/gs101/sepolicy/oriole
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/vibrator/common
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/vibrator/cs40l25

View File

@@ -0,0 +1,6 @@
# EuiccSupportPixel app
userdebug_or_eng(`
allow euiccpixel_app sysfs_touch:dir search;
')

View File

@@ -0,0 +1 @@
allow grilservice_app hal_bluetooth_coexistence_service:service_manager find;

View File

@@ -0,0 +1,5 @@
# Ravne only sepolicy
BOARD_SEPOLICY_DIRS += device/google/gs101/sepolicy/raven
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/vibrator/common
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/vibrator/cs40l25

View File

@@ -0,0 +1 @@
allow vendor_cccdktimesync_app hal_bluetooth_coexistence_service:service_manager find;

View File

@@ -0,0 +1,6 @@
# EuiccSupportPixel app
userdebug_or_eng(`
allow euiccpixel_app sysfs_touch:dir search;
')

View File

@@ -0,0 +1 @@
allow grilservice_app hal_bluetooth_coexistence_service:service_manager find;