[ALPS04013153] Implement android.hardware.secure_element@1.0 for UICC

Implement android.hardware.secure_element@1.0 for MTK UICC.

MTK-Commit-Id: d47f7e07b9396583e71a51c4b5da0282d9abf73b

Change-Id: Ib5ebb2543a100f95d9fb2cab8f5aef9c511d463d
CR-Id: ALPS04013153
Feature: NFC Open Mobile API
This commit is contained in:
Dom Lin 2020-01-18 10:06:13 +08:00 committed by ILEX Lin
parent 7f6df66a44
commit e72359ca8a
3 changed files with 21 additions and 1 deletions

View File

@ -586,6 +586,8 @@
/(system\/vendor|vendor)/bin/hw/android\.hardware\.wifi@1\.0-service-mediatek u:object_r:mtk_hal_wifi_exec:s0
# MTK USB hal
/(system\/vendor|vendor)/bin/hw/android\.hardware\.usb@1\.1-service-mediatek u:object_r:mtk_hal_usb_exec:s0
# MTK OMAPI for UICC
/(system\/vendor|vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service-mediatek u:object_r:mtk_hal_secure_element_exec:s0
#############################
# System/bin files

View File

@ -0,0 +1,14 @@
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;
allow mtk_hal_secure_element rild:binder { call transfer };
# Allow to use persist.radio.multisim.config
allow mtk_hal_secure_element exported3_radio_prop:file { read open getattr };

View File

@ -130,3 +130,7 @@ set_prop(rild, vendor_ril_ipo_prop)
# Operation: P migration
# Purpose: Allow carrier express HIDL to set vendor property
set_prop(rild, mtk_cxp_vendor_prop)
#Date : W18.29
#Purpose: allow rild access binder to mtk_hal_secure_element
allow rild mtk_hal_secure_element:binder call;