[Detail] Add the following prefix property to vendor_radio_prop: vendor.ril. ro.vendor.ril. vendor.gsm. persist.vendor.radio And declare permission at te file. MTK-Commit-Id: 2754547c48d8cb78008c8b59e01d43e8d242813a Change-Id: I593d7d1cdaf0caa5a92c65d0f7b03591cc8cbac8 CR-Id: ALPS03804621 Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
180 lines
7.1 KiB
Plaintext
180 lines
7.1 KiB
Plaintext
# ==============================================
|
|
# MTK Policy Rule
|
|
# ==============================================
|
|
#=============allow ccci_mdinit to start gsm0710muxd==============
|
|
ctl.gsm0710muxd u:object_r:ctl_gsm0710muxd_prop:s0
|
|
ctl.gsm0710muxd-s u:object_r:ctl_gsm0710muxd-s_prop:s0
|
|
ctl.gsm0710muxd-d u:object_r:ctl_gsm0710muxd-d_prop:s0
|
|
|
|
#=============allow ccci_mdinit to ctl. mdlogger==============
|
|
ctl.mdlogger u:object_r:ctl_mdlogger_prop:s0
|
|
ctl.emdlogger1 u:object_r:ctl_emdlogger1_prop:s0
|
|
ctl.emdlogger2 u:object_r:ctl_emdlogger2_prop:s0
|
|
ctl.emdlogger3 u:object_r:ctl_emdlogger3_prop:s0
|
|
ctl.dualmdlogger u:object_r:ctl_dualmdlogger_prop:s0
|
|
|
|
#=============allow mtkrild to set persist.ril property==============
|
|
persist.ril u:object_r:persist_ril_prop:s0
|
|
vendor.ril.ipo u:object_r:vendor_ril_ipo_prop:s0
|
|
|
|
#=============allow netlog==============
|
|
#debug.mtklog.init.flag
|
|
debug.mtklog u:object_r:debug_mtklog_prop:s0
|
|
#persist.mtklog.log2sd.path
|
|
persist.mtklog u:object_r:persist_mtklog_prop:s0
|
|
#debug.netlog.stopreason
|
|
debug.netlog u:object_r:debug_netlog_prop:s0
|
|
|
|
#=============allow netd to set mtk_wifi.*========================
|
|
mtk_wifi. u:object_r:mtk_wifi_prop:s0
|
|
|
|
#=============allow mdlogger==============
|
|
debug.mdlogger u:object_r:debug_mdlogger_prop:s0
|
|
|
|
#=============allow AEE==============
|
|
# persist.mtk.aee.mode && persist.mtk.aee.dal
|
|
persist.vendor.mtk.aee u:object_r:persist_mtk_aee_prop:s0
|
|
|
|
# persist.aee.core.dump && persist.aee.core.direct
|
|
persist.vendor.aee u:object_r:persist_aee_prop:s0
|
|
|
|
# debug.mtk.aee.db
|
|
vendor.debug.mtk.aee u:object_r:debug_mtk_aee_prop:s0
|
|
|
|
#=============allow AEE_Dumpstate==============
|
|
vendor.debug.bq.dump u:object_r:debug_bq_dump_prop:s0
|
|
|
|
#=============allow mux==============
|
|
vendor.ril.mux. u:object_r:gsm0710muxd_prop:s0
|
|
|
|
#=============allow mdinit==============
|
|
ctl.ril-daemon-mtk u:object_r:ctl_ril-daemon-mtk_prop:s0
|
|
ctl.fusion_ril_mtk u:object_r:ctl_fusion_ril_mtk_prop:s0
|
|
ctl.ril-daemon-s u:object_r:ctl_ril-daemon-s_prop:s0
|
|
ctl.ril-daemon-d u:object_r:ctl_ril-daemon-d_prop:s0
|
|
ctl.viarild u:object_r:ctl_viarild_prop:s0
|
|
ctl.ril-proxy u:object_r:ctl_ril-proxy_prop:s0
|
|
|
|
ctl.ccci_fsd u:object_r:ctl_ccci_fsd_prop:s0
|
|
ctl.ccci2_fsd u:object_r:ctl_ccci2_fsd_prop:s0
|
|
ctl.ccci3_fsd u:object_r:ctl_ccci3_fsd_prop:s0
|
|
ctl.muxreport-daemon u:object_r:ctl_muxreport-daemon_prop:s0
|
|
|
|
vendor.ril.active.md u:object_r:ril_active_md_prop:s0
|
|
vendor.ril.mux.report.case u:object_r:ril_mux_report_case_prop:s0
|
|
ril.cdma.report u:object_r:ril_cdma_report_prop:s0
|
|
|
|
#=============allow dynamic telephony switch==============
|
|
ro.boot.opt_c2k_lte_mode u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_c2k_support u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_eccci_c2k u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_lte_support u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_md1_support u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_md2_support u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_md3_support u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_md5_support u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_ps1_rat u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_sim_count u:object_r:tel_switch_prop:s0
|
|
ro.boot.opt_using_default u:object_r:tel_switch_prop:s0
|
|
|
|
#=============allow bootanim==============
|
|
persist.bootanim. u:object_r:bootani_prop:s0
|
|
|
|
#=============allow mnld_prop ==============
|
|
vendor.gps.clock.type u:object_r:mnld_prop:s0
|
|
vendor.gps.gps.version u:object_r:mnld_prop:s0
|
|
vendor.debug.gpsdbglog.enable u:object_r:mnld_prop:s0
|
|
vendor.debug.gpsdbglog. u:object_r:mnld_prop:s0
|
|
vendor.debug.gps. u:object_r:mnld_prop:s0
|
|
|
|
#=============allow audiohal==============
|
|
streamout. u:object_r:audiohal_prop:s0
|
|
af. u:object_r:audiohal_prop:s0
|
|
streamin. u:object_r:audiohal_prop:s0
|
|
a2dp. u:object_r:audiohal_prop:s0
|
|
persist.af. u:object_r:audiohal_prop:s0
|
|
|
|
#=============allow wmt ==============
|
|
persist.mtk.wcn u:object_r:wmt_prop:s0
|
|
service.wcn u:object_r:wmt_prop:s0
|
|
|
|
#=============allow sensor daemon==============
|
|
ctl.emdlogger5 u:object_r:ctl_emcsmdlogger_prop:s0
|
|
ctl.eemcs_fsd u:object_r:ctl_eemcs_fsd_prop:s0
|
|
|
|
#=============allow c2k_prop ==============
|
|
net.cdma.mdmstat u:object_r:net_cdma_mdmstat:s0
|
|
|
|
#=============allow bt prop==============
|
|
bt. u:object_r:bt_prop:s0
|
|
persist.bt. u:object_r:persist_bt_prop:s0
|
|
#=============allow ccci_mdinit md status ==============
|
|
mtk.md u:object_r:mtk_md_prop:s0
|
|
#============= allow factory idle current prop ==============
|
|
vendor.debug.factory.idle_state u:object_r:vendor_factory_idle_state_prop:s0
|
|
|
|
#=============allow ftrace log property================
|
|
ftrace.buffer.log u:object_r:ftrace_log_prop:s0
|
|
|
|
#=============allow service.nvram_init property================
|
|
service.nvram_init u:object_r:service_nvram_init_prop:s0
|
|
|
|
#=============allow ro.wlan.mtk.wifi.5g property================
|
|
ro.wlan.mtk.wifi.5g u:object_r:wifi_5g_prop:s0
|
|
|
|
#=============Allow EM To Set Camera APP Mode ==============
|
|
mtk.client. u:object_r:mtk_em_prop:s0
|
|
|
|
#=============allow mediatek_prop ==============
|
|
mediatek. u:object_r:mediatek_prop:s0
|
|
debug.camera.p2plug.log u:object_r:mediatek_prop:s0
|
|
|
|
#=============allow em set protocol================
|
|
persist.vendor.auto_answer u:object_r:mtk_em_auto_answer_prop:s0
|
|
|
|
#=============allow em set protocol================
|
|
persist.bt.sspdebug.enable u:object_r:mtk_em_bt_sspdebug_prop:s0
|
|
|
|
#=============allow em set protocol================
|
|
persist.vendor.net.auto.tethering u:object_r:mtk_em_net_auto_tethering_prop:s0
|
|
|
|
#=============allow system server to set meta_connecttype property ==============
|
|
persist.meta.connecttype u:object_r:meta_connecttype_prop:s0
|
|
|
|
#=============Telephony Sensitive property==============
|
|
vendor.ril.iccid.sim u:object_r:mtk_telephony_sensitive_prop:s0
|
|
persist.vendor.radio.last_iccid_sim u:object_r:mtk_telephony_sensitive_prop:s0
|
|
ro.mtk_md_mims_support u:object_r:mtk_telephony_sensitive_prop:s0
|
|
|
|
#=============allow processes to change thermal config================
|
|
thermal.manager.data u:object_r:mtk_thermal_config_prop:s0
|
|
|
|
#=============allow composer set property ============================
|
|
debug.sf.hwc_pid u:object_r:graphics_hwc_pid_prop:s0
|
|
|
|
#============= mtkcam property ============================
|
|
persist.mtkcam. u:object_r:mtkcam_prop:s0
|
|
mtkcam. u:object_r:mtkcam_prop:s0
|
|
|
|
#=============allow radio to set em xcap config================
|
|
persist.ss. u:object_r:mtk_em_ril_xcapset_prop:s0
|
|
persist.gba. u:object_r:mtk_em_ril_xcapset_prop:s0
|
|
|
|
#=============allow radio to set presence config================
|
|
persist.vendor.mtk_uce_ua_support u:object_r:persist_uce_prop:s0
|
|
|
|
#============= atm modem mode property(ATM) ==============
|
|
persist.atm.mdmode u:object_r:atm_mdmode_prop:s0
|
|
|
|
#============= atm ip address property(ATM) ==============
|
|
persist.atm.ipaddress u:object_r:atm_ipaddr_prop:s0
|
|
|
|
#=============allow consyslogger==============
|
|
vendor.consyslogger u:object_r:vendor_consyslogger_prop:s0
|
|
|
|
#============Label telephony property=======#
|
|
vendor.ril. u:object_r:vendor_radio_prop:s0
|
|
ro.vendor.ril. u:object_r:vendor_radio_prop:s0
|
|
vendor.gsm. u:object_r:vendor_radio_prop:s0
|
|
persist.vendor.radio. u:object_r:vendor_radio_prop:s0
|