a6a719dc0be38ea516008b5691e48d6e14dd7d7e |
|
10-Aug-2011 |
Nick Pelly <npelly@google.com> |
Fix NfcExecutionEnvironment.transceive() failures. 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
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
742eacb628af1f2e008c76462cca3c651a6433b7 |
|
26-Jul-2011 |
Jean-Baptiste Queru <jbq@google.com> |
Merge 3d644e80 Change-Id: I8391bb474ecfe80ea9e7f13178fbaccf2cc576e8
|
04a29c85c9bdbf0b25171332013934c3436ab0ec |
|
22-Jul-2011 |
Daniel Tomas <dtomas.nxp@gmail.com> |
Prevent SE from being opened while target is in field. 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
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
84f234a73bb3e149ce8c7ff768bd467fdeac27bf |
|
24-May-2011 |
Jeff Hamilton <jham@android.com> |
Fixes from code review. Change-Id: I147cbf71b05e6d1868bcdcd5daa0bee7e6711267
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
81c476dd93f059d4082c15369894d5d16fbea05d |
|
14-Jun-2011 |
Jeff Hamilton <jham@android.com> |
Relocate the libnfc-nxp Java bridge sources. Change-Id: I0b743245d60bf9c47ce84ec0ab7fd8c5b6202ec9
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
6a8cddd71f669bb313788eea562c7e01cd587ae5 |
|
22-May-2011 |
Jeff Hamilton <jham@android.com> |
Another attempt at fixing JNI local reference leaks. 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
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
543b1768a231bd05cdb679262868df625a00522f |
|
28-Apr-2011 |
Jeff Hamilton <jham@android.com> |
Merge "Better logging on SE open failure." into gingerbread
|
275376f9e469a9e014d82978ba3b8d57fe4a7739 |
|
20-Apr-2011 |
Jeff Hamilton <jham@android.com> |
Better logging on SE open failure. 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
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
a8d8c1fa5058573c0d9d1305549c4326737db0b8 |
|
20-Apr-2011 |
Jeff Hamilton <jham@android.com> |
Avoid reference table overflows when dealing with secure elements. Bug: 4258601 Change-Id: Ib21892b6efa8e23ea86566ed6f88c2e9d284fa89
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
ba6401757f8017faeb77423f2d08fd51be1d1051 |
|
30-Mar-2011 |
Nick Pelly <npelly@google.com> |
Increase wired mode timeout to 10 seconds. Change-Id: I496a74f2fbad55cb8f04a434a386d6d86e7d3636
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
0412f53e664083dc5307bbcf18c0002b26180203 |
|
05-Mar-2011 |
Nick Pelly <npelly@google.com> |
Don't re-use the same JNIEnv across threads. This caused SE access on eng builds to fail, and was pretty dangerous on other builds. Change-Id: Iea8f09559e8da61862cdb24ec0ea5ace91d5bbd1
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
a31e9dde6f6fb1b0bb369a9545ddb83604bee396 |
|
15-Feb-2011 |
daniel_tomas <dtomas.nxp@gmail.com> |
Patch to manage the transceive timeout in wired mode Change-Id: Id825345c0c5cd131d25ff23184a57ee53f9fa9dd
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
c16b76ce7fa78afe221c83d2c6cddf2719f397ee |
|
15-Feb-2011 |
daniel_tomas <dtomas.nxp@gmail.com> |
Patch for PN544 GPIO6 management Change-Id: Ie9fc3f32cfdb043e67c774e3c222aa599f138932
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
ff4f1e0caeecc70cd767e1f2e391e28f6c4d4c64 |
|
06-Jan-2011 |
daniel_tomas <daniel.tomas@nxp.com> |
NfcSecureElement source code updated to use dynamic sempahore Change-Id: I63af03e79da263993db5a35df7602ae0b1c48c56
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
0a58617a63e32d2f43e3aabc705fb7b9de464482 |
|
15-Dec-2010 |
Martijn Coenen <martijn.coenen@nxp.com> |
Store the libnfc tag type inside the tag object. 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
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
4f2715ade09afdd18463eb92f15215a43af41d63 |
|
08-Dec-2010 |
Martijn Coenen <martijn.coenen@nxp.com> |
Initial work for supporting multi-protocol tags properly. - Tech tree properly does multi-protocol - Implemented a handle list, where we can link each tech to a libnfc handle Change-Id: Id9522d505cb158f5163e866b686758c269390cde
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
6d11530887a3e6f30fa21d01bc0de5cdbd0218ea |
|
24-Nov-2010 |
Martijn Coenen <martijn.coenen@nxp.com> |
Initial support for technology tree based on libnfc return type. 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
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|
0bd11735e8a28db1692f28abcc3e065abae0e8dd |
|
17-Nov-2010 |
Daniel Tomas <daniel.tomas@trusted-logic.com> |
Secure Element Access implementation Change-Id: Ia1c006c52aaf312408ef2fba96715b1b6c382ea9
/packages/apps/Nfc/jni/com_android_nfc_NativeNfcSecureElement.cpp
|