Home | History | Annotate | Download | only in sepolicy
      1 # wc_transport.start_hci and friends
      2 set_prop(hal_bluetooth, wc_prop)
      3 
      4 # talk to system_server to set priority
      5 allow hal_bluetooth fwk_scheduler_hwservice:hwservice_manager find;
      6 allow hal_bluetooth system_server:binder call;
      7 
      8 userdebug_or_eng(`
      9   allow hal_bluetooth diag_device:chr_file rw_file_perms;
     10   allow hal_bluetooth ramdump_vendor_data_file:dir w_dir_perms;
     11   allow hal_bluetooth ramdump_vendor_data_file:file { create w_file_perms };
     12   allow hal_bluetooth sysfs_timestamp_switch:file r_file_perms;
     13   r_dir_file(hal_bluetooth, debugfs_ipc)
     14   r_dir_file(hal_bluetooth, sysfs_diag)
     15   set_prop(hal_bluetooth, vendor_ssr_prop)
     16 ')
     17 
     18 dontaudit hal_bluetooth diag_device:chr_file rw_file_perms;
     19