Switch NFC from HIDL to AIDL
Bug: 216290344 Test: atest NfcNciInstrumentationTests Test: atest VtsAidlHalNfcTargetTest Merged-In: Ieb8be71d3ac4e8e187d8fcc2e3843bfd17112a73 Change-Id: Ieb8be71d3ac4e8e187d8fcc2e3843bfd17112a73
This commit is contained in:
parent
d3c9705ecd
commit
17a923dc37
7 changed files with 8 additions and 21 deletions
|
@ -103,7 +103,7 @@ PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
NfcNci \
|
NfcNci \
|
||||||
Tag \
|
Tag \
|
||||||
android.hardware.nfc@1.2-service.st
|
android.hardware.nfc-service.st
|
||||||
|
|
||||||
# SecureElement
|
# SecureElement
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -117,7 +117,6 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/pantah/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
device/google/pantah/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
||||||
|
|
||||||
DEVICE_MANIFEST_FILE += \
|
DEVICE_MANIFEST_FILE += \
|
||||||
device/google/pantah/nfc/manifest_nfc.xml \
|
|
||||||
device/google/pantah/nfc/manifest_se.xml
|
device/google/pantah/nfc/manifest_se.xml
|
||||||
|
|
||||||
# Thermal Config
|
# Thermal Config
|
||||||
|
|
|
@ -60,7 +60,7 @@ PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
NfcNci \
|
NfcNci \
|
||||||
Tag \
|
Tag \
|
||||||
android.hardware.nfc@1.2-service.st
|
android.hardware.nfc-service.st
|
||||||
|
|
||||||
# SecureElement
|
# SecureElement
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -74,7 +74,6 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/pantah/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
device/google/pantah/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
||||||
|
|
||||||
DEVICE_MANIFEST_FILE += \
|
DEVICE_MANIFEST_FILE += \
|
||||||
device/google/pantah/nfc/manifest_nfc.xml \
|
|
||||||
device/google/pantah/nfc/manifest_se.xml
|
device/google/pantah/nfc/manifest_se.xml
|
||||||
|
|
||||||
# Thermal Config
|
# Thermal Config
|
||||||
|
|
|
@ -85,7 +85,7 @@ PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
NfcNci \
|
NfcNci \
|
||||||
Tag \
|
Tag \
|
||||||
android.hardware.nfc@1.2-service.st
|
android.hardware.nfc-service.st
|
||||||
|
|
||||||
# SecureElement
|
# SecureElement
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -99,7 +99,6 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/pantah/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
device/google/pantah/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
||||||
|
|
||||||
DEVICE_MANIFEST_FILE += \
|
DEVICE_MANIFEST_FILE += \
|
||||||
device/google/pantah/nfc/manifest_nfc.xml \
|
|
||||||
device/google/pantah/nfc/manifest_se.xml
|
device/google/pantah/nfc/manifest_se.xml
|
||||||
|
|
||||||
# Thermal Config
|
# Thermal Config
|
||||||
|
|
|
@ -65,7 +65,7 @@ PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
NfcNci \
|
NfcNci \
|
||||||
Tag \
|
Tag \
|
||||||
android.hardware.nfc@1.2-service.st
|
android.hardware.nfc-service.st
|
||||||
|
|
||||||
# SecureElement
|
# SecureElement
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -79,7 +79,6 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/pantah/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
device/google/pantah/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
||||||
|
|
||||||
DEVICE_MANIFEST_FILE += \
|
DEVICE_MANIFEST_FILE += \
|
||||||
device/google/pantah/nfc/manifest_nfc.xml \
|
|
||||||
device/google/pantah/nfc/manifest_se.xml
|
device/google/pantah/nfc/manifest_se.xml
|
||||||
|
|
||||||
# Thermal Config
|
# Thermal Config
|
||||||
|
|
|
@ -113,15 +113,6 @@
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
<fqname>@1.3::IDevice/google-edgetpu</fqname>
|
<fqname>@1.3::IDevice/google-edgetpu</fqname>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.nfc</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>1.2</version>
|
|
||||||
<interface>
|
|
||||||
<name>INfc</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.health</name>
|
<name>android.hardware.health</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
|
|
@ -60,8 +60,8 @@ PRESENCE_CHECK_ALGORITHM=5
|
||||||
NCI_HAL_MODULE="nfc_nci.st21nfc"
|
NCI_HAL_MODULE="nfc_nci.st21nfc"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# White list to be set at startup.
|
# Allow list to be set at startup.
|
||||||
DEVICE_HOST_WHITE_LIST={02:C0}
|
DEVICE_HOST_ALLOW_LIST={02:C0}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# BAIL OUT value for P2P
|
# BAIL OUT value for P2P
|
||||||
|
|
|
@ -60,8 +60,8 @@ PRESENCE_CHECK_ALGORITHM=5
|
||||||
NCI_HAL_MODULE="nfc_nci.st21nfc"
|
NCI_HAL_MODULE="nfc_nci.st21nfc"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# White list to be set at startup.
|
# Allow list to be set at startup.
|
||||||
DEVICE_HOST_WHITE_LIST={02:C0}
|
DEVICE_HOST_ALLOW_LIST={02:C0}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# BAIL OUT value for P2P
|
# BAIL OUT value for P2P
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue