From 77518a261471f7884e5b7c8ca73442df5c11e48e Mon Sep 17 00:00:00 2001 From: Sergey Volk Date: Wed, 26 Jun 2024 18:00:52 +0000 Subject: [PATCH 1/2] Add sepolicy for DisplayPort wakeup node Bug: 348125717 Test: ls -Z /sys/devices/platform/110f0000.drmdp/wakeup Flag: NONE (follow up fix for merged non-flagged CL pa/2839256) Change-Id: I9181b2344f2448b9debe1522528545ce90de8768 --- vendor/genfs_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/genfs_contexts b/vendor/genfs_contexts index ddc44e42..7938c59f 100644 --- a/vendor/genfs_contexts +++ b/vendor/genfs_contexts @@ -275,6 +275,7 @@ genfscon sysfs /devices/virtual/wakeup/wakeup genfscon sysfs /devices/platform/odm/odm:btbcm/wakeup u:object_r:sysfs_wakeup:s0 genfscon sysfs /devices/platform/19440000.drmdsim/19440000.drmdsim.0/wakeup/ u:object_r:sysfs_wakeup:s0 genfscon sysfs /devices/platform/19450000.drmdsim/19450000.drmdsim.0/wakeup/ u:object_r:sysfs_wakeup:s0 +genfscon sysfs /devices/platform/110f0000.drmdp/wakeup u:object_r:sysfs_wakeup:s0 # Trusty genfscon sysfs /module/trusty_virtio/parameters/use_high_wq u:object_r:sysfs_trusty:s0 From 00484704f80ea3baa745fef22a1aaa72e89bb3ae Mon Sep 17 00:00:00 2001 From: Madhav Iyengar Date: Fri, 28 Jun 2024 01:09:10 +0000 Subject: [PATCH 2/2] Give bthal permission to read AoC version. Bug: 349661931 Flag: com.android.bluetooth.hal.flags.pixel_bt_aoc_offload_efw_xport Test: Allows bthal to choose between USF and EFW transports to communicate with AoC based on version. Change-Id: I3edbcafd4ee5d0c875618c1a1c1b89e1bbd4d1ec --- vendor/hal_bluetooth_btlinux.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/hal_bluetooth_btlinux.te b/vendor/hal_bluetooth_btlinux.te index b2a7529c..625dd72e 100644 --- a/vendor/hal_bluetooth_btlinux.te +++ b/vendor/hal_bluetooth_btlinux.te @@ -10,3 +10,6 @@ allow hal_bluetooth_btlinux sysfs_bt_uart:file rw_file_perms; # allow the HAL to call cccdktimesync registered callbacks binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app) + +# Allow access for AoC properties. +get_prop(hal_bluetooth_btlinux, vendor_aoc_prop)