summaryrefslogtreecommitdiffstats
path: root/src/com/android/nfc/nxp
Commit message (Collapse)AuthorAgeFilesLines
* Added shared prefs for SE wired modeSunil Jogi2012-04-202-12/+65
| | | | | | | | | 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
* Add support for making Mifare Classic readonly.Martijn Coenen2012-04-052-3/+11
| | | | Change-Id: I7572274dd74d8f9c3f0c80bdccf3d30707c91c3f
* Support for querying extended length APDU support.Martijn Coenen2012-04-021-0/+5
| | | | | Bug: 5813943 Change-Id: I1274e3c47203e30cedefb57049738f97122de4b1
* Get rid of getLastError().Martijn Coenen2012-03-291-2/+2
| | | | | | | Was only used for one call into the service, and it wasn't even correct in that case. Change-Id: I6c7d9d137783fde9341e119402e6823776c711b7
* Support for setting p2p modes from javaland and some cleanup.Martijn Coenen2012-03-021-0/+12
| | | | | | Removed code-duplication, fixed some warnings. Change-Id: I5b7a2986e3836d6689b677bf80cb93421bfa821e
* Merge "LLCP 1.1 support."Martijn Coenen2012-01-271-3/+4
|\
| * LLCP 1.1 support.Martijn Coenen2012-01-271-3/+4
| | | | | | | | | | | | | | | | | | | | - Allow servicename for connectionless sockets; - Pass in servicename in Bind() for both types; - EchoServer: allow MIU=128 again since ATR_RES fix was merged in libnfc-nxp - EchoServer: fix reading from incorrect offset. Change-Id: Ie77fe5b46e7a17435e6261c8b7400dcca4d3784a
* | Rewrite NDEF dispatch path. It was getting pretty messy.Nick Pelly2012-01-251-8/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | | The dispatch sequence is identical, but the hierarchy of functions has been collapsed. The flow now is: dipsatchTag() -> tryOverrides() -> *** NDEF override *** *** TECH override *** *** TAG override *** tryNdef() -> *** AAR to NDEF *** *** AAR to application launch *** *** AAR to market launch *** *** regular NDEF *** tryTech() -> *** TECH *** *** TAG *** o Fix bug where cancelling a pending intent would disable further foreground dispatch. o Fix bug where a foreground process dying would not cancel override o Assume one NdefMessage per tag in implementation methods Change-Id: Iaf7a0a83076e4f540a5e55c9e628490570116b01
* Bring LLCP connectionless sockets back to life.Martijn Coenen2012-01-132-2/+51
| | | | | | Useful for testing the connectionless part of the LLCP stack. Change-Id: I76a7962526ec1e6ff463c938431229f89c545824
* NfcService: some trivial cleanups.mike wakerly2011-12-123-2/+5
| | | | | | | | | | | | I noticed these while looking at something else. - Removes unused imports; unthrown exceptions on some non-visible methods; dead code. - Tags a few stray interface implementations that lacked @Override. - Removes unnecessary semicolons in a few place. - Fixes one instance of ArrayList being used as a raw type. Change-Id: I860921a3a4d003fd6d6fc1381c0813599f3caf26
* Fix NdefFormatable not showing up for NfcA technologies.Martijn Coenen2011-11-281-11/+23
| | | | | | | | | | Regression from a patch applied long ago: the NfcA technology used to have its higher-level type (Mifare / 4A) associated with it, and the code that determined formatable used this. The patch associated NfcA technology only with the 3A libnfc type, causing the format check to return false for all of these types. Change-Id: Idc02873de447b6d8121bff02af795a6a7f5058cf
* NFC: Enable guard host timeout.Martijn Coenen2011-10-211-0/+6
| | | | | | | Set to 255 ms, increase number of retries to 64. Add dump() interface to native library Change-Id: Ib3a32f70453f7f8b79ff89394410f56b4b9dd7a2
* Manually port d77e05f7 from gingerbread:Jeff Hamilton2011-09-141-0/+59
| | | | | | | | | Patch to perform a download at NfcService boot time This patch permit, when NFC is off, to perform a download if the PN544 is not up to date Change-Id: Iaa01e218ccd1e4cb18ef77d58c18348823135b1e
* Support for getMaxTransceiveLength() API.Martijn Coenen2011-08-262-1/+36
| | | | | Maximum transceive length is enforced in calls to transceive. Change-Id: I94a4f16283e5fd5df9143b02e52c16f868b1c3ab
* Fix GB<->ICS sharing.Martijn Coenen2011-08-191-1/+5
| | | | | | | | Should throw an IOException() whenever recv() failed. Also changed recv error return value to be -1, to be more in line with common sockets. Change-Id: If65fe9e22c76f0a4558a9a6dedc0662bac038ee8
* Remove the binder interface for LLCP.Jeff Hamilton2011-08-013-38/+119
| | | Change-Id: I8d5fd546ecb07f005322eb5f173975dff7820439
* resolved conflicts for merge of 5057a591 to masterNick Pelly2011-07-261-92/+109
| | | | | | While I was there, rework of NativeNfcTag.findAndReadNdef() Change-Id: I971403d880f281c8f64d2f9ed60756f6e692e9ae
* Support for getTimeout() (NFC service).Martijn Coenen2011-07-201-0/+5
| | | | | Bug: 4492175 Change-Id: I289e40d1527e7b570e8fd46f9968094b92a31902
* Properly merge b5165e13 to master.Nick Pelly2011-06-281-3/+3
| | | | Change-Id: I3b7019e94346046d4e0834531651c372c754e0a3
* resolved conflicts for merge of b5165e13 to masterNick Pelly2011-06-281-0/+12
| | | | Change-Id: Ie4f9f57b7969979a4db2ddcb795aed9fc3cd592b
* resolved conflicts for merge of 8bda4f3e to masterNick Pelly2011-06-151-0/+2
| | | | Change-Id: I558cc850a3d799271c733807ca63a66487db2839
* First pass at an abstraction of the NFC stack.Jeff Hamilton2011-06-133-54/+183
| | | | | | | This moves some of the stack functionality behind interfaces that the NFC service uses. Change-Id: Ia377b8d0b9f57a25ac72a5f650fd25c35df72de0
* Relocate the libnfc-nxp Java bridge sources.Jeff Hamilton2011-06-137-0/+1058
Change-Id: I0b743245d60bf9c47ce84ec0ab7fd8c5b6202ec9