Home | History | Annotate | Download | only in common
      1 # SSRestartDetector app
      2 type ssr_detector_app, domain;
      3 
      4 app_domain(ssr_detector_app)
      5 
      6 userdebug_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 ')
     12 
     13 allow ssr_detector_app app_api_service:service_manager find;
     14 
     15 allow ssr_detector_app radio_service:service_manager find;
     16 
     17 # ssr_detector app's data type is system_app_data_file.
     18 allow ssr_detector_app system_app_data_file:dir create_dir_perms;
     19 allow ssr_detector_app system_app_data_file:{ file lnk_file } create_file_perms;
     20 
     21 allow ssr_detector_app sysfs:lnk_file r_file_perms;
     22 allow ssr_detector_app cgroup:file w_file_perms;
     23 
     24 r_dir_file(ssr_detector_app, sysfs_msm_subsys)
     25