android_device_mediatek_sep.../non_plat/mtk_hal_secure_element.te
Dom Lin a1059fdd16 [ALPS04272553] Use MTK radio HIDL extension
RIL separates MTK HIDL APIs from AOSP. Thus, we should
use the new HAL layer called MtkRadioEx.

MTK-Commit-Id: ef0ea5880927b69a911e511fd3031c044803db2e

Change-Id: I2aa6c9fb0cb2db8f94b38dc8c8f9a2955086fe05
CR-Id: ALPS04272553
Feature: NFC Open Mobile API
2020-01-18 10:08:08 +08:00

19 lines
785 B
Plaintext

type mtk_hal_secure_element, domain;
hal_server_domain(mtk_hal_secure_element, hal_secure_element)
type mtk_hal_secure_element_exec, exec_type, vendor_file_type, file_type;
allow mtk_hal_secure_element secure_element_device:chr_file rw_file_perms;
init_daemon_domain(mtk_hal_secure_element)
# Allow to get vendor.mediatek.hardware.radio HIDL interface
allow mtk_hal_secure_element mtk_hal_rild_hwservice:hwservice_manager find;
binder_call(mtk_hal_secure_element, rild)
# Allow to get android.hardware.radio HIDL interface
hal_client_domain(mtk_hal_secure_element, hal_telephony)
allow mtk_hal_secure_element hal_telephony_hwservice:hwservice_manager find;
# Allow to use persist.radio.multisim.config
allow mtk_hal_secure_element exported3_radio_prop:file { read open getattr };