1# SSRestartDetector app 2type ssr_detector_app, domain; 3 4app_domain(ssr_detector_app) 5 6userdebug_or_eng(` 7 allow ssr_detector_app ramdump_vendor_data_file:dir r_dir_perms; 8 allow ssr_detector_app ramdump_vendor_data_file:file r_file_perms; 9 get_prop(ssr_detector_app, vendor_ssr_prop) 10 get_prop(ssr_detector_app, vendor_wifi_version) 11') 12get_prop(ssr_detector_app, public_vendor_system_prop) 13 14allow ssr_detector_app app_api_service:service_manager find; 15 16allow ssr_detector_app radio_service:service_manager find; 17 18# ssr_detector app's data type is system_app_data_file. 19allow ssr_detector_app system_app_data_file:dir create_dir_perms; 20allow ssr_detector_app system_app_data_file:{ file lnk_file } create_file_perms; 21 22allow ssr_detector_app sysfs:lnk_file r_file_perms; 23allow ssr_detector_app cgroup:file w_file_perms; 24 25r_dir_file(ssr_detector_app, sysfs_msm_subsys) 26