From 959afe2835cd0ebf928de307dd141b29f9ec05eb Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Tue, 11 Apr 2023 11:32:28 +0800 Subject: [PATCH 1/4] Remove obsolete entries Bug: 268147280 Bug: 270247129 Bug: 270633115 Bug: 268147400 Bug: 269218359 Bug: 269218359 Bug: 238263942 Bug: 261932945 Bug: 270247072 Bug: 265886512 Test: adb bugreport Change-Id: I93d79c0e1b6d85d45d59dd3e39dece3d58406654 Merged-In: I66b3c16af0845513e907e92be8d7afe03d9e0d8f --- tracking_denials/bug_map | 10 ---------- tracking_denials/dump_gsc.te | 3 --- 2 files changed, 13 deletions(-) delete mode 100644 tracking_denials/dump_gsc.te diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index 5aa59ad..69858d8 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -1,14 +1,4 @@ derive_sdk mediaprovider_app dir b/264600240 -dump_pixel_metrics sysfs file b/268147280 -dump_ramdump radio_vendor_data_file file b/270247129 -dump_ramdump vendor_camera_data_file file b/270633115 -dump_stm sysfs_spi dir b/268147400 -dump_storage radio_vendor_data_file file b/269218359 -dump_storage vendor_slog_file file b/269218359 -dump_trusty modem_efs_file file b/277529247 -dumpstate app_zygote process b/238263942 -dumpstate system_data_file dir b/261932945 -hal_dumpstate_default dump_ramdump process b/270247072 hal_power_default hal_power_default capability b/240632681 hal_vibrator_default sysfs file b/264483668 incidentd debugfs_wakeup_sources file b/238263518 diff --git a/tracking_denials/dump_gsc.te b/tracking_denials/dump_gsc.te deleted file mode 100644 index 1eb7ccf..0000000 --- a/tracking_denials/dump_gsc.te +++ /dev/null @@ -1,3 +0,0 @@ -# b/265886512 -dontaudit dump_gsc radio_vendor_data_file:file { read }; -dontaudit dump_gsc radio_vendor_data_file:file { write }; From b5b80403a1aa4533f08d15741af2d3e764176fe0 Mon Sep 17 00:00:00 2001 From: Ted Wang Date: Mon, 15 May 2023 12:25:39 +0000 Subject: [PATCH 2/4] Add sepolicy for aidl bt extension hal Bug: 280970790 Bug: 282685427 Test: make sepolicy and manual test Change-Id: I54de5dce02eb8ba01a90b1f14389a36114d9e8b0 --- bluejay/grilservice_app.te | 1 + 1 file changed, 1 insertion(+) create mode 100644 bluejay/grilservice_app.te diff --git a/bluejay/grilservice_app.te b/bluejay/grilservice_app.te new file mode 100644 index 0000000..ad0a779 --- /dev/null +++ b/bluejay/grilservice_app.te @@ -0,0 +1 @@ +allow grilservice_app hal_bluetooth_coexistence_service:service_manager find; From 5431c78f3c185d631da28cd38038bf65fa38f1a6 Mon Sep 17 00:00:00 2001 From: Leo Liou Date: Mon, 17 Jul 2023 16:22:44 +0800 Subject: [PATCH 3/4] bluejay: move ffu selinux rule into BOARD_VENDOR_SEPOLICY_DIRS The ffu selinux rule don't work because it's not included by BOARD_VENDOR_SEPOLICY_DIRS. Move it to bluejay folder and fix the not working problem. Bug: 273305600 Test: local build and test on B3 Change-Id: I7c9034b72b237508ecd9893fe86dee51d47c3c88 Signed-off-by: Leo Liou --- {vendor => bluejay}/device.te | 0 {vendor => bluejay}/file_contexts | 0 {vendor => bluejay}/ufs_firmware_update.te | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename {vendor => bluejay}/device.te (100%) rename {vendor => bluejay}/file_contexts (100%) rename {vendor => bluejay}/ufs_firmware_update.te (100%) diff --git a/vendor/device.te b/bluejay/device.te similarity index 100% rename from vendor/device.te rename to bluejay/device.te diff --git a/vendor/file_contexts b/bluejay/file_contexts similarity index 100% rename from vendor/file_contexts rename to bluejay/file_contexts diff --git a/vendor/ufs_firmware_update.te b/bluejay/ufs_firmware_update.te similarity index 100% rename from vendor/ufs_firmware_update.te rename to bluejay/ufs_firmware_update.te From 4fda2b12336d10601d39a79638de47dc498ff717 Mon Sep 17 00:00:00 2001 From: Tai Kuo Date: Mon, 4 Sep 2023 17:32:53 +0800 Subject: [PATCH 4/4] Add more CS40L26 i2c paths Sometimes the I2C will not be in the usual allowlist, need to enumerate possible paths to prevent unexpected vibrator behaviors. Bug: 284969808 Test: full build Test: Check normal and audio-coupled haptics function Change-Id: I84772c484022b47cc6db79ecd96b327279f7dfbc --- bluejay/genfs_contexts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bluejay/genfs_contexts b/bluejay/genfs_contexts index 6b11056..b01c716 100644 --- a/bluejay/genfs_contexts +++ b/bluejay/genfs_contexts @@ -1,4 +1,8 @@ # Haptics +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-0/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-1/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-2/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-3/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 genfscon sysfs /devices/platform/10970000.hsi2c/i2c-6/i2c-cs40l26a u:object_r:sysfs_vibrator:s0