Fix runtime exception when getActiveSecureElementList
The num_of_nfcee_present only counts the number of valid NFCEE to
allocate the list size, but in the for loop we use the number of
<= num_of_nfcee_present to check all the NFCEE, it will cause out of
bound of the list size.
Also the mNfceeData_t.mNfceeHandle[i] is not counted for
num_of_nfcee_present, it is counted for mActualNumEe, it will cause
wrong NFCEE checking.
Issue: FP3-A11#183
Issue: FP3-A11#233
Change-Id: Iba894f03995ce8b7703718a45e9f28c722f385da
(cherry picked from commit ea6039499277b10fbc1f57831913375ebe573e11)
(cherry picked from commit 11fa8ac5012d92fbd0623e041489d55781546c73)
1 file changed
tree: 8997b52ead69386509bc1d3483b533b96c0b5466
- assets/
- nci/
- nfc-dta/
- res/
- src/
- tests/
- .clang-format
- .gitignore
- Android.bp
- AndroidManifest.xml
- CleanSpec.mk
- nfc_system_product.mk
- OWNERS
- PREUPLOAD.cfg
- README.md
README.md
NFC_NCIHAL_Nfc
Git Repository
Supported Version on "br_android_ncihalx_row_11" branch
Android Version | NXP Release | NXP Tag |
---|
aosp-master | 11.01.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_11.01.00_OpnSrc |
aosp-master | 11.01.01 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_11.01.01_OpnSrc |
Supported Version on "br_android_ncihalx_row_q" branch
Android Version | NXP Release | NXP Tag |
---|
aosp-master | 10.01.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_10.01.00_OpnSrc |
aosp-master | 10.02.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_10.02.00_OpnSrc |
android-10.0.0_r2 | 10.03.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_10.03.00_OpnSrc |
android-10.0.0_r2 | 10.04.00 (PN80T/PN81T/PN553/PN557) | NFC_AR_00_18C0_10.04.00_OpnSrc |
Supported versions on "br_android_ncihalx_q" branch
Android Version | NXP Release | NXP Tag |
---|
aosp-master | 10.00.04 (SN100x) | NFC_AR_00_2000_10.00.04_OpnSrc |
aosp-master | 10.00.06 (SN110x) | NFC_AR_00_6000_10.00.06_OpnSrc |
aosp-master | 10.00.08 (SN100x) | NFC_AR_00_6000_10.00.08_OpnSrc |
aosp-master | 10.00.0A (SN110) | NFC_AR_00_6000_10.00.0A_OpnSrc |
aosp-master | 10.00.0B (SN100) | NFC_AR_00_6000_10.00.0B_OpnSrc |
aosp-master | 10.00.0C (SN110) | NFC_AR_00_6000_10.00.0C_OpnSrc |
android-10.0.0_r2 | 10.00.0D (SN110) | NFC_AR_00_6000_10.00.0D_OpnSrc |
android-10.0.0_r2 | 10.00.0F (SN110) | NFC_AR_00_6000_10.00.0F_OpnSrc |
Supported Version on "br_android_ncihalx_11" branch
Android Version | NXP Release | NXP Tag |
---|
aosp-master | 11.01.00 (SN110) | NFC_AR_00_6000_11.01.00_OpnSrc |
aosp-master | 11.02.00 (SN110) | NFC_AR_00_6000_11.02.00_OpnSrc |
NXPAndroidDTA
Git Repository
Supported Android Versions
Android Version | NXP Release | NXP Tag | DTA Version |
---|
android-8.0.0_r4/android-8.1.0_r7 | 11.01 (PN548C2/PN551/PN553/PN557) | NFC_NCIHALx_AR00C0.8.4.0_OpnSrc | DTA 11.01 |
android-p-preview 2 | 11.06 (PN553/PN557) | NFC_NCIHALx_AR00C0.9.0.D_OpnSrc | DTA 11.06 |
android-9.0.0_r3 | 11.07 (PN557) | NFC_NCIHALx_AR0800.9.1.0_OpnSrc | DTA 11.07 |
android-9.0.0_r3 | 11.08 (PN81T/PN557) | NFC_NCIHALx_AR1800.9.2.0_OpnSrc | DTA 11.08 |
android-p-preview 2 | 11.09 (SN100x/PN553) | NFC_NCIHALx_AR2000.09.00.0C_OpnSrc NFC_NCIHALx_AR2000.09.00.0F_OpnSrc | DTA 11.09 |
android-p-preview 2 | 11.0A (SN100x) | NFC_NCIHALx_AR2000.09.00.11_OpnSrc | DTA 11.0A |
android-p-preview 2 | 11.0B (SN100x/PN8xT) | NFC_NCIHALx_AR2000.09.00.13_OpnSrc NFC_NCIHALx_AR0040.9.3.0_OpnSrc NFC_NCIHALx_AR00C0.9.4.0_OpnSrc NFC_NCIHALx_AR1800.9.5.0_OpnSrc NFC_NCIHALx_AR2000.09.00.15_OpnSrc NFC_NCIHALx_AR2000.09.00.16_OpnSrc NFC_NCIHALx_AR2000.09.00.17_OpnSrc NFC_NCIHALx_AR2000.09.00.18_OpnSrc | DTA 11.0B |
android-p-preview 2 | 11.0C (PN8xT) | NFC_NCIHALx_AR18C0.9.6.0_OpnSrc | DTA 11.0C |
android-p-preview 2 | 11.0D (SN100x) | NFC_NCIHALx_AR2000.09.00.19_OpnSrc | DTA 11.0D |
aosp-master | 11.0D (SN100x) | NFC_AR_00_2000_10.00.04_OpnSrc | DTA 11.0D |
aosp-master | 11.0D (SN100x/PN553/PN557/PN80T/PN81T) | NFC_AR_00_6000_10.00.06_OpnSrc NFC_AR_00_18C0_10.01.00_OpnSrc | DTA 11.0D |
aosp-master | 11.0F (PN553/PN557/PN80T/PN81T) | NFC_AR_00_18C0_10.02.00_OpnSrc | DTA 11.0F |
aosp-master | 11.10 (SN110x/SN100) | NFC_AR_00_6000_10.00.0A_OpnSrc NFC_AR_00_6000_10.00.0B_OpnSrc | DTA 11.10 |
android-10.0.0_r2 | 11.11 (PN553/PN557/PN80T/PN81T) | NFC_AR_00_18C0_10.03.00_OpnSrc | DTA 11.11 |
android-p-preview 2 | 11.13 (SN100x) | NFC_NCIHALx_AR2000.09.00.1B_OpnSrc | DTA 11.13 |
android-10.0.0_r2 | 11.13 (PN553/PN557/PN80T/PN81T) | NFC_AR_00_18C0_10.04.00_OpnSrc | DTA 11.13 |
android-10.0.0_r2 | 11.14 (SN1xx) | NFC_AR_00_6000_10.00.14_OpnSrc NFC_AR_00_6000_10.00.15_OpnSrc | DTA 11.14 |
aosp-master | 11.15 (SN1xx) | NFC_AR_00_6000_11.02.00_OpnSrc | DTA 11.15 |