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') 11get_prop(ssr_detector_app, vendor_wifi_version) 12 13allow ssr_detector_app app_api_service:service_manager find; 14 15# ssr_detector app's data type is system_app_data_file. 16allow ssr_detector_app system_app_data_file:dir create_dir_perms; 17allow ssr_detector_app system_app_data_file:{ file lnk_file } create_file_perms; 18 19allow ssr_detector_app sysfs:lnk_file r_file_perms; 20 21r_dir_file(ssr_detector_app, sysfs_msm_subsys) 22 23allow ssr_detector_app cgroup:file w_file_perms; 24