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