Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
André Lam
android_device_fairphone_FP3
Commits
06a07e1a
Commit
06a07e1a
authored
Apr 02, 2020
by
Sooraj S
👽
Committed by
Romain Hunault
Apr 28, 2020
Browse files
FP3: NXP PN553 NFC support
Add NFC and Secure Element HIDL Implementation '
parent
b70050f8
Changes
5
Hide whitespace changes
Inline
Side-by-side
BoardConfig.mk
View file @
06a07e1a
...
@@ -193,8 +193,8 @@ TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/recovery.fstab
...
@@ -193,8 +193,8 @@ TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/recovery.fstab
# Vendor Security Patch Level
# Vendor Security Patch Level
VENDOR_SECURITY_PATCH
:=
"2018-08-05"
VENDOR_SECURITY_PATCH
:=
"2018-08-05"
#
Encryption
#
NFC
TARGET_
HW_DISK_ENCRYPTION
:=
fals
e
TARGET_
USES_NQ_NFC
:=
tru
e
# SELinux
# SELinux
include
device/qcom/sepolicy/sepolicy.mk
include
device/qcom/sepolicy/sepolicy.mk
...
...
device.mk
View file @
06a07e1a
...
@@ -192,6 +192,7 @@ PRODUCT_COPY_FILES += \
...
@@ -192,6 +192,7 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.midi.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/android.software.midi.xml
\
frameworks/native/data/etc/android.software.midi.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/android.software.midi.xml
\
frameworks/native/data/etc/android.software.sip.voip.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/android.software.sip.voip.xml
\
frameworks/native/data/etc/android.software.sip.voip.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/android.software.sip.voip.xml
\
frameworks/native/data/etc/com.nxp.mifare.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/com.nxp.mifare.xml
\
frameworks/native/data/etc/com.nxp.mifare.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/com.nxp.mifare.xml
\
frameworks/native/data/etc/com.android.nfc_extras.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/com.android.nfc_extras.xml
\
frameworks/native/data/etc/handheld_core_hardware.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/handheld_core_hardware.xml
frameworks/native/data/etc/handheld_core_hardware.xml:
$(TARGET_COPY_OUT_VENDOR)
/etc/permissions/handheld_core_hardware.xml
# QCOM
# QCOM
...
@@ -474,6 +475,26 @@ PRODUCT_PACKAGES += \
...
@@ -474,6 +475,26 @@ PRODUCT_PACKAGES += \
PRODUCT_BOOT_JARS
+=
\
PRODUCT_BOOT_JARS
+=
\
telephony-ext
telephony-ext
# Secure Element
PRODUCT_PACKAGES
+=
\
SecureElement
\
android.hardware.secure_element@1.0
# NFC
PRODUCT_PACKAGES
+=
\
NfcNci
\
Tag
\
libnqnfc-nci
\
libnqnfc_nci_jni
\
libp61-jcop-kit
\
com.nxp.nfc.nq
\
com.android.nfc_extras
\
vendor.nxp.hardware.nfc@1.0
\
vendor.nxp.hardware.nfc@1.1-service
PRODUCT_BOOT_JARS
+=
com.nxp.nfc.nq
# Wifi
PRODUCT_PACKAGES
+=
\
PRODUCT_PACKAGES
+=
\
android.hardware.wifi@1.0-service
\
android.hardware.wifi@1.0-service
\
dhcpcd.conf
\
dhcpcd.conf
\
...
...
manifest.xml
View file @
06a07e1a
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
<instance>
default
</instance>
<instance>
default
</instance>
</interface>
</interface>
</hal>
</hal>
<!--
<hal format="hidl">
<hal
format=
"hidl"
>
<name>
android.hardware.nfc
</name>
<name>
android.hardware.nfc
</name>
<transport>
hwbinder
</transport>
<transport>
hwbinder
</transport>
<version>
1.1
</version>
<version>
1.1
</version>
...
@@ -193,7 +193,16 @@
...
@@ -193,7 +193,16 @@
<name>
INfc
</name>
<name>
INfc
</name>
<instance>
default
</instance>
<instance>
default
</instance>
</interface>
</interface>
</hal> -->
</hal>
<hal
format=
"hidl"
>
<name>
vendor.nxp.hardware.nfc
</name>
<transport>
hwbinder
</transport>
<version>
1.0
</version>
<interface>
<name>
INqNfc
</name>
<instance>
default
</instance>
</interface>
</hal>
<hal
format=
"hidl"
>
<hal
format=
"hidl"
>
<name>
android.hardware.power
</name>
<name>
android.hardware.power
</name>
<transport>
hwbinder
</transport>
<transport>
hwbinder
</transport>
...
@@ -218,6 +227,16 @@
...
@@ -218,6 +227,16 @@
<instance>
slot2
</instance>
<instance>
slot2
</instance>
</interface>
</interface>
</hal>
</hal>
<hal
format=
"hidl"
>
<name>
android.hardware.secure_element
</name>
<transport>
hwbinder
</transport>
<version>
1.0
</version>
<interface>
<name>
ISecureElement
</name>
<instance>
SIM1
</instance>
<instance>
SIM2
</instance>
</interface>
</hal>
<hal
format=
"hidl"
>
<hal
format=
"hidl"
>
<name>
android.hardware.radio.config
</name>
<name>
android.hardware.radio.config
</name>
<transport>
hwbinder
</transport>
<transport>
hwbinder
</transport>
...
...
proprietary-files.txt
View file @
06a07e1a
...
@@ -1128,3 +1128,11 @@ vendor/firmware/fingerprint.b03
...
@@ -1128,3 +1128,11 @@ vendor/firmware/fingerprint.b03
vendor/firmware/fingerprint.b04
vendor/firmware/fingerprint.b04
vendor/firmware/fingerprint.b05
vendor/firmware/fingerprint.b05
vendor/firmware/fingerprint.b06
vendor/firmware/fingerprint.b06
# NFC - PN553
vendor/bin/nqnfcinfo
vendor/lib/libpn553_fw.so
vendor/etc/libnfc-mtp-NQ3XX.conf
vendor/etc/libnfc-qrd-NQ3XX.conf
vendor/etc/libnfc-nci_NCI2_0.conf
vendor/etc/libnfc-nci.conf
vendor_prop.mk
View file @
06a07e1a
...
@@ -286,3 +286,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
...
@@ -286,3 +286,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Enable TDES support when KM4 is enabled
# Enable TDES support when KM4 is enabled
PRODUCT_PROPERTY_OVERRIDES
+=
\
PRODUCT_PROPERTY_OVERRIDES
+=
\
ro.hardware.keystore_desede
=
true
ro.hardware.keystore_desede
=
true
# NFC
PRODUCT_PROPERTY_OVERRIDES
+=
\
ro.hardware.nfc_nci
=
nqx.default
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment