Skip to content

Commit

Permalink
Switch NFC from HIDL to AIDL
Browse files Browse the repository at this point in the history
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: Ifde6ab418a18a10b11911cd2e8459f769587f685
Change-Id: Ifde6ab418a18a10b11911cd2e8459f769587f685
  • Loading branch information
George Chang committed Jun 1, 2022
1 parent 084c4cd commit e8712cc
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 16 deletions.
3 changes: 1 addition & 2 deletions device-oriole.mk
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
NfcNci \
Tag \
android.hardware.nfc@1.2-service.st
android.hardware.nfc-service.st

# SecureElement
PRODUCT_PACKAGES += \
Expand All @@ -131,7 +131,6 @@ PRODUCT_COPY_FILES += \
device/google/raviole/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf

DEVICE_MANIFEST_FILE += \
device/google/raviole/nfc/manifest_nfc.xml \
device/google/raviole/nfc/manifest_se.xml

# Vibrator HAL
Expand Down
3 changes: 1 addition & 2 deletions device-raven.mk
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ endif
PRODUCT_PACKAGES += \
NfcNci \
Tag \
android.hardware.nfc@1.2-service.st
android.hardware.nfc-service.st

# SecureElement
PRODUCT_PACKAGES += \
Expand All @@ -146,7 +146,6 @@ PRODUCT_COPY_FILES += \
device/google/raviole/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf

DEVICE_MANIFEST_FILE += \
device/google/raviole/nfc/manifest_nfc.xml \
device/google/raviole/nfc/manifest_se.xml


Expand Down
3 changes: 1 addition & 2 deletions device-slider.mk
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
NfcNci \
Tag \
android.hardware.nfc@1.2-service.st
android.hardware.nfc-service.st

# SecureElement
PRODUCT_PACKAGES += \
Expand All @@ -97,7 +97,6 @@ PRODUCT_COPY_FILES += \
device/google/raviole/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf

DEVICE_MANIFEST_FILE += \
device/google/raviole/nfc/manifest_nfc.xml \
device/google/raviole/nfc/manifest_se.xml

# PowerStats HAL
Expand Down
5 changes: 1 addition & 4 deletions device-whitefin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
NfcNci \
Tag \
[email protected]

DEVICE_MANIFEST_FILE += \
device/google/raviole/nfc/manifest_nfc.xml
android.hardware.nfc-service.st

# PowerStats HAL
PRODUCT_SOONG_NAMESPACES += device/google/raviole/powerstats/whitefin
Expand Down
4 changes: 2 additions & 2 deletions nfc/libnfc-hal-st-debug.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ PRESENCE_CHECK_ALGORITHM=5
NCI_HAL_MODULE="nfc_nci.st21nfc"

###############################################################################
# White list to be set at startup.
DEVICE_HOST_WHITE_LIST={02:C0}
# Allow list to be set at startup.
DEVICE_HOST_ALLOW_LIST={02:C0}

###############################################################################
# BAIL OUT value for P2P
Expand Down
4 changes: 2 additions & 2 deletions nfc/libnfc-hal-st-disable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ PRESENCE_CHECK_ALGORITHM=5
NCI_HAL_MODULE="nfc_nci.st21nfc"

###############################################################################
# White list to be set at startup.
DEVICE_HOST_WHITE_LIST={02:C0}
# Allow list to be set at startup.
DEVICE_HOST_ALLOW_LIST={02:C0}

###############################################################################
# BAIL OUT value for P2P
Expand Down
4 changes: 2 additions & 2 deletions nfc/libnfc-hal-st.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ PRESENCE_CHECK_ALGORITHM=5
NCI_HAL_MODULE="nfc_nci.st21nfc"

###############################################################################
# White list to be set at startup.
DEVICE_HOST_WHITE_LIST={02:C0}
# Allow list to be set at startup.
DEVICE_HOST_ALLOW_LIST={02:C0}

###############################################################################
# BAIL OUT value for P2P
Expand Down

0 comments on commit e8712cc

Please sign in to comment.