From 1d234c6becc9bf405e1d8dec26ac07fcc61475a6 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Thu, 10 Nov 2022 15:03:39 +0800 Subject: [PATCH] move sensors dump to gs-common Bug: 250475720 Test: adb bugreport Change-Id: Iba58fed59d1c5a4f7767813c587d050efcf7a631 --- legacy/whitechapel_pro/file.te | 3 +-- legacy/whitechapel_pro/file_contexts | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/legacy/whitechapel_pro/file.te b/legacy/whitechapel_pro/file.te index 432a7256..6c3cfe2b 100644 --- a/legacy/whitechapel_pro/file.te +++ b/legacy/whitechapel_pro/file.te @@ -10,6 +10,7 @@ type per_boot_file, file_type, data_file_type, core_data_file_type; type uwb_vendor_data_file, file_type, data_file_type, app_data_file_type; type uwb_data_vendor, file_type, data_file_type; type powerstats_vendor_data_file, file_type, data_file_type; +type sensor_debug_data_file, file_type, data_file_type; userdebug_or_eng(` typeattribute tcpdump_vendor_data_file mlstrustedobject; ') @@ -58,8 +59,6 @@ type chre_socket, file_type; type proc_f2fs, proc_type, fs_type; # Vendor tools -type vendor_usf_stats, vendor_file_type, file_type; -type vendor_usf_reg_edit, vendor_file_type, file_type; type vendor_dumpsys, vendor_file_type, file_type; # SecureElement diff --git a/legacy/whitechapel_pro/file_contexts b/legacy/whitechapel_pro/file_contexts index 31d35977..aaa2cf49 100644 --- a/legacy/whitechapel_pro/file_contexts +++ b/legacy/whitechapel_pro/file_contexts @@ -8,8 +8,6 @@ /vendor/bin/init\.display\.sh u:object_r:init-display-sh_exec:s0 /vendor/bin/trusty_apploader u:object_r:trusty_apploader_exec:s0 /vendor/bin/trusty_metricsd u:object_r:trusty_metricsd_exec:s0 -/vendor/bin/usf_stats u:object_r:vendor_usf_stats:s0 -/vendor/bin/usf_reg_edit u:object_r:vendor_usf_reg_edit:s0 /vendor/bin/dumpsys u:object_r:vendor_dumpsys:s0 /vendor/bin/init\.uwb\.calib\.sh u:object_r:vendor_uwb_init_exec:s0 /vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.trusty u:object_r:hal_gatekeeper_default_exec:s0