Add selinux support for HIDL MTK-Commit-Id: f58b6fd1c6c053780475ad44ac648f6231af0d94 Change-Id: I77a9bdffbcb8b837e78055ef8bfb9b9d328232b2 CR-Id: ALPS03992559 Feature: Engineering Mode
95 lines
2.5 KiB
Plaintext
95 lines
2.5 KiB
Plaintext
# ==============================================
|
|
# Policy File of /vendor/bin/em_hidi Executable File
|
|
# ==============================================
|
|
type em_hidl, domain;
|
|
type em_hidl_exec, exec_type, file_type, vendor_file_type;
|
|
|
|
# Date : 2018/06/28
|
|
init_daemon_domain(em_hidl)
|
|
|
|
# Date : 2018/06/28
|
|
# Purpose: EM_HILD
|
|
hal_server_domain(em_hidl, mtk_hal_em)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should set ims operator
|
|
set_prop(em_hidl, mtk_operator_id_prop)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should set mtk_simswitch_emmode_prop
|
|
set_prop(em_hidl, mtk_simswitch_emmode_prop)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should set mtk_dsbp_support_prop
|
|
set_prop(em_hidl, mtk_dsbp_support_prop)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should set mtk_imstestmode_prop
|
|
set_prop(em_hidl, mtk_imstestmode_prop)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should set mtk_smsformat_prop
|
|
set_prop(em_hidl, mtk_smsformat_prop)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should set mtk_gprs_prefer_prop
|
|
set_prop(em_hidl, mtk_gprs_prefer_prop)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should set mtk_testsim_cardtype_prop
|
|
set_prop(em_hidl, mtk_testsim_cardtype_prop)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should set mtk_ct_ir_engmode_prop
|
|
set_prop(em_hidl, mtk_ct_ir_engmode_prop)
|
|
|
|
# Date : 2018/06/28
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should mtk_disable_c2k_cap_prop
|
|
set_prop(em_hidl, mtk_disable_c2k_cap_prop)
|
|
|
|
# Date : 2018/06/29
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should mtk_debug_md_reset_prop
|
|
set_prop(em_hidl, mtk_debug_md_reset_prop)
|
|
|
|
|
|
# Date : 2018/06/29
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should mtk_connsys_coredump_mode_prop
|
|
set_prop(em_hidl, mtk_connsys_coredump_mode_prop)
|
|
|
|
# Date : 2018/06/29
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should video log mtk_omx_log_prop
|
|
set_prop(em_hidl, mtk_omx_log_prop)
|
|
|
|
# Date : 2018/06/29
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should video log mtk_vdec_log_prop
|
|
set_prop(em_hidl, mtk_vdec_log_prop)
|
|
|
|
# Date : 2018/06/29
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should video log mtk_vdectlc_log_prop
|
|
set_prop(em_hidl, mtk_vdectlc_log_prop)
|
|
|
|
# Date : 2018/06/29
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should video log mtk_venc_h264_showlog_prop
|
|
set_prop(em_hidl, mtk_venc_h264_showlog_prop)
|
|
|
|
# Date : 2018/06/29
|
|
# Operation : EM DEBUG
|
|
# Purpose: EM should video log mtk_modem_warning_prop
|
|
set_prop(em_hidl, mtk_modem_warning_prop)
|
|
|