• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ==============================================
2# MTK Policy Rule
3# ==============================================
4
5# Date:W17.07
6# Operation : bt hal developing
7# Purpose : bt hal interface permission
8binder_call(bluetooth, mtk_hal_bluetooth)
9
10allow bluetooth storage_stub_file:dir getattr;
11
12# Date: 2018/02/02
13# Major permission allow are in /system/sepoplicy/private/bluetooth.te
14# Add dir create perms for bluetooth on /data/misc/bluetooth/logs
15allow bluetooth bluetooth_logs_data_file:dir { create_dir_perms relabelto };
16allow bluetooth bluetooth_logs_data_file:fifo_file { create_file_perms };
17
18# Date: 2019/09/19
19allow bluetooth mtk_hal_bluetooth_audio_hwservice:hwservice_manager find;
20
21# Date :  2020/06/11
22# Operation : allow bt native process to access driver debug node and set kernel thread priority
23# Purpose: allow bt native process to access driver debug node and set kernel thread priority
24allow bluetooth proc_btdbg:file rw_file_perms;
25allow bluetooth kernel:process setsched;
26
27
28