sm8350-common: Move to AOSP NXP NFC HAL
* NXP added snxxx support in AOSP Change-Id: Id1b9cdbe1f29d1ff61af8182ae2f8370e5210426 Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
This commit is contained in:
parent
d4649ad077
commit
8bf715623d
17
common.mk
17
common.mk
@ -333,23 +333,16 @@ PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
|
||||
|
||||
# NFC
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/nxp/opensource/sn100x
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
com.android.nfc_extras \
|
||||
com.nxp.nfc.nq \
|
||||
NQNfcNci \
|
||||
NfcNci \
|
||||
SecureElement \
|
||||
Tag
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
nfc_nci.nqx.default.hw \
|
||||
vendor.nxp.hardware.nfc@2.0-service
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
jcos_nq_client \
|
||||
ls_nq_client \
|
||||
se_nq_extn_client
|
||||
android.hardware.nfc_snxxx@1.2-service \
|
||||
android.hardware.secure_element@1.2.vendor \
|
||||
libchrome.vendor
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
|
||||
|
@ -165,11 +165,11 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.nxp.hardware.nfc</name>
|
||||
<name>vendor.nxp.nxpnfc</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.0</version>
|
||||
<interface>
|
||||
<name>INqNfc</name>
|
||||
<name>INxpNfc</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
|
@ -220,11 +220,10 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.nxp.hardware.nfc</name>
|
||||
<version>1.0-1</version>
|
||||
<name>vendor.nxp.nxpnfc</name>
|
||||
<version>2.0</version>
|
||||
<interface>
|
||||
<name>INqNfc</name>
|
||||
<name>INxpNfc</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
|
@ -417,7 +417,7 @@ vendor/lib64/unnhal-acc-gpu.so
|
||||
vendor/lib64/unnhal-acc-htp.so
|
||||
|
||||
# NFC
|
||||
vendor/lib/libsn100u_fw.so
|
||||
vendor/lib/libsn100u_fw.so:vendor/lib64/libsn100u_fw.so
|
||||
|
||||
# NVRAM
|
||||
vendor/bin/nv_mac
|
||||
@ -651,6 +651,9 @@ vendor/lib64/vendor.qti.hardware.radio.uim_remote_server@1.0.so
|
||||
vendor/bin/hw/vendor.qti.secure_element@1.2-service
|
||||
vendor/etc/init/vendor.qti.secure_element@1.2-service.rc
|
||||
vendor/lib64/android.hardware.secure_element@1.0-impl.so
|
||||
vendor/lib64/jcos_nq_client.so
|
||||
vendor/lib64/ls_nq_client.so
|
||||
vendor/lib64/se_nq_extn_client.so
|
||||
|
||||
# Snapdragon Computer Vision Engine
|
||||
vendor/lib/libscveCommon.so
|
||||
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
@ -17,6 +17,9 @@
|
||||
# Mlipay
|
||||
/(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0
|
||||
|
||||
# NFC
|
||||
/vendor/bin/hw/android\.hardware\.nfc_snxxx@1\.2-service u:object_r:hal_nfc_default_exec:s0
|
||||
|
||||
# Power
|
||||
/sys/devices/virtual/touch/tp_dev/double_tap u:object_r:vendor_sysfs_double_tap:s0
|
||||
|
||||
|
3
sepolicy/vendor/hwservice_contexts
vendored
3
sepolicy/vendor/hwservice_contexts
vendored
@ -10,3 +10,6 @@ com.fingerprints.extension::IFingerprintOptical
|
||||
|
||||
# Mlipay
|
||||
vendor.xiaomi.hardware.mlipay::IMlipayService u:object_r:hal_mlipay_hwservice:s0
|
||||
|
||||
# NFC
|
||||
vendor.nxp.nxpnfc::INxpNfc u:object_r:hal_nfc_hwservice:s0
|
||||
|
Loading…
Reference in New Issue
Block a user