1# ============================================== 2# MTK Policy Rule 3# ============================================== 4 5# Purpose : allow to access kpd driver file 6allow radio sysfs_keypad_file:dir { r_dir_perms }; 7allow radio sysfs_keypad_file:file { w_file_perms }; 8 9# Date : 2014/12/13 10# Operation : IT 11# Purpose : for bluetooth relayer mode 12allow radio block_device:dir search; 13allow radio ttyGS_device:chr_file { open read write ioctl }; 14 15# Date : 2016/07/05 16# Purpose : 17# Write IMEI - presanity item write imei should read the file on storage 18# Swift APK integration - access TTL scripts and logs on external storage 19# eng mode camera - save iamges files and log files on external storage 20# eng mode ygps - save location information on external storage 21allow radio media_rw_data_file:dir { create_dir_perms }; 22allow radio media_rw_data_file:file { create_file_perms }; 23 24# Date : 2016/08/02 25# Purpose : 26# Swift APK integration - access ccci dir/file 27allow radio ccci_fsd:dir { r_dir_perms }; 28 29# Date : WK17.03 30# Operation : O Migration 31# Purpose : HIDL for rilproxy 32binder_call(radio, hal_telephony) 33 34#Dat: 2017/02/14 35#Purpose: allow get telephony Sensitive property 36get_prop(radio, vendor_mtk_telephony_sensitive_prop) 37 38# Date : WK17.26 39# Operation : O Migration 40# Purpose : HIDL for imsa 41binder_call(radio, mtk_hal_imsa) 42 43# Date : WK1727 2017/07/04 44# Operation : IT 45# Purpose : Allow to use HAL imsa 46hal_client_domain(radio, hal_imsa) 47 48#Dat: 2017/06/29 49#Purpose: For audio parameter tuning 50#allow radio hal_audio_hwservice:hwservice_manager find; 51binder_call(radio,mtk_hal_audio) 52 53# Date : WK18.16 54# Operation: P migration 55# Purpose: Allow radio to get vendor_mtk_tel_switch_prop 56get_prop(radio, vendor_mtk_tel_switch_prop) 57