sepolicy: qti: Add policy for AOSP SNXXX NFC

Change-Id: I0c5130ea0f81d1234aef369f6e58088181d0e8d3
This commit is contained in:
Alexander Koskovich
2022-08-19 08:25:41 -07:00
committed by Bruno Martins
parent 9171299e0f
commit 0c4f6712ac
2 changed files with 7 additions and 3 deletions

View File

@@ -38,9 +38,10 @@
/dev/block/platform/soc/1d84000\.ufshc/by-name/mdmddr u:object_r:vendor_efs_boot_dev:s0
# NFC
/(odm|vendor/odm)/bin/hw/vendor\.nxp\.hardware\.nfc@1\.2-service u:object_r:hal_nfc_default_exec:s0
/(odm|vendor/odm)/bin/hw/vendor\.qti\.esepowermanager@1\.1-service u:object_r:vendor_hal_esepowermanager_qti_exec:s0
/(odm|vendor/odm)/bin/hw/vendor\.qti\.secure_element@1\.2-service u:object_r:hal_secure_element_default_exec:s0
/(odm|vendor/odm)/bin/hw/vendor\.nxp\.hardware\.nfc@1\.2-service u:object_r:hal_nfc_default_exec:s0
/(odm|vendor/odm)/bin/hw/vendor\.qti\.esepowermanager@1\.1-service u:object_r:vendor_hal_esepowermanager_qti_exec:s0
/(odm|vendor/odm)/bin/hw/vendor\.qti\.secure_element@1\.2-service u:object_r:hal_secure_element_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc_snxxx@1\.2-service u:object_r:hal_nfc_default_exec:s0
# Partitions
/dev/block/platform/soc/1d84000\.ufshc/by-name/vbmeta_vendor_[ab] u:object_r:vendor_custom_ab_block_device:s0

View File

@@ -10,6 +10,9 @@ vendor.pixelworks.hardware.feature::IIrisFeature u:object_r:hal_graphics_comp
vendor.oplus.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservice:s0
vendor.oplus.hardware.commondcs::ICommonDcsHalService u:object_r:hal_fingerprint_hwservice:s0
# NFC
vendor.nxp.nxpnfc::INxpNfc u:object_r:hal_nfc_hwservice:s0
# ORMS
vendor.oplus.hardware.orms::IOrmsHalProxy u:object_r:vendor_hal_orms_hwservice:s0