| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This fix is handling a new semaphore dedicated to
the SE Notification to avoid the semaphore desynchronisation.
Change-Id: I2e735247897a88eaddafcee0edbf3e5a89e18155
|
|
|
|
|
|
|
|
|
| |
When SE is in wired mode shared prefs sets the se_wired to true,
when SE is no more in wired mode shared prefs sets se_wired to
false. Default value for se_wired is false. se_wired shared pref
is set during the NFC initialization.
Change-Id: I9a3565c23035802895c8e99c671483c808312e0e
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: If3f714c482c26a9b90cae43dbab6e4ee7f46dcb9
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: Ie4ce01d556684684b2e3ccb5c2fd65307ec11960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An earlier change to add multiple protocol support for NfcA and IsoDep
causes 3 technologies (NfcA, MifareClassic, IsoDep) to be enumerated on
the Secure Element instead of 2 (MifareClassic, IsoDep). This caused a
regression because
com_android_nfc_jni_open_secure_element_notification_callback() always
connected to the 2nd handle, without checking protocols.
Fix is to walk the protocol list and look for IsoDep instead of hard-coding
the index.
For some reason IsoDep seems to be phNfc_eISO14443_A_PICC and not
phNfc_eISO14443_4A_PICC in this code.
Change-Id: If7471b494099a09cf6d0bf5e255da556f11570b1
|
|\
| |
| |
| | |
Change-Id: I8391bb474ecfe80ea9e7f13178fbaccf2cc576e8
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes an issue where an attempt to open the SE while the NFC
Controller is in initiator (reader/writer or P2P Initiator) mode
would cause a strange error response, and all further attempts to
open the SE fail.
Change-Id: I6401f644c73a993433cb73fee2eff8c11ededa1d
|
| |
| |
| |
| | |
Change-Id: I147cbf71b05e6d1868bcdcd5daa0bee7e6711267
|
|/
|
|
| |
Change-Id: I0b743245d60bf9c47ce84ec0ab7fd8c5b6202ec9
|
|
|
|
|
|
|
|
|
| |
The thread making the call here may never
make it into the virtual machine, so the
local reference is explicitly deleted.
Bug: 4383243
Change-Id: I44d546f7f71a4fb2631133d65573cee19d466fb6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the secure element connection fails to open
due to an external RF field being detected it's
now logged to make debugging easier.
Bug: 4304698
Change-Id: Iea6e23968ee18d4f99e7ecbbf1b60b7c1688f5b6
|
|/
|
|
|
| |
Bug: 4258601
Change-Id: Ib21892b6efa8e23ea86566ed6f88c2e9d284fa89
|
|
|
|
| |
Change-Id: I496a74f2fbad55cb8f04a434a386d6d86e7d3636
|
|
|
|
|
|
|
| |
This caused SE access on eng builds to fail, and
was pretty dangerous on other builds.
Change-Id: Iea8f09559e8da61862cdb24ec0ea5ace91d5bbd1
|
|
|
|
| |
Change-Id: Id825345c0c5cd131d25ff23184a57ee53f9fa9dd
|
|
|
|
| |
Change-Id: Ie9fc3f32cfdb043e67c774e3c222aa599f138932
|
|
|
|
| |
Change-Id: I63af03e79da263993db5a35df7602ae0b1c48c56
|
|
|
|
|
|
|
|
|
|
|
| |
Some functionality in libnfc is different for some technologies
(e.g. reconnect(), transceive()). For these cases, we'll use the libnfc
tag type to deal with them. We don't want to distinguish these cases based on the
Java API technology types, since they may be changed and even mapped to different
libnfc types. Ideally libnfc should abstract this away for us, but that is not
the case now.
Change-Id: I33ea04ca48d16ccf186e3f0882cafdd38a8adb34
|
|
|
|
|
|
|
| |
- Tech tree properly does multi-protocol
- Implemented a handle list, where we can link each tech to a libnfc handle
Change-Id: Id9522d505cb158f5163e866b686758c269390cde
|
|
|
|
|
|
|
| |
Based on the tag return type from libnfc, we return a proper technology
tree. Also fixed transceive to depend properly on the tech tree.
Change-Id: I946577692c3a71602d88c2b6416c94154d2d434f
|
|
Change-Id: Ia1c006c52aaf312408ef2fba96715b1b6c382ea9
|